public class HostedNumberOrderUpdater extends Updater<HostedNumberOrder>
Constructor and Description |
---|
HostedNumberOrderUpdater(String pathSid)
Construct a new HostedNumberOrderUpdater.
|
Modifier and Type | Method and Description |
---|---|
HostedNumberOrderUpdater |
setCallDelay(Integer callDelay)
The number of seconds, between 0 and 60, to delay before initiating the
verification call.
|
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 |
setExtension(String extension)
Digits to dial after connecting the verification call..
|
HostedNumberOrderUpdater |
setFriendlyName(String friendlyName)
A 64 character string that is a human readable text that describes this
resource..
|
HostedNumberOrderUpdater |
setStatus(HostedNumberOrder.Status status)
User can only post to `pending-verification` status to transition the
HostedNumberOrder to initiate a verification call or verification of
ownership with a copy of a phone bill..
|
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, updateAsync
public 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 HostedNumberOrderUpdater setExtension(String extension)
extension
- Digits to dial after connecting the verification call.public HostedNumberOrderUpdater setCallDelay(Integer callDelay)
callDelay
- The number of seconds, between 0 and 60, to delay before
initiating the verification call.public HostedNumberOrder update(TwilioRestClient client)
update
in class Updater<HostedNumberOrder>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.