public class HostedNumberOrderUpdater extends Updater<HostedNumberOrder>
| Constructor and Description |
|---|
HostedNumberOrderUpdater(String pathSid)
Construct a new HostedNumberOrderUpdater.
|
| Modifier and Type | Method and Description |
|---|---|
HostedNumberOrderUpdater |
setCcEmails(List<String> ccEmails)
Optional.
|
HostedNumberOrderUpdater |
setCcEmails(String ccEmails)
Optional.
|
HostedNumberOrderUpdater |
setEmail(String email)
Email of the owner of this phone number that is being hosted..
|
HostedNumberOrderUpdater |
setFriendlyName(String friendlyName)
A human readable description of this resource, up to 64 characters..
|
HostedNumberOrderUpdater |
setStatus(HostedNumberOrder.Status status)
The Status of this HostedNumberOrder.
|
HostedNumberOrderUpdater |
setUniqueName(String uniqueName)
Provides a unique and addressable name to be assigned to this
HostedNumberOrder, assigned by the developer, to be optionally used in
addition to SID..
|
HostedNumberOrderUpdater |
setVerificationCode(String verificationCode)
A verification code that is given to the user via a phone call to the phone
number that is being hosted..
|
HostedNumberOrderUpdater |
setVerificationDocumentSid(String verificationDocumentSid)
Optional.
|
HostedNumberOrderUpdater |
setVerificationType(HostedNumberOrder.VerificationType verificationType)
Optional.
|
HostedNumberOrder |
update(TwilioRestClient client)
Make the request to the Twilio API to perform the update.
|
update, updateAsync, updateAsyncpublic HostedNumberOrderUpdater(String pathSid)
pathSid - The sidpublic HostedNumberOrderUpdater setFriendlyName(String friendlyName)
friendlyName - A human readable description of this resource.public HostedNumberOrderUpdater setUniqueName(String uniqueName)
uniqueName - A unique, developer assigned name of this
HostedNumberOrder.public HostedNumberOrderUpdater setEmail(String email)
email - Email.public HostedNumberOrderUpdater setCcEmails(List<String> ccEmails)
ccEmails - A list of emails.public HostedNumberOrderUpdater setCcEmails(String ccEmails)
ccEmails - A list of emails.public HostedNumberOrderUpdater setStatus(HostedNumberOrder.Status status)
status - The Status of this HostedNumberOrder.public HostedNumberOrderUpdater setVerificationCode(String verificationCode)
verificationCode - A verification code.public HostedNumberOrderUpdater setVerificationType(HostedNumberOrder.VerificationType verificationType)
verificationType - Verification Type.public HostedNumberOrderUpdater setVerificationDocumentSid(String verificationDocumentSid)
verificationDocumentSid - Verification Document Sidpublic HostedNumberOrder update(TwilioRestClient client)
update in class Updater<HostedNumberOrder>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.