Package com.datadog.api.client.v2.model
Class ProductCatalogSKUAllotment
java.lang.Object
com.datadog.api.client.v2.model.ProductCatalogSKUAllotment
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ProductCatalogSKUAllotment
extends Object
A quantity of one SKU that is included with, and consumed before, the billable usage of another
SKU.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProductCatalogSKUAllotment(String childSkuCode, Double hourlyQuantity, Long monthlyQuantity, String parentSkuCode) -
Method Summary
Modifier and TypeMethodDescriptionchildSkuCode(String childSkuCode) booleanReturn true if this ProductCatalogSKUAllotment object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The code of the SKU that receives the allotment.The quantity allotted per hour.The quantity allotted per month.The code of the SKU that provides the allotment.inthashCode()hourlyQuantity(Double hourlyQuantity) monthlyQuantity(Long monthlyQuantity) parentSkuCode(String parentSkuCode) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetChildSkuCode(String childSkuCode) voidsetHourlyQuantity(Double hourlyQuantity) voidsetMonthlyQuantity(Long monthlyQuantity) voidsetParentSkuCode(String parentSkuCode) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHILD_SKU_CODE
- See Also:
-
JSON_PROPERTY_HOURLY_QUANTITY
- See Also:
-
JSON_PROPERTY_MONTHLY_QUANTITY
- See Also:
-
JSON_PROPERTY_PARENT_SKU_CODE
- See Also:
-
-
Constructor Details
-
ProductCatalogSKUAllotment
public ProductCatalogSKUAllotment() -
ProductCatalogSKUAllotment
-
-
Method Details
-
childSkuCode
-
getChildSkuCode
The code of the SKU that receives the allotment.- Returns:
- childSkuCode
-
setChildSkuCode
-
hourlyQuantity
-
getHourlyQuantity
The quantity allotted per hour. Fractional for some allotments, and equal tomonthly_quantityfor others, depending on how the child SKU meters usage.- Returns:
- hourlyQuantity
-
setHourlyQuantity
-
monthlyQuantity
-
getMonthlyQuantity
The quantity allotted per month.- Returns:
- monthlyQuantity
-
setMonthlyQuantity
-
parentSkuCode
-
getParentSkuCode
The code of the SKU that provides the allotment. Always the code of the SKU the allotment is returned under.- Returns:
- parentSkuCode
-
setParentSkuCode
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- ProductCatalogSKUAllotment
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this ProductCatalogSKUAllotment object is equal to o. -
hashCode
public int hashCode() -
toString
-