Package com.datadog.api.client.v2.model
Class ArbitraryCostUpsertRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.ArbitraryCostUpsertRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ArbitraryCostUpsertRequestDataAttributes
extends Object
The definition of
ArbitraryCostUpsertRequestDataAttributes object.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionArbitraryCostUpsertRequestDataAttributes(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate, List<String> provider, String ruleName, ArbitraryCostUpsertRequestDataAttributesStrategy strategy, String type) -
Method Summary
Modifier and TypeMethodDescriptionaddCostsToAllocateItem(ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems costsToAllocateItem) addProviderItem(String providerItem) costsToAllocate(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate) booleanReturn true if this ArbitraryCostUpsertRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Theattributescosts_to_allocate.Theattributesenabled.Theattributesorder_id.Theattributesprovider.Theattributesrejected.Theattributesrule_name.The definition ofArbitraryCostUpsertRequestDataAttributesStrategyobject.getType()Theattributestype.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCostsToAllocate(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate) voidsetEnabled(Boolean enabled) voidsetOrderId(Long orderId) voidsetProvider(List<String> provider) voidsetRejected(Boolean rejected) voidsetRuleName(String ruleName) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COSTS_TO_ALLOCATE
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_ORDER_ID
- See Also:
-
JSON_PROPERTY_PROVIDER
- See Also:
-
JSON_PROPERTY_REJECTED
- See Also:
-
JSON_PROPERTY_RULE_NAME
- See Also:
-
JSON_PROPERTY_STRATEGY
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ArbitraryCostUpsertRequestDataAttributes
public ArbitraryCostUpsertRequestDataAttributes() -
ArbitraryCostUpsertRequestDataAttributes
public ArbitraryCostUpsertRequestDataAttributes(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate, List<String> provider, String ruleName, ArbitraryCostUpsertRequestDataAttributesStrategy strategy, String type)
-
-
Method Details
-
costsToAllocate
public ArbitraryCostUpsertRequestDataAttributes costsToAllocate(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate) -
addCostsToAllocateItem
public ArbitraryCostUpsertRequestDataAttributes addCostsToAllocateItem(ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems costsToAllocateItem) -
getCostsToAllocate
Theattributescosts_to_allocate.- Returns:
- costsToAllocate
-
setCostsToAllocate
public void setCostsToAllocate(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate) -
enabled
-
getEnabled
Theattributesenabled.- Returns:
- enabled
-
setEnabled
-
orderId
-
getOrderId
Theattributesorder_id.- Returns:
- orderId
-
setOrderId
-
provider
-
addProviderItem
-
getProvider
Theattributesprovider.- Returns:
- provider
-
setProvider
-
rejected
-
getRejected
Theattributesrejected.- Returns:
- rejected
-
setRejected
-
ruleName
-
getRuleName
Theattributesrule_name.- Returns:
- ruleName
-
setRuleName
-
strategy
public ArbitraryCostUpsertRequestDataAttributes strategy(ArbitraryCostUpsertRequestDataAttributesStrategy strategy) -
getStrategy
The definition ofArbitraryCostUpsertRequestDataAttributesStrategyobject.- Returns:
- strategy
-
setStrategy
-
type
-
getType
Theattributestype.- Returns:
- type
-
setType
-
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:
- ArbitraryCostUpsertRequestDataAttributes
-
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 ArbitraryCostUpsertRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-