Constructor and Description |
---|
ResourceSet(Reader<E> reader,
TwilioRestClient client,
Page<E> page)
Initialize the resource set.
|
Modifier and Type | Method and Description |
---|---|
int |
getPageSize() |
boolean |
isAutoPaging() |
Iterator<E> |
iterator() |
ResourceSet |
setAutoPaging(boolean autoPaging) |
ResourceSet |
setPageSize(int pageSize) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ResourceSet(Reader<E> reader, TwilioRestClient client, Page<E> page)
reader
- reader used to fetch next pageclient
- client used to make requestspage
- page of datapublic boolean isAutoPaging()
public ResourceSet setAutoPaging(boolean autoPaging)
public int getPageSize()
public ResourceSet setPageSize(int pageSize)
Copyright © 2011 Twilio, Inc. All Rights Reserved.