@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UsageAttributionResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_METADATA |
static String |
JSON_PROPERTY_USAGE |
boolean |
unparsed |
| Constructor and Description |
|---|
UsageAttributionResponse() |
| Modifier and Type | Method and Description |
|---|---|
UsageAttributionResponse |
addUsageItem(UsageAttributionBody usageItem) |
boolean |
equals(Object o)
Return true if this UsageAttributionResponse object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
UsageAttributionMetadata |
getMetadata()
The object containing document metadata.
|
List<UsageAttributionBody> |
getUsage()
Get usage summary by tag(s).
|
int |
hashCode() |
UsageAttributionResponse |
metadata(UsageAttributionMetadata metadata) |
UsageAttributionResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setMetadata(UsageAttributionMetadata metadata) |
void |
setUsage(List<UsageAttributionBody> usage) |
String |
toString() |
UsageAttributionResponse |
usage(List<UsageAttributionBody> usage) |
public boolean unparsed
public static final String JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_USAGE
public UsageAttributionResponse metadata(UsageAttributionMetadata metadata)
@Nullable public UsageAttributionMetadata getMetadata()
public void setMetadata(UsageAttributionMetadata metadata)
public UsageAttributionResponse usage(List<UsageAttributionBody> usage)
public UsageAttributionResponse addUsageItem(UsageAttributionBody usageItem)
@Nullable public List<UsageAttributionBody> getUsage()
public void setUsage(List<UsageAttributionBody> usage)
public UsageAttributionResponse 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 © 2023. All rights reserved.