T - The type of the objects contained in a paging object.IModelObjectpublic class Paging<T> extends AbstractModelObject
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Paging.Builder<T> |
Builder class for building
Paging instances. |
static class |
Paging.JsonUtil<X> |
JsonUtil class for building
Paging instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method | Description |
|---|---|---|
Paging.Builder<T> |
builder() |
Create a builder for building an instance of a model object.
|
String |
getHref() |
Get a link to the Web API endpoint returning the full result of the request.
|
T[] |
getItems() |
Get the items contained in the paging object.
|
Integer |
getLimit() |
Get the maximum number of items in the response (as set in the query or by default).
|
String |
getNext() |
Get the URL to the next page of items.
|
Integer |
getOffset() |
Get the offset of the items returned (as set in the query or by default).
|
String |
getPrevious() |
Get the URL to the previous page of items.
|
Integer |
getTotal() |
Get the total number of items available to return.
|
public String getHref()
public T[] getItems()
public Integer getLimit()
public String getNext()
null if none)null if none)public Integer getOffset()
public String getPrevious()
null if none)null if none)public Integer getTotal()
public Paging.Builder<T> builder()
IModelObjectCopyright © 2019. All rights reserved.