Class: Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb

Overview

Definition of the connection fields.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#is_encryptedBoolean

field definition.

Returns:

  • (Boolean)

    Gets or sets the isEncrypted flag of the connection



17
18
19
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb', line 17

def is_encrypted
  @is_encrypted
end

#is_optionalBoolean

field definition.

Returns:

  • (Boolean)

    Gets or sets the isOptional flag of the connection



21
22
23
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb', line 21

def is_optional
  @is_optional
end

#typeString

definition.

Returns:

  • (String)

    Gets or sets the type of the connection field



25
26
27
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb', line 25

def type
  @type
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# 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