public class PhoneNumberFetcher extends Fetcher<PhoneNumber>
| Constructor and Description |
|---|
PhoneNumberFetcher(PhoneNumber pathPhoneNumber)
Construct a new PhoneNumberFetcher.
|
| Modifier and Type | Method and Description |
|---|---|
PhoneNumber |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
PhoneNumberFetcher |
setAddOns(List<String> addOns)
The add_ons.
|
PhoneNumberFetcher |
setAddOns(String addOns)
The add_ons.
|
PhoneNumberFetcher |
setAddOnsData(Map<String,Object> addOnsData)
The add_ons_data.
|
PhoneNumberFetcher |
setCountryCode(String countryCode)
The country_code.
|
PhoneNumberFetcher |
setType(List<String> type)
The type.
|
PhoneNumberFetcher |
setType(String type)
The type.
|
fetch, fetchAsync, fetchAsyncpublic PhoneNumberFetcher(PhoneNumber pathPhoneNumber)
pathPhoneNumber - The phone_numberpublic PhoneNumberFetcher setCountryCode(String countryCode)
countryCode - The country_codepublic PhoneNumberFetcher setType(List<String> type)
type - The typepublic PhoneNumberFetcher setType(String type)
type - The typepublic PhoneNumberFetcher setAddOns(List<String> addOns)
addOns - The add_onspublic PhoneNumberFetcher setAddOns(String addOns)
addOns - The add_onspublic PhoneNumberFetcher setAddOnsData(Map<String,Object> addOnsData)
addOnsData - The add_ons_datapublic PhoneNumber fetch(TwilioRestClient client)
fetch in class Fetcher<PhoneNumber>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.