class Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters

The parameters supplied to the create or update connection type operation.

Attributes

field_definitions[RW]

@return [Hash{String => FieldDefinition}] Gets or sets the field definitions of the connection type.

is_global[RW]

@return [Boolean] Gets or sets a Boolean value to indicate if the connection type is global.

name[RW]

@return [String] Gets or sets the name of the connection type.

Private Class Methods

mapper() click to toggle source

Mapper for ConnectionTypeCreateOrUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectionTypeCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'ConnectionTypeCreateOrUpdateParameters',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        is_global: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isGlobal',
          type: {
            name: 'Boolean'
          }
        },
        field_definitions: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.fieldDefinitions',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FieldDefinitionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'FieldDefinition'
                }
            }
          }
        }
      }
    }
  }
end