com.twilio.sdk.resource
Class NextGenListResource<T extends NextGenInstanceResource,C extends TwilioClient>
java.lang.Object
com.twilio.sdk.resource.Resource<C>
com.twilio.sdk.resource.NextGenListResource<T,C>
- All Implemented Interfaces:
- Iterable<T>
- Direct Known Subclasses:
- ActivityList, EventList, ReservationList, TaskList, TaskQueueList, TaskQueueListStatistics, WorkerList, WorkflowList, WorkspaceList
public abstract class NextGenListResource<T extends NextGenInstanceResource,C extends TwilioClient>
- extends Resource<C>
- implements Iterable<T>
NextGenListResource
public NextGenListResource(C client)
NextGenListResource
public NextGenListResource(C client,
Map<String,String> filters)
iterator
public Iterator<T> iterator()
- Specified by:
iterator in interface Iterable<T extends NextGenInstanceResource>
getPageData
public List<T> getPageData()
getNextPageUrl
public String getNextPageUrl()
getPage
public int getPage()
getPageSize
public int getPageSize()
getPreviousPageUrl
public String getPreviousPageUrl()
getUrl
public String getUrl()
Copyright © 2011 Twilio, Inc. All Rights Reserved.