class Azure::Consumption::Mgmt::V2019_06_01::Models::PriceSheetProperties

The properties of the price sheet.

Attributes

billing_period_id[RW]

@return [String] The id of the billing period resource that the usage belongs to.

currency_code[RW]

@return [String] Currency Code

included_quantity[RW]

@return Included quality for an offer

meter_details[RW]

@return [MeterDetails] The details about the meter. By default this is not populated, unless it's specified in $expand.

meter_id[RW]

@return The meter id (GUID)

offer_id[RW]

@return [String] Offer Id

part_number[RW]

@return [String] Part Number

unit_of_measure[RW]

@return [String] Unit of measure

unit_price[RW]

@return Unit Price

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01/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