Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionSpec
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionSpec
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb
Overview
The version properties.
Instance Attribute Summary collapse
-
#component_versions ⇒ Hash{String => String}
The component version property.
-
#display_name ⇒ String
The display name.
-
#friendly_name ⇒ String
The friendly name.
-
#is_default ⇒ String
Whether or not the version is the default version.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VersionSpec class as Ruby Hash.
Instance Attribute Details
#component_versions ⇒ Hash{String => String}
25 26 27 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb', line 25 def component_versions @component_versions end |
#display_name ⇒ String
19 20 21 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb', line 19 def display_name @display_name end |
#friendly_name ⇒ String
16 17 18 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb', line 16 def friendly_name @friendly_name end |
#is_default ⇒ String
22 23 24 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb', line 22 def is_default @is_default end |
Class Method Details
.mapper ⇒ Object
Mapper for VersionSpec 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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/version_spec.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VersionSpec', type: { name: 'Composite', class_name: 'VersionSpec', model_properties: { friendly_name: { client_side_validation: true, required: false, serialized_name: 'friendlyName', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'displayName', type: { name: 'String' } }, is_default: { client_side_validation: true, required: false, serialized_name: 'isDefault', type: { name: 'String' } }, component_versions: { client_side_validation: true, required: false, serialized_name: 'componentVersions', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |