Package com.datadog.api.client.v2.model
Class Links
java.lang.Object
com.datadog.api.client.v2.model.Links
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Links
extends Object
The JSON:API links related to pagination.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Links object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getFirst()First page link.getLast()Last page link.getNext()Next page link.Previous page link.getSelf()Request link.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidsetPrevious(String previous) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FIRST
- See Also:
-
JSON_PROPERTY_LAST
- See Also:
-
JSON_PROPERTY_NEXT
- See Also:
-
JSON_PROPERTY_PREVIOUS
- See Also:
-
JSON_PROPERTY_SELF
- See Also:
-
-
Constructor Details
-
Links
public Links() -
Links
-
-
Method Details
-
first
-
getFirst
First page link.- Returns:
- first
-
setFirst
-
last
-
getLast
Last page link.- Returns:
- last
-
setLast
-
next
-
getNext
Next page link.- Returns:
- next
-
setNext
-
previous
-
getPrevious
Previous page link.- Returns:
- previous
-
setPrevious
-
self
-
getSelf
Request link.- Returns:
- self
-
setSelf
-
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:
- Links
-
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 Links object is equal to o. -
hashCode
public int hashCode() -
toString
-