public class Page<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> Page<T> |
fromJson(String recordKey,
String json,
Class<T> recordType,
com.fasterxml.jackson.databind.ObjectMapper mapper)
Create a new page of data from a json blob.
|
String |
getFirstPageUri() |
String |
getNextPageUri() |
int |
getPageSize() |
String |
getPreviousPageUri() |
List<T> |
getRecords() |
String |
getUri() |
public String getFirstPageUri()
public String getNextPageUri()
public String getPreviousPageUri()
public int getPageSize()
public String getUri()
public static <T> Page<T> fromJson(String recordKey, String json, Class<T> recordType, com.fasterxml.jackson.databind.ObjectMapper mapper)
T - record class typerecordKey - key which holds the recordsjson - json blobrecordType - resource typemapper - json parserCopyright © 2011 Twilio, Inc. All Rights Reserved.