| Constructor and Description |
|---|
CommandReader() |
| Modifier and Type | Method and Description |
|---|---|
Page<Command> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Command> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Command> |
nextPage(Page<Command> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Command> |
previousPage(Page<Command> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Command> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
CommandReader |
setDirection(Command.Direction direction)
The direction.
|
CommandReader |
setSim(String sim)
The sim.
|
CommandReader |
setStatus(Command.Status status)
The status.
|
public CommandReader setSim(String sim)
sim - The simpublic CommandReader setStatus(Command.Status status)
status - The statuspublic CommandReader setDirection(Command.Direction direction)
direction - The directionpublic ResourceSet<Command> read(TwilioRestClient client)
public Page<Command> firstPage(TwilioRestClient client)
public Page<Command> getPage(String targetUrl, TwilioRestClient client)
public Page<Command> nextPage(Page<Command> page, TwilioRestClient client)
public Page<Command> previousPage(Page<Command> page, TwilioRestClient client)
previousPage in class Reader<Command>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.