Class: Azure::Compute::Mgmt::V2018_04_01::Models::RunCommandParameterDefinition
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_04_01::Models::RunCommandParameterDefinition
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb
Overview
Describes the properties of a run command parameter.
Instance Attribute Summary collapse
-
#default_value ⇒ String
The run command parameter default value.
-
#name ⇒ String
The run command parameter name.
-
#required ⇒ Boolean
false .
-
#type ⇒ String
The run command parameter type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RunCommandParameterDefinition class as Ruby Hash.
Instance Attribute Details
#default_value ⇒ String
Returns The run command parameter default value.
22 23 24 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb', line 22 def default_value @default_value end |
#name ⇒ String
Returns The run command parameter name.
16 17 18 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb', line 16 def name @name end |
#required ⇒ Boolean
false .
26 27 28 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb', line 26 def required @required end |
#type ⇒ String
Returns The run command parameter type.
19 20 21 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb', line 19 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for RunCommandParameterDefinition 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 70 71 72 73 74 75 76 77 78 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RunCommandParameterDefinition', type: { name: 'Composite', class_name: 'RunCommandParameterDefinition', model_properties: { name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: true, serialized_name: 'type', type: { name: 'String' } }, default_value: { client_side_validation: true, required: false, serialized_name: 'defaultValue', type: { name: 'String' } }, required: { client_side_validation: true, required: false, serialized_name: 'required', default_value: false, type: { name: 'Boolean' } } } } } end |