Constructor and Description |
---|
InviteReader(String pathServiceSid,
String pathChannelSid)
Construct a new InviteReader.
|
Modifier and Type | Method and Description |
---|---|
Page<Invite> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Invite> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Invite> |
nextPage(Page<Invite> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Invite> |
previousPage(Page<Invite> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Invite> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
InviteReader |
setIdentity(List<String> identity)
The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity`
value of the resources to read.
|
InviteReader |
setIdentity(String identity)
The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity`
value of the resources to read.
|
public InviteReader setIdentity(List<String> identity)
identity
- The `identity` value of the resources to readpublic InviteReader setIdentity(String identity)
identity
- The `identity` value of the resources to readpublic ResourceSet<Invite> read(TwilioRestClient client)
public Page<Invite> firstPage(TwilioRestClient client)
public Page<Invite> getPage(String targetUrl, TwilioRestClient client)
public Page<Invite> nextPage(Page<Invite> page, TwilioRestClient client)
public Page<Invite> previousPage(Page<Invite> page, TwilioRestClient client)
previousPage
in class Reader<Invite>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.