@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ArbitraryCostUpsertRequestDataAttributes extends Object
ArbitraryCostUpsertRequestDataAttributes object.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_COSTS_TO_ALLOCATE |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_ORDER_ID |
static String |
JSON_PROPERTY_PROVIDER |
static String |
JSON_PROPERTY_REJECTED |
static String |
JSON_PROPERTY_RULE_NAME |
static String |
JSON_PROPERTY_STRATEGY |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
ArbitraryCostUpsertRequestDataAttributes() |
ArbitraryCostUpsertRequestDataAttributes(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate,
List<String> provider,
String ruleName,
ArbitraryCostUpsertRequestDataAttributesStrategy strategy,
String type) |
public boolean unparsed
public static final String JSON_PROPERTY_COSTS_TO_ALLOCATE
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_ORDER_ID
public static final String JSON_PROPERTY_PROVIDER
public static final String JSON_PROPERTY_REJECTED
public static final String JSON_PROPERTY_RULE_NAME
public static final String JSON_PROPERTY_STRATEGY
public static final String JSON_PROPERTY_TYPE
public ArbitraryCostUpsertRequestDataAttributes()
public ArbitraryCostUpsertRequestDataAttributes(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate, List<String> provider, String ruleName, ArbitraryCostUpsertRequestDataAttributesStrategy strategy, String type)
public ArbitraryCostUpsertRequestDataAttributes costsToAllocate(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate)
public ArbitraryCostUpsertRequestDataAttributes addCostsToAllocateItem(ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems costsToAllocateItem)
public List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> getCostsToAllocate()
attributes costs_to_allocate.public void setCostsToAllocate(List<ArbitraryCostUpsertRequestDataAttributesCostsToAllocateItems> costsToAllocate)
public ArbitraryCostUpsertRequestDataAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
attributes enabled.public void setEnabled(Boolean enabled)
public ArbitraryCostUpsertRequestDataAttributes orderId(Long orderId)
@Nullable public Long getOrderId()
attributes order_id.public void setOrderId(Long orderId)
public ArbitraryCostUpsertRequestDataAttributes provider(List<String> provider)
public ArbitraryCostUpsertRequestDataAttributes addProviderItem(String providerItem)
public ArbitraryCostUpsertRequestDataAttributes rejected(Boolean rejected)
@Nullable public Boolean getRejected()
attributes rejected.public void setRejected(Boolean rejected)
public ArbitraryCostUpsertRequestDataAttributes ruleName(String ruleName)
public String getRuleName()
attributes rule_name.public void setRuleName(String ruleName)
public ArbitraryCostUpsertRequestDataAttributes strategy(ArbitraryCostUpsertRequestDataAttributesStrategy strategy)
public ArbitraryCostUpsertRequestDataAttributesStrategy getStrategy()
ArbitraryCostUpsertRequestDataAttributesStrategy object.public void setStrategy(ArbitraryCostUpsertRequestDataAttributesStrategy strategy)
public ArbitraryCostUpsertRequestDataAttributes type(String type)
public String getType()
attributes type.public void setType(String type)
public ArbitraryCostUpsertRequestDataAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.