public class PhoneNumberFetcher extends Fetcher<PhoneNumber>
| Constructor and Description |
|---|
PhoneNumberFetcher(PhoneNumber phoneNumber)
Construct a new PhoneNumberFetcher.
|
| Modifier and Type | Method and Description |
|---|---|
PhoneNumber |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
PhoneNumberFetcher |
setCountryCode(String countryCode)
The country_code.
|
PhoneNumberFetcher |
setType(String type)
The type.
|
public PhoneNumberFetcher(PhoneNumber phoneNumber)
phoneNumber - The phone_numberpublic PhoneNumberFetcher setCountryCode(String countryCode)
countryCode - The country_codepublic PhoneNumberFetcher setType(String type)
type - The typepublic PhoneNumber execute(TwilioRestClient client)
execute in class Fetcher<PhoneNumber>client - TwilioRestClient with which to make the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.