API reference
API reference
Select your platform
No SDKs available
No versions available

UserCapabilityArray Class

Represents a paginated list of com.meta.horizon.platform.ovr.models.UserCapability 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.

Constructors

UserCapabilityArray ( ptr )
Signature
com.meta.horizon.platform.ovr.models.UserCapabilityArray.UserCapabilityArray(final long ptr)
Parameters
ptr: final long

Methods

getElements ()
Access the indexed element in this list. Note that the index is zero-based, so the first element has an index of 0.
Signature
List<UserCapability> com.meta.horizon.platform.ovr.models.UserCapabilityArray.getElements()
Returns
List< UserCapability > UserCapability
getNextPage ()
Retrieves the next page of UserCapabilityArray. If there is no next page, this field will be empty.
Signature
Request<UserCapabilityArray> com.meta.horizon.platform.ovr.models.UserCapabilityArray.getNextPage()
getNextUrl ()
The URL to request the next paginated list of elements.
Signature
String com.meta.horizon.platform.ovr.models.UserCapabilityArray.getNextUrl()
Returns
String  String
getSize ()
The number of elements contained within this list. This is not equal to the total number of elements across multiple pages.
Signature
long com.meta.horizon.platform.ovr.models.UserCapabilityArray.getSize()
Returns
long  long
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.
Signature
boolean com.meta.horizon.platform.ovr.models.UserCapabilityArray.hasNextPage()
Returns
boolean  boolean