Package com.datadog.api.client.v2.model
Class PaginationMetaPage
java.lang.Object
com.datadog.api.client.v2.model.PaginationMetaPage
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PaginationMetaPage
extends Object
Offset-based pagination schema.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this PaginationMetaPage object is equal to o.firstOffset(Long firstOffset) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Integer representing the offset to fetch the first page of results.Integer representing the offset to fetch the last page of results.org.openapitools.jackson.nullable.JsonNullable<Long>getLimit()Integer representing the number of elements to be returned in the results.Integer representing the index of the first element in the next page of results.org.openapitools.jackson.nullable.JsonNullable<Long>Integer representing the index of the first element in the results.Integer representing the index of the first element in the previous page of results.org.openapitools.jackson.nullable.JsonNullable<Long>getTotal()Integer representing the total number of elements available.org.openapitools.jackson.nullable.JsonNullable<Long>getType()The pagination type used for offset-based pagination.inthashCode()lastOffset(Long lastOffset) nextOffset(Long nextOffset) prevOffset(Long prevOffset) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFirstOffset(Long firstOffset) voidsetLastOffset(Long lastOffset) voidsetLastOffset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> lastOffset) voidvoidsetNextOffset(Long nextOffset) voidsetNextOffset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> nextOffset) voidvoidsetPrevOffset(Long prevOffset) voidsetPrevOffset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> prevOffset) voidvoidsetTotal_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> total) voidtoString()type(PaginationMetaPageType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FIRST_OFFSET
- See Also:
-
JSON_PROPERTY_LAST_OFFSET
- See Also:
-
JSON_PROPERTY_LIMIT
- See Also:
-
JSON_PROPERTY_NEXT_OFFSET
- See Also:
-
JSON_PROPERTY_OFFSET
- See Also:
-
JSON_PROPERTY_PREV_OFFSET
- See Also:
-
JSON_PROPERTY_TOTAL
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
PaginationMetaPage
public PaginationMetaPage()
-
-
Method Details
-
firstOffset
-
getFirstOffset
Integer representing the offset to fetch the first page of results.- Returns:
- firstOffset
-
setFirstOffset
-
lastOffset
-
getLastOffset
Integer representing the offset to fetch the last page of results.- Returns:
- lastOffset
-
getLastOffset_JsonNullable
-
setLastOffset_JsonNullable
public void setLastOffset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> lastOffset) -
setLastOffset
-
limit
-
getLimit
Integer representing the number of elements to be returned in the results.- Returns:
- limit
-
setLimit
-
nextOffset
-
getNextOffset
Integer representing the index of the first element in the next page of results. Equal to page size added to the current offset.- Returns:
- nextOffset
-
getNextOffset_JsonNullable
-
setNextOffset_JsonNullable
public void setNextOffset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> nextOffset) -
setNextOffset
-
offset
-
getOffset
Integer representing the index of the first element in the results.- Returns:
- offset
-
setOffset
-
prevOffset
-
getPrevOffset
Integer representing the index of the first element in the previous page of results.- Returns:
- prevOffset
-
getPrevOffset_JsonNullable
-
setPrevOffset_JsonNullable
public void setPrevOffset_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> prevOffset) -
setPrevOffset
-
total
-
getTotal
Integer representing the total number of elements available.- Returns:
- total
-
getTotal_JsonNullable
-
setTotal_JsonNullable
-
setTotal
-
type
-
getType
The pagination type used for offset-based pagination.- Returns:
- type
-
setType
-
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:
- PaginationMetaPage
-
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 PaginationMetaPage object is equal to o. -
hashCode
public int hashCode() -
toString
-