Class: DatadogAPIClient::V2::ProductCatalogSKUPricingTier

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_quantityObject

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_quantityObject

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

#priceObject

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_typeObject

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