Class: Azure::Storage::Mgmt::V2017_10_01::Models::Dimension

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb

Overview

Dimension of blobs, possibly be blob type or access tier.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#display_nameString

Returns Display name of dimension.

Returns:

  • (String)

    Display name of dimension.



19
20
21
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb', line 19

def display_name
  @display_name
end

#nameString

Returns Display name of dimension.

Returns:

  • (String)

    Display name of dimension.



16
17
18
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb', line 16

def name
  @name
end

Class Method Details

.mapperObject

Mapper for Dimension class as Ruby Hash. This will be used for serialization/deserialization.



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/dimension.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Dimension',
    type: {
      name: 'Composite',
      class_name: 'Dimension',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end