Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricDimensionV1

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_dimension_v1.rb

Overview

Metric Dimension v1.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#display_nameString

Returns Display name of the metrics dimension.

Returns:

  • (String)

    Display name of the metrics dimension.



19
20
21
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_dimension_v1.rb', line 19

def display_name
  @display_name
end

#nameString

Returns Name of the metrics dimension.

Returns:

  • (String)

    Name of the metrics dimension.



16
17
18
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_dimension_v1.rb', line 16

def name
  @name
end

#to_be_exported_for_shoeboxBoolean

Returns To be exported to shoe box.

Returns:

  • (Boolean)

    To be exported to shoe box.



22
23
24
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_dimension_v1.rb', line 22

def to_be_exported_for_shoebox
  @to_be_exported_for_shoebox
end

Class Method Details

.mapperObject

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



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
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/metric_dimension_v1.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MetricDimension_V1',
    type: {
      name: 'Composite',
      class_name: 'MetricDimensionV1',
      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'
          }
        },
        to_be_exported_for_shoebox: {
          client_side_validation: true,
          required: false,
          serialized_name: 'toBeExportedForShoebox',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end