Constructor and Description |
---|
MessageReader(String pathServiceSid,
String pathChannelSid)
Construct a new MessageReader.
|
Modifier and Type | Method and Description |
---|---|
Page<Message> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Message> |
nextPage(Page<Message> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
ResourceSet<Message> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
MessageReader |
setOrder(Message.OrderType order)
The order.
|
public MessageReader setOrder(Message.OrderType order)
order
- The orderpublic ResourceSet<Message> read(TwilioRestClient client)
public Page<Message> firstPage(TwilioRestClient client)
Copyright © 2016 Twilio, Inc. All Rights Reserved.