Constructor and Description |
---|
IpCommandReader() |
Modifier and Type | Method and Description |
---|---|
Page<IpCommand> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<IpCommand> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<IpCommand> |
nextPage(Page<IpCommand> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<IpCommand> |
previousPage(Page<IpCommand> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<IpCommand> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
IpCommandReader |
setDirection(IpCommand.Direction direction)
The direction of the IP Command.
|
IpCommandReader |
setSim(String sim)
The SID or unique name of the Sim resource that IP Command was sent to or
from..
|
IpCommandReader |
setSimIccid(String simIccid)
The ICCID of the Sim resource that IP Command was sent to or from..
|
IpCommandReader |
setStatus(IpCommand.Status status)
The status of the IP Command.
|
public IpCommandReader setSim(String sim)
sim
- The SID or unique name of the Sim resource that IP Command was
sent to or from.public IpCommandReader setSimIccid(String simIccid)
simIccid
- The ICCID of the Sim resource that IP Command was sent to or
from.public IpCommandReader setStatus(IpCommand.Status status)
status
- The status of the IP Commandpublic IpCommandReader setDirection(IpCommand.Direction direction)
direction
- The direction of the IP Commandpublic ResourceSet<IpCommand> read(TwilioRestClient client)
public Page<IpCommand> firstPage(TwilioRestClient client)
public Page<IpCommand> getPage(String targetUrl, TwilioRestClient client)
public Page<IpCommand> nextPage(Page<IpCommand> page, TwilioRestClient client)
public Page<IpCommand> previousPage(Page<IpCommand> page, TwilioRestClient client)
previousPage
in class Reader<IpCommand>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.