Class: DatadogAPIClient::V2::ProductCatalogSKUPricingTier
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::ProductCatalogSKUPricingTier
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/product_catalog_sku_pricing_tier.rb
Overview
A usage range and the price that applies to usage falling inside it.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#max_usage_quantity ⇒ Object
The exclusive upper bound of the usage range the tier prices.
-
#min_usage_quantity ⇒ Object
readonly
The inclusive lower bound of the usage range the tier prices.
-
#price ⇒ Object
readonly
The price applied to usage in the tier, as a decimal string.
-
#pricing_unit_type ⇒ Object
readonly
Whether the tier's price applies per unit of usage or to a block of usage.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_pricing_tier.rb', line 38 def additional_properties @additional_properties end |
#max_usage_quantity ⇒ Object
The exclusive upper bound of the usage range the tier prices. null on the final
tier, which is unbounded.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_pricing_tier.rb', line 26 def max_usage_quantity @max_usage_quantity end |
#min_usage_quantity ⇒ Object
The inclusive lower bound of the usage range the tier prices.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_pricing_tier.rb', line 29 def min_usage_quantity @min_usage_quantity end |
#price ⇒ Object
The price applied to usage in the tier, as a decimal string. The number of decimal
places is not normalized, so free tiers appear as either 0 or 0.00.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_pricing_tier.rb', line 33 def price @price end |
#pricing_unit_type ⇒ Object
Whether the tier's price applies per unit of usage or to a block of usage.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_pricing_tier.rb', line 36 def pricing_unit_type @pricing_unit_type end |