public abstract class ListResource<T extends Resource,C extends TwilioClient> extends Resource<C> implements Iterable<T>
| Constructor and Description |
|---|
ListResource(C client)
Instantiates a new list resource.
|
ListResource(C 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 |
getPage()
Gets the page.
|
List<T> |
getPageData()
Gets the page data.
|
int |
getStart()
Gets the start.
|
Iterator<T> |
iterator() |
setRequestAccountSidequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ListResource(C client)
client - the clientpublic String getNextUri()
public int getStart()
public int getEnd()
public int getPage()
Copyright © 2011 Twilio, Inc. All Rights Reserved.