Package com.datadog.api.client.v2.model
Class Metadata
java.lang.Object
com.datadog.api.client.v2.model.Metadata
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Metadata
extends Object
The metadata related to this request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Metadata object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCount()Number of entities included in the response.getToken()The token that identifies the request.getTotal()Total number of entities across all pages.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COUNT
- See Also:
-
JSON_PROPERTY_TOKEN
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
-
Constructor Details
-
Metadata
public Metadata() -
Metadata
-
-
Method Details
-
count
-
getCount
Number of entities included in the response.- Returns:
- count
-
setCount
-
token
-
getToken
The token that identifies the request.- Returns:
- token
-
setToken
-
total
-
getTotal
Total number of entities across all pages.- Returns:
- total
-
setTotal
-
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:
- Metadata
-
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 Metadata object is equal to o. -
hashCode
public int hashCode() -
toString
-