# 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::CustomerInsights::Mgmt::V2017_01_01
  module Models
    #
    # Hub billing info.
    #
    class HubBillingInfoFormat

      include MsRestAzure

      # @return [String] The sku name.
      attr_accessor :sku_name

      # @return [Integer] The minimum number of units will be billed. One unit
      # is 10,000 Profiles and 100,000 Interactions.
      attr_accessor :min_units

      # @return [Integer] The maximum number of units can be used.  One unit is
      # 10,000 Profiles and 100,000 Interactions.
      attr_accessor :max_units


      #
      # Mapper for HubBillingInfoFormat class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'HubBillingInfoFormat',
          type: {
            name: 'Composite',
            class_name: 'HubBillingInfoFormat',
            model_properties: {
              sku_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'skuName',
                type: {
                  name: 'String'
                }
              },
              min_units: {
                client_side_validation: true,
                required: false,
                serialized_name: 'minUnits',
                constraints: {
                  InclusiveMaximum: 10,
                  InclusiveMinimum: 1
                },
                type: {
                  name: 'Number'
                }
              },
              max_units: {
                client_side_validation: true,
                required: false,
                serialized_name: 'maxUnits',
                constraints: {
                  InclusiveMaximum: 10,
                  InclusiveMinimum: 1
                },
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end
