Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::VersionSpec

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#component_versionsHash{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_nameString



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_nameString



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_defaultString



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

.mapperObject

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