Constructor and Description |
---|
BindingReader(String pathServiceSid)
Construct a new BindingReader.
|
Modifier and Type | Method and Description |
---|---|
Page<Binding> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Binding> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Binding> |
nextPage(Page<Binding> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Binding> |
previousPage(Page<Binding> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Binding> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
BindingReader |
setBindingType(Binding.BindingType bindingType)
The binding_type.
|
BindingReader |
setBindingType(List<Binding.BindingType> bindingType)
The binding_type.
|
BindingReader |
setIdentity(List<String> identity)
The identity.
|
BindingReader |
setIdentity(String identity)
The identity.
|
public BindingReader(String pathServiceSid)
pathServiceSid
- The service_sidpublic BindingReader setBindingType(List<Binding.BindingType> bindingType)
bindingType
- The binding_typepublic BindingReader setBindingType(Binding.BindingType bindingType)
bindingType
- The binding_typepublic BindingReader setIdentity(List<String> identity)
identity
- The identitypublic BindingReader setIdentity(String identity)
identity
- The identitypublic ResourceSet<Binding> read(TwilioRestClient client)
public Page<Binding> firstPage(TwilioRestClient client)
public Page<Binding> getPage(String targetUrl, TwilioRestClient client)
public Page<Binding> nextPage(Page<Binding> page, TwilioRestClient client)
public Page<Binding> previousPage(Page<Binding> page, TwilioRestClient client)
previousPage
in class Reader<Binding>
page
- current pageclient
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.