Class: Azure::Consumption::Mgmt::V2018_05_31::Models::PriceSheetProperties
- Inherits:
-
Object
- Object
- Azure::Consumption::Mgmt::V2018_05_31::Models::PriceSheetProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb
Overview
The properties of the price sheet.
Instance Attribute Summary collapse
-
#billing_period_id ⇒ String
belongs to.
-
#currency_code ⇒ String
Currency Code.
-
#included_quantity ⇒ Object
Included quality for an offer.
-
#meter_details ⇒ MeterDetails
not populated, unless it's specified in $expand.
-
#meter_id ⇒ Object
The meter id (GUID).
-
#offer_id ⇒ String
Offer Id.
-
#part_number ⇒ String
Part Number.
-
#unit_of_measure ⇒ String
Unit of measure.
-
#unit_price ⇒ Object
Unit Price.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PriceSheetProperties class as Ruby Hash.
Instance Attribute Details
#billing_period_id ⇒ String
belongs to.
17 18 19 |
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 17 def billing_period_id @billing_period_id end |
#currency_code ⇒ String
Returns Currency Code.
39 40 41 |
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 39 def currency_code @currency_code end |
#included_quantity ⇒ Object
Returns Included quality for an offer.
30 31 32 |
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 30 def included_quantity @included_quantity end |
#meter_details ⇒ MeterDetails
not populated, unless it's specified in $expand.
24 25 26 |
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 24 def meter_details @meter_details end |
#meter_id ⇒ Object
Returns The meter id (GUID).
20 21 22 |
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 20 def meter_id @meter_id end |
#offer_id ⇒ String
Returns Offer Id.
42 43 44 |
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 42 def offer_id @offer_id end |
#part_number ⇒ String
Returns Part Number.
33 34 35 |
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 33 def part_number @part_number end |
#unit_of_measure ⇒ String
Returns Unit of measure.
27 28 29 |
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 27 def unit_of_measure @unit_of_measure end |
#unit_price ⇒ Object
Returns Unit Price.
36 37 38 |
# File 'lib/2018-05-31/generated/azure_mgmt_consumption/models/price_sheet_properties.rb', line 36 def unit_price @unit_price end |
Class Method Details
.mapper ⇒ Object
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-05-31/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 |