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 |
setEndDate(LocalDate endDate)
Only include usage that occurred on or before this date.
|
BindingReader |
setIdentity(List<String> identity)
The User's
`identity` value of the resources to read..
|
BindingReader |
setIdentity(String identity)
The User's
`identity` value of the resources to read..
|
BindingReader |
setStartDate(LocalDate startDate)
Only include usage that has occurred on or after this date.
|
BindingReader |
setTag(List<String> tag)
Only list Bindings that have all of the specified Tags.
|
BindingReader |
setTag(String tag)
Only list Bindings that have all of the specified Tags.
|
public BindingReader(String pathServiceSid)
pathServiceSid
- The SID of the Service to read the resource frompublic BindingReader setStartDate(LocalDate startDate)
startDate
- Only include usage that has occurred on or after this datepublic BindingReader setEndDate(LocalDate endDate)
endDate
- Only include usage that occurred on or before this datepublic BindingReader setIdentity(List<String> identity)
identity
- The `identity` value of the resources to readpublic BindingReader setIdentity(String identity)
identity
- The `identity` value of the resources to readpublic BindingReader setTag(List<String> tag)
tag
- Only list Bindings that have all of the specified Tagspublic BindingReader setTag(String tag)
tag
- Only list Bindings that have all of the specified Tagspublic 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.