Class: Azure::Synapse::Mgmt::V2019_06_01_preview::Models::EnvironmentVariableSetup
- Inherits:
-
CustomSetupBase
- Object
- CustomSetupBase
- Azure::Synapse::Mgmt::V2019_06_01_preview::Models::EnvironmentVariableSetup
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/environment_variable_setup.rb
Overview
The custom setup of setting environment variable.
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
-
#variable_name ⇒ String
The name of the environment variable.
-
#variable_value ⇒ String
The value of the environment variable.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EnvironmentVariableSetup class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ EnvironmentVariableSetup
constructor
A new instance of EnvironmentVariableSetup.
Constructor Details
#initialize ⇒ EnvironmentVariableSetup
Returns a new instance of EnvironmentVariableSetup.
16 17 18 |
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/environment_variable_setup.rb', line 16 def initialize @type = "EnvironmentVariableSetup" end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
20 21 22 |
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/environment_variable_setup.rb', line 20 def type @type end |
#variable_name ⇒ String
Returns The name of the environment variable.
23 24 25 |
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/environment_variable_setup.rb', line 23 def variable_name @variable_name end |
#variable_value ⇒ String
Returns The value of the environment variable.
26 27 28 |
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/environment_variable_setup.rb', line 26 def variable_value @variable_value end |
Class Method Details
.mapper ⇒ Object
Mapper for EnvironmentVariableSetup class as Ruby Hash. This will be used for serialization/deserialization.
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 69 |
# File 'lib/2019-06-01-preview/generated/azure_mgmt_synapse/models/environment_variable_setup.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnvironmentVariableSetup', type: { name: 'Composite', class_name: 'EnvironmentVariableSetup', model_properties: { type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, variable_name: { client_side_validation: true, required: true, serialized_name: 'typeProperties.variableName', type: { name: 'String' } }, variable_value: { client_side_validation: true, required: true, serialized_name: 'typeProperties.variableValue', type: { name: 'String' } } } } } end |