# 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::Hdinsight::Mgmt::V2015_03_01_preview
  module Models
    #
    # The billing resources.
    #
    class BillingResources

      include MsRestAzure

      # @return [String] The region or location.
      attr_accessor :region

      # @return [Array<BillingMeters>] The billing meter information.
      attr_accessor :billing_meters

      # @return [Array<DiskBillingMeters>] The managed disk billing
      # information.
      attr_accessor :disk_billing_meters


      #
      # Mapper for BillingResources class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'BillingResources',
          type: {
            name: 'Composite',
            class_name: 'BillingResources',
            model_properties: {
              region: {
                client_side_validation: true,
                required: false,
                serialized_name: 'region',
                type: {
                  name: 'String'
                }
              },
              billing_meters: {
                client_side_validation: true,
                required: false,
                serialized_name: 'billingMeters',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'BillingMetersElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'BillingMeters'
                      }
                  }
                }
              },
              disk_billing_meters: {
                client_side_validation: true,
                required: false,
                serialized_name: 'diskBillingMeters',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'DiskBillingMetersElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'DiskBillingMeters'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
