class Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters
Parameters that are used in the odata $filter query parameter for providing RateCard
information.
Attributes
currency[RW]
@return [String] The currency in which the rates need to be provided.
locale[RW]
@return [String] The culture in which the resource metadata needs to be localized.
offer_durable_id[RW]
@return [String] The Offer ID parameter consists of the 'MS-AZR-' prefix, plus the Offer ID number (e.g., MS-AZR-0026P). See azure.microsoft.com/en-us/support/legal/offer-details/ for more information on the list of available Offer IDs, country/region availability, and billing currency.
region_info[RW]
@return [String] 2 letter ISO code where the offer was purchased.
Private Class Methods
mapper()
click to toggle source
Mapper for RateCardQueryParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2015-06-01-preview/generated/azure_mgmt_commerce/models/rate_card_query_parameters.rb, line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RateCardQueryParameters', type: { name: 'Composite', class_name: 'RateCardQueryParameters', model_properties: { offer_durable_id: { client_side_validation: true, required: true, serialized_name: 'OfferDurableId', constraints: { Pattern: '^MS-AZR-\d{4}P(-\d{4}P)*$' }, type: { name: 'String' } }, currency: { client_side_validation: true, required: true, serialized_name: 'Currency', type: { name: 'String' } }, locale: { client_side_validation: true, required: true, serialized_name: 'Locale', type: { name: 'String' } }, region_info: { client_side_validation: true, required: true, serialized_name: 'RegionInfo', type: { name: 'String' } } } } } end