Class: Azure::CostManagement::Mgmt::V2019_03_01_preview::Models::Dimension

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb

Overview

Model object.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#categoryString



32
33
34
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 32

def category
  @category
end

#dataArray<String>



26
27
28
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 26

def data
  @data
end

#descriptionString



17
18
19
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 17

def description
  @description
end

#filter_enabledBoolean



20
21
22
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 20

def filter_enabled
  @filter_enabled
end

#grouping_enabledBoolean



23
24
25
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 23

def grouping_enabled
  @grouping_enabled
end


41
42
43
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 41

def next_link
  @next_link
end

#totalInteger



29
30
31
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 29

def total
  @total
end

#usage_endDateTime



38
39
40
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 38

def usage_end
  @usage_end
end

#usage_startDateTime



35
36
37
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 35

def usage_start
  @usage_start
end

Class Method Details

.mapperObject

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



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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
# File 'lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb', line 48

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Dimension',
    type: {
      name: 'Composite',
      class_name: 'Dimension',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        filter_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.filterEnabled',
          type: {
            name: 'Boolean'
          }
        },
        grouping_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.groupingEnabled',
          type: {
            name: 'Boolean'
          }
        },
        data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.data',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        total: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.total',
          type: {
            name: 'Number'
          }
        },
        category: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.category',
          type: {
            name: 'String'
          }
        },
        usage_start: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.usageStart',
          type: {
            name: 'DateTime'
          }
        },
        usage_end: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.usageEnd',
          type: {
            name: 'DateTime'
          }
        },
        next_link: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.nextLink',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end