| Constructor and Description |
|---|
AddressReader()
Construct a new AddressReader.
|
AddressReader(String pathAccountSid)
Construct a new AddressReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<Address> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<Address> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<Address> |
nextPage(Page<Address> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<Address> |
previousPage(Page<Address> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<Address> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
AddressReader |
setCustomerName(String customerName)
The customer_name.
|
AddressReader |
setFriendlyName(String friendlyName)
The friendly_name.
|
AddressReader |
setIsoCountry(String isoCountry)
The iso_country.
|
public AddressReader()
public AddressReader(String pathAccountSid)
pathAccountSid - The account_sidpublic AddressReader setCustomerName(String customerName)
customerName - The customer_namepublic AddressReader setFriendlyName(String friendlyName)
friendlyName - The friendly_namepublic AddressReader setIsoCountry(String isoCountry)
isoCountry - The iso_countrypublic ResourceSet<Address> read(TwilioRestClient client)
public Page<Address> firstPage(TwilioRestClient client)
public Page<Address> getPage(String targetUrl, TwilioRestClient client)
public Page<Address> nextPage(Page<Address> page, TwilioRestClient client)
public Page<Address> previousPage(Page<Address> page, TwilioRestClient client)
previousPage in class Reader<Address>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.