Class: Azure::Automation::Mgmt::V2015_10_31::Models::Variable
- Inherits:
-
ProxyResource
- Object
- Resource
- ProxyResource
- Azure::Automation::Mgmt::V2015_10_31::Models::Variable
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb
Overview
Definition of the varible.
Instance Attribute Summary collapse
-
#creation_time ⇒ DateTime
Gets or sets the creation time.
-
#description ⇒ String
Gets or sets the description.
-
#is_encrypted ⇒ Boolean
Gets or sets the encrypted flag of the variable.
-
#last_modified_time ⇒ DateTime
Gets or sets the last modified time.
-
#value ⇒ String
Gets or sets the value of the variable.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Variable class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#creation_time ⇒ DateTime
Returns Gets or sets the creation time.
22 23 24 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb', line 22 def creation_time @creation_time end |
#description ⇒ String
Returns Gets or sets the description.
28 29 30 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb', line 28 def description @description end |
#is_encrypted ⇒ Boolean
Returns Gets or sets the encrypted flag of the variable.
19 20 21 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb', line 19 def is_encrypted @is_encrypted end |
#last_modified_time ⇒ DateTime
Returns Gets or sets the last modified time.
25 26 27 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb', line 25 def last_modified_time @last_modified_time end |
#value ⇒ String
Returns Gets or sets the value of the variable.
16 17 18 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb', line 16 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for Variable class as Ruby Hash. This will be used for serialization/deserialization.
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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Variable', type: { name: 'Composite', class_name: 'Variable', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, value: { client_side_validation: true, required: false, serialized_name: 'properties.value', type: { name: 'String' } }, is_encrypted: { client_side_validation: true, required: false, serialized_name: 'properties.isEncrypted', type: { name: 'Boolean' } }, creation_time: { client_side_validation: true, required: false, serialized_name: 'properties.creationTime', type: { name: 'DateTime' } }, last_modified_time: { client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } } } } } end |