Class: DatadogAPIClient::V2::ProductCatalogSKUAllotment

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/product_catalog_sku_allotment.rb

Overview

A quantity of one SKU that is included with, and consumed before, the billable usage of another SKU.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_allotment.rb', line 39

def additional_properties
  @additional_properties
end

#child_sku_codeObject

The code of the SKU that receives the allotment.



26
27
28
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_allotment.rb', line 26

def child_sku_code
  @child_sku_code
end

#hourly_quantityObject

The quantity allotted per hour. Fractional for some allotments, and equal to monthly_quantity for others, depending on how the child SKU meters usage.



30
31
32
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_allotment.rb', line 30

def hourly_quantity
  @hourly_quantity
end

#monthly_quantityObject

The quantity allotted per month.



33
34
35
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_allotment.rb', line 33

def monthly_quantity
  @monthly_quantity
end

#parent_sku_codeObject

The code of the SKU that provides the allotment. Always the code of the SKU the allotment is returned under.



37
38
39
# File 'lib/datadog_api_client/v2/models/product_catalog_sku_allotment.rb', line 37

def parent_sku_code
  @parent_sku_code
end