Constructor and Description |
---|
TollFreeCreator(PhoneNumber phoneNumber)
Construct a new TollFreeCreator.
|
TollFreeCreator(String ownerAccountSid,
PhoneNumber phoneNumber)
Construct a new TollFreeCreator.
|
Modifier and Type | Method and Description |
---|---|
TollFree |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
TollFreeCreator |
setApiVersion(String apiVersion)
The api_version.
|
TollFreeCreator |
setFriendlyName(String friendlyName)
The friendly_name.
|
TollFreeCreator |
setSmsApplicationSid(String smsApplicationSid)
The sms_application_sid.
|
TollFreeCreator |
setSmsFallbackMethod(HttpMethod smsFallbackMethod)
The sms_fallback_method.
|
TollFreeCreator |
setSmsFallbackUrl(String smsFallbackUrl)
The sms_fallback_url.
|
TollFreeCreator |
setSmsFallbackUrl(URI smsFallbackUrl)
The sms_fallback_url.
|
TollFreeCreator |
setSmsMethod(HttpMethod smsMethod)
The sms_method.
|
TollFreeCreator |
setSmsUrl(String smsUrl)
The sms_url.
|
TollFreeCreator |
setSmsUrl(URI smsUrl)
The sms_url.
|
TollFreeCreator |
setStatusCallback(String statusCallback)
The status_callback.
|
TollFreeCreator |
setStatusCallback(URI statusCallback)
The status_callback.
|
TollFreeCreator |
setStatusCallbackMethod(HttpMethod statusCallbackMethod)
The status_callback_method.
|
TollFreeCreator |
setVoiceApplicationSid(String voiceApplicationSid)
The voice_application_sid.
|
TollFreeCreator |
setVoiceCallerIdLookup(Boolean voiceCallerIdLookup)
The voice_caller_id_lookup.
|
TollFreeCreator |
setVoiceFallbackMethod(HttpMethod voiceFallbackMethod)
The voice_fallback_method.
|
TollFreeCreator |
setVoiceFallbackUrl(String voiceFallbackUrl)
The voice_fallback_url.
|
TollFreeCreator |
setVoiceFallbackUrl(URI voiceFallbackUrl)
The voice_fallback_url.
|
TollFreeCreator |
setVoiceMethod(HttpMethod voiceMethod)
The voice_method.
|
TollFreeCreator |
setVoiceUrl(String voiceUrl)
The voice_url.
|
TollFreeCreator |
setVoiceUrl(URI voiceUrl)
The voice_url.
|
create, createAsync, createAsync
public TollFreeCreator(PhoneNumber phoneNumber)
phoneNumber
- The phone_numberpublic TollFreeCreator(String ownerAccountSid, PhoneNumber phoneNumber)
ownerAccountSid
- The owner_account_sidphoneNumber
- The phone_numberpublic TollFreeCreator setApiVersion(String apiVersion)
apiVersion
- The api_versionpublic TollFreeCreator setFriendlyName(String friendlyName)
friendlyName
- The friendly_namepublic TollFreeCreator setSmsApplicationSid(String smsApplicationSid)
smsApplicationSid
- The sms_application_sidpublic TollFreeCreator setSmsFallbackMethod(HttpMethod smsFallbackMethod)
smsFallbackMethod
- The sms_fallback_methodpublic TollFreeCreator setSmsFallbackUrl(URI smsFallbackUrl)
smsFallbackUrl
- The sms_fallback_urlpublic TollFreeCreator setSmsFallbackUrl(String smsFallbackUrl)
smsFallbackUrl
- The sms_fallback_urlpublic TollFreeCreator setSmsMethod(HttpMethod smsMethod)
smsMethod
- The sms_methodpublic TollFreeCreator setSmsUrl(URI smsUrl)
smsUrl
- The sms_urlpublic TollFreeCreator setSmsUrl(String smsUrl)
smsUrl
- The sms_urlpublic TollFreeCreator setStatusCallback(URI statusCallback)
statusCallback
- The status_callbackpublic TollFreeCreator setStatusCallback(String statusCallback)
statusCallback
- The status_callbackpublic TollFreeCreator setStatusCallbackMethod(HttpMethod statusCallbackMethod)
statusCallbackMethod
- The status_callback_methodpublic TollFreeCreator setVoiceApplicationSid(String voiceApplicationSid)
voiceApplicationSid
- The voice_application_sidpublic TollFreeCreator setVoiceCallerIdLookup(Boolean voiceCallerIdLookup)
voiceCallerIdLookup
- The voice_caller_id_lookuppublic TollFreeCreator setVoiceFallbackMethod(HttpMethod voiceFallbackMethod)
voiceFallbackMethod
- The voice_fallback_methodpublic TollFreeCreator setVoiceFallbackUrl(URI voiceFallbackUrl)
voiceFallbackUrl
- The voice_fallback_urlpublic TollFreeCreator setVoiceFallbackUrl(String voiceFallbackUrl)
voiceFallbackUrl
- The voice_fallback_urlpublic TollFreeCreator setVoiceMethod(HttpMethod voiceMethod)
voiceMethod
- The voice_methodpublic TollFreeCreator setVoiceUrl(URI voiceUrl)
voiceUrl
- The voice_urlpublic TollFreeCreator setVoiceUrl(String voiceUrl)
voiceUrl
- The voice_urlpublic TollFree create(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.