Paginated List
abstract class PaginatedList<T>(@Json(name = total ) total: Int, @Json(name = per_page ) perPage: Int, @Json(name = current_page ) currentPage: Int, @Json(name = last_page ) lastPage: Int, @Json(name = from ) from: Int?, @Json(name = to ) to: Int?, @Json(name = data ) data: List<T>)
Content copied to clipboard
Parameters
total
Total number of results.
perPage
Number of objects per page
currentPage
Current page.
lastPage
Last page, usually the total of available pages.
from
Showing results from index element.
to
Showing results to index element.
data
Constructors
PaginatedList
Link copied to clipboard
fun <T> PaginatedList(@Json(name = total ) total: Int, @Json(name = per_page ) perPage: Int, @Json(name = current_page ) currentPage: Int, @Json(name = last_page ) lastPage: Int, @Json(name = from ) from: Int? = null, @Json(name = to ) to: Int? = null, @Json(name = data ) data: List<T>)
Content copied to clipboard
Total number of results.
Properties
Inheritors
BankAccountList
Link copied to clipboard
BankObjectList
Link copied to clipboard
BankConnectionList
Link copied to clipboard
AccessTokenList
Link copied to clipboard
BankUserList
Link copied to clipboard
EventObjectList
Link copied to clipboard
PayObjectList
Link copied to clipboard
RefundPayoutObjectList
Link copied to clipboard
RiskObjectList
Link copied to clipboard