Sha256: d7ca7c6433fd7f81793681df4a8bc32675ace9f8c31c2b5bf5fb9bac23b27291

Contents?: true

Size: 1.6 KB

Versions: 6

Compression:

Stored size: 1.6 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Reservations::Mgmt::V2019_04_01_preview
  module Models
    #
    # Currency and amount that customer will be charged in customer's local
    # currency. Tax is not included.
    #
    class CalculatePriceResponsePropertiesBillingCurrencyTotal

      include MsRestAzure

      # @return [String]
      attr_accessor :currency_code

      # @return [Float]
      attr_accessor :amount


      #
      # Mapper for CalculatePriceResponsePropertiesBillingCurrencyTotal class
      # as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CalculatePriceResponseProperties_billingCurrencyTotal',
          type: {
            name: 'Composite',
            class_name: 'CalculatePriceResponsePropertiesBillingCurrencyTotal',
            model_properties: {
              currency_code: {
                client_side_validation: true,
                required: false,
                serialized_name: 'currencyCode',
                type: {
                  name: 'String'
                }
              },
              amount: {
                client_side_validation: true,
                required: false,
                serialized_name: 'amount',
                type: {
                  name: 'Double'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_reservations-0.20.0 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb
azure_mgmt_reservations-0.19.2 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb
azure_mgmt_reservations-0.19.1 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb
azure_mgmt_reservations-0.19.0 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb
azure_mgmt_reservations-0.18.0 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb
azure_mgmt_reservations-0.17.0 lib/2019-04-01-preview/generated/azure_mgmt_reservations/models/calculate_price_response_properties_billing_currency_total.rb