Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::HubBillingInfoFormat

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb

Overview

Hub billing info.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#max_unitsInteger

10,000 Profiles and 100,000 Interactions.

Returns:

  • (Integer)

    The maximum number of units can be used. One unit is



24
25
26
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb', line 24

def max_units
  @max_units
end

#min_unitsInteger

is 10,000 Profiles and 100,000 Interactions.

Returns:

  • (Integer)

    The minimum number of units will be billed. One unit



20
21
22
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb', line 20

def min_units
  @min_units
end

#sku_nameString

Returns The sku name.

Returns:

  • (String)

    The sku name.



16
17
18
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb', line 16

def sku_name
  @sku_name
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb', line 31

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