class Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition

Definition of the connection fields.

Attributes

is_encrypted[RW]

@return [Boolean] Gets or sets the isEncrypted flag of the connection field definition.

is_optional[RW]

@return [Boolean] Gets or sets the isOptional flag of the connection field definition.

type[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FieldDefinition',
    type: {
      name: 'Composite',
      class_name: 'FieldDefinition',
      model_properties: {
        is_encrypted: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isEncrypted',
          type: {
            name: 'Boolean'
          }
        },
        is_optional: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isOptional',
          type: {
            name: 'Boolean'
          }
        },
        type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end