Package org.onyx.api
Class BasePage<T>
java.lang.Object
org.onyx.api.BasePage<T>
- Type Parameters:
T- type of api object
- Direct Known Subclasses:
Account.Page,Action.Page,ActionSum.Page,Asset.Page,Feed.Page,Key.Page,Token.Page,TokenSum.Page,Transaction.Page
Abstract base class representing api query results.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClientClient object that makes the query requests.Specifies the details of the next query.BasePage of api objects returned from the most recent query.booleanSpecifies if the current page of results is the last. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
client
Client object that makes the query requests. -
items
BasePage of api objects returned from the most recent query. -
lastPage
@Expose(serialize=false) @SerializedName("last_page") public boolean lastPageSpecifies if the current page of results is the last. -
cursor
Specifies the details of the next query.
-
-
Constructor Details
-
BasePage
public BasePage()
-