API reference

BlockedUserArray Class

Represents a paginated list of com.meta.horizon.platform.ovr.models.BlockedUser elements. It allows you to easily access and manipulate the elements in the paginated list, such as the size of the list and if there is a next page of elements available.

Member Functions

BlockedUserArray
( final long ptr )
List< BlockedUser > getElements ( )
Access the indexed element in this list. Note that the index is zero-based, so the first element has an index of 0.
Returns
boolean hasNextPage ( )
Indicates whether there is a next page of elements that can be retrieved. If this value is true, you can use the next_url field to request the next page of elements.
Returns
boolean
Request< BlockedUserArray > getNextPage ( )
Retrieves the next page of BlockedUserArray. If there is no next page, this field will be empty.
String getNextUrl ( )
The URL to request the next paginated list of elements.
Returns
String
long getSize ( )
The number of elements contained within this list. This is not equal to the total number of elements across multiple pages.
Returns
long