@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Metadata extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_COUNT |
static String |
JSON_PROPERTY_TOKEN |
static String |
JSON_PROPERTY_TOTAL |
boolean |
unparsed |
| Constructor and Description |
|---|
Metadata() |
Metadata(Long count,
String token,
Long total) |
| Modifier and Type | Method and Description |
|---|---|
Metadata |
count(Long count) |
boolean |
equals(Object o)
Return true if this Metadata 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.
|
Long |
getCount()
Number of entities included in the response.
|
String |
getToken()
The token that identifies the request.
|
Long |
getTotal()
Total number of entities across all pages.
|
int |
hashCode() |
Metadata |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCount(Long count) |
void |
setToken(String token) |
void |
setTotal(Long total) |
Metadata |
token(String token) |
String |
toString() |
Metadata |
total(Long total) |
public boolean unparsed
public static final String JSON_PROPERTY_COUNT
public static final String JSON_PROPERTY_TOKEN
public static final String JSON_PROPERTY_TOTAL
public Long getCount()
public void setCount(Long count)
public String getToken()
public void setToken(String token)
public Long getTotal()
public void setTotal(Long total)
public Metadata 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 © 2025. All rights reserved.