@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class HourlyUsageAttributionBody extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_HOUR |
static String |
JSON_PROPERTY_ORG_NAME |
static String |
JSON_PROPERTY_PUBLIC_ID |
static String |
JSON_PROPERTY_REGION |
static String |
JSON_PROPERTY_TAG_CONFIG_SOURCE |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TOTAL_USAGE_SUM |
static String |
JSON_PROPERTY_UPDATED_AT |
static String |
JSON_PROPERTY_USAGE_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
HourlyUsageAttributionBody() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this HourlyUsageAttributionBody 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.
|
OffsetDateTime |
getHour()
The hour for the usage.
|
String |
getOrgName()
The name of the organization.
|
String |
getPublicId()
The organization public ID.
|
String |
getRegion()
The region of the Datadog instance that the organization belongs to.
|
String |
getTagConfigSource()
The source of the usage attribution tag configuration and the selected tags in the format of
<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>
. |
org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> |
getTags_JsonNullable() |
Map<String,List<String>> |
getTags()
Tag keys and values.
|
Double |
getTotalUsageSum()
Total product usage for the given tags within the hour.
|
String |
getUpdatedAt()
Shows the most recent hour in the current month for all organizations where usages are
calculated.
|
HourlyUsageAttributionUsageType |
getUsageType()
Supported products for hourly usage attribution requests.
|
int |
hashCode() |
HourlyUsageAttributionBody |
hour(OffsetDateTime hour) |
HourlyUsageAttributionBody |
orgName(String orgName) |
HourlyUsageAttributionBody |
publicId(String publicId) |
HourlyUsageAttributionBody |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
HourlyUsageAttributionBody |
putTagsItem(String key,
List<String> tagsItem) |
HourlyUsageAttributionBody |
region(String region) |
void |
setHour(OffsetDateTime hour) |
void |
setOrgName(String orgName) |
void |
setPublicId(String publicId) |
void |
setRegion(String region) |
void |
setTagConfigSource(String tagConfigSource) |
void |
setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> tags) |
void |
setTags(Map<String,List<String>> tags) |
void |
setTotalUsageSum(Double totalUsageSum) |
void |
setUpdatedAt(String updatedAt) |
void |
setUsageType(HourlyUsageAttributionUsageType usageType) |
HourlyUsageAttributionBody |
tagConfigSource(String tagConfigSource) |
HourlyUsageAttributionBody |
tags(Map<String,List<String>> tags) |
String |
toString() |
HourlyUsageAttributionBody |
totalUsageSum(Double totalUsageSum) |
HourlyUsageAttributionBody |
updatedAt(String updatedAt) |
HourlyUsageAttributionBody |
usageType(HourlyUsageAttributionUsageType usageType) |
public boolean unparsed
public static final String JSON_PROPERTY_HOUR
public static final String JSON_PROPERTY_ORG_NAME
public static final String JSON_PROPERTY_PUBLIC_ID
public static final String JSON_PROPERTY_REGION
public static final String JSON_PROPERTY_TAG_CONFIG_SOURCE
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TOTAL_USAGE_SUM
public static final String JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_USAGE_TYPE
public HourlyUsageAttributionBody hour(OffsetDateTime hour)
@Nullable public OffsetDateTime getHour()
public void setHour(OffsetDateTime hour)
public HourlyUsageAttributionBody orgName(String orgName)
@Nullable public String getOrgName()
public void setOrgName(String orgName)
public HourlyUsageAttributionBody publicId(String publicId)
@Nullable public String getPublicId()
public void setPublicId(String publicId)
public HourlyUsageAttributionBody region(String region)
@Nullable public String getRegion()
public void setRegion(String region)
public HourlyUsageAttributionBody tagConfigSource(String tagConfigSource)
@Nullable public String getTagConfigSource()
<source_org_name>:::<selected tag 1>///<selected tag 2>///<selected tag 3>
.public void setTagConfigSource(String tagConfigSource)
public HourlyUsageAttributionBody tags(Map<String,List<String>> tags)
public HourlyUsageAttributionBody putTagsItem(String key, List<String> tagsItem)
@Nullable public Map<String,List<String>> getTags()
A null value here means that the requested tag breakdown cannot be applied
because it does not match the tags
configured for usage attribution. In this scenario the API returns the total usage, not
broken down by tags.
public org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> getTags_JsonNullable()
public void setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,List<String>>> tags)
public HourlyUsageAttributionBody totalUsageSum(Double totalUsageSum)
@Nullable public Double getTotalUsageSum()
public void setTotalUsageSum(Double totalUsageSum)
public HourlyUsageAttributionBody updatedAt(String updatedAt)
@Nullable public String getUpdatedAt()
public void setUpdatedAt(String updatedAt)
public HourlyUsageAttributionBody usageType(HourlyUsageAttributionUsageType usageType)
@Nullable public HourlyUsageAttributionUsageType getUsageType()
public void setUsageType(HourlyUsageAttributionUsageType usageType)
public HourlyUsageAttributionBody 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 © 2024. All rights reserved.