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