public abstract class ListResource<T> extends Resource implements Iterable<T>
| Constructor and Description |
|---|
ListResource(TwilioRestClient client)
Instantiates a new list resource.
|
ListResource(TwilioRestClient client,
Map<String,String> filters)
Instantiates a new list resource.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
setRequestAccountSidpublic ListResource(TwilioRestClient client)
client - the clientpublic ListResource(TwilioRestClient client, Map<String,String> filters)
client - the clientfilters - the filterspublic String getNextUri()
public int getStart()
public int getEnd()
public int getNumPages()
public int getTotal()
public int getPage()
Copyright © 2011 Twilio, Inc. All Rights Reserved.