|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.twilio.sdk.resource.Resource
com.twilio.sdk.resource.ListResource<T>
public abstract class ListResource<T extends Resource>
| Constructor Summary | |
|---|---|
ListResource(TwilioRestClient client)
Instantiates a new list resource. |
|
ListResource(TwilioRestClient client,
Map<String,String> filters)
Instantiates a new list resource. |
|
| Method Summary | |
|---|---|
int |
getEnd()
Gets the end. |
String |
getNextUri()
Gets the next uri. |
int |
getNumPages()
Gets the num pages. |
int |
getPage()
Gets the page. |
List<T> |
getPageData()
Gets the page data. |
int |
getStart()
Gets the start. |
int |
getTotal()
Gets the total. |
Iterator<T> |
iterator()
|
| Methods inherited from class com.twilio.sdk.resource.Resource |
|---|
setRequestAccountSid |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListResource(TwilioRestClient client)
client - the client
public ListResource(TwilioRestClient client,
Map<String,String> filters)
client - the clientfilters - the filters| Method Detail |
|---|
public Iterator<T> iterator()
iterator in interface Iterable<T extends Resource>public String getNextUri()
public int getStart()
public int getEnd()
public int getNumPages()
public int getTotal()
public int getPage()
public List<T> getPageData()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||