| Constructor and Description |
|---|
KeyReader(String pathFleetSid)
Construct a new KeyReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Key> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Key> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Key> |
nextPage(Page<Key> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Key> |
previousPage(Page<Key> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Key> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
KeyReader |
setDeviceSid(String deviceSid)
Filters the resulting list of Keys by a unique string identifier of an
authenticated Device..
|
public KeyReader(String pathFleetSid)
pathFleetSid - The fleet_sidpublic KeyReader setDeviceSid(String deviceSid)
deviceSid - Find all Keys authenticating specified Device.public ResourceSet<Key> read(TwilioRestClient client)
public Page<Key> firstPage(TwilioRestClient client)
public Page<Key> getPage(String targetUrl, TwilioRestClient client)
public Page<Key> nextPage(Page<Key> page, TwilioRestClient client)
public Page<Key> previousPage(Page<Key> page, TwilioRestClient client)
previousPage in class Reader<Key>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.