Class: Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition
- Inherits:
-
Object
- Object
- Azure::Automation::Mgmt::V2015_10_31::Models::FieldDefinition
- 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
-
#is_encrypted ⇒ Boolean
field definition.
-
#is_optional ⇒ Boolean
field definition.
-
#type ⇒ String
definition.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FieldDefinition class as Ruby Hash.
Instance Attribute Details
#is_encrypted ⇒ Boolean
field definition.
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_optional ⇒ Boolean
field definition.
21 22 23 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/field_definition.rb', line 21 def is_optional @is_optional end |
#type ⇒ String
definition.
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
.mapper ⇒ Object
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 |