Class: Azure::Consumption::Mgmt::V2018_06_30::Models::PriceSheetProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb

Overview

The properties of the price sheet.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#billing_period_idString

belongs to.



17
18
19
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 17

def billing_period_id
  @billing_period_id
end

#currency_codeString



39
40
41
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 39

def currency_code
  @currency_code
end

#included_quantityObject



30
31
32
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 30

def included_quantity
  @included_quantity
end

#meter_detailsMeterDetails

not populated, unless it’s specified in $expand.



24
25
26
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 24

def meter_details
  @meter_details
end

#meter_idObject



20
21
22
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 20

def meter_id
  @meter_id
end

#offer_idString



42
43
44
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 42

def offer_id
  @offer_id
end

#part_numberString



33
34
35
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 33

def part_number
  @part_number
end

#unit_of_measureString



27
28
29
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 27

def unit_of_measure
  @unit_of_measure
end

#unit_priceObject



36
37
38
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 36

def unit_price
  @unit_price
end

Class Method Details

.mapperObject

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



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
# File 'lib/2018-06-30/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 49

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PriceSheetProperties',
    type: {
      name: 'Composite',
      class_name: 'PriceSheetProperties',
      model_properties: {
        billing_period_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'billingPeriodId',
          type: {
            name: 'String'
          }
        },
        meter_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'meterId',
          type: {
            name: 'String'
          }
        },
        meter_details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'meterDetails',
          type: {
            name: 'Composite',
            class_name: 'MeterDetails'
          }
        },
        unit_of_measure: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'unitOfMeasure',
          type: {
            name: 'String'
          }
        },
        included_quantity: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'includedQuantity',
          type: {
            name: 'Number'
          }
        },
        part_number: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'partNumber',
          type: {
            name: 'String'
          }
        },
        unit_price: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'unitPrice',
          type: {
            name: 'Number'
          }
        },
        currency_code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'currencyCode',
          type: {
            name: 'String'
          }
        },
        offer_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'offerId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end