public class HostedNumberOrder extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
HostedNumberOrder.Status |
static class |
HostedNumberOrder.VerificationType |
Modifier and Type | Method and Description |
---|---|
static HostedNumberOrderCreator |
creator(PhoneNumber phoneNumber,
Boolean smsCapability)
Create a HostedNumberOrderCreator to execute create.
|
static HostedNumberOrderDeleter |
deleter(String pathSid)
Create a HostedNumberOrderDeleter to execute delete.
|
boolean |
equals(Object o) |
static HostedNumberOrderFetcher |
fetcher(String pathSid)
Create a HostedNumberOrderFetcher to execute fetch.
|
static HostedNumberOrder |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a HostedNumberOrder object using the
provided ObjectMapper.
|
static HostedNumberOrder |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a HostedNumberOrder object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns Account Sid..
|
String |
getAddressSid()
Returns Address sid..
|
Integer |
getCallDelay()
Returns Seconds (0-30) to delay ownership verification call by..
|
PhoneNumberCapabilities |
getCapabilities()
Returns A mapping of phone number capabilities..
|
List<String> |
getCcEmails()
Returns A list of emails..
|
ZonedDateTime |
getDateCreated()
Returns The date this HostedNumberOrder was created..
|
ZonedDateTime |
getDateUpdated()
Returns The date this HostedNumberOrder was updated..
|
String |
getEmail()
Returns Email..
|
String |
getExtension()
Returns Phone extension to use for ownership verification call..
|
String |
getFailureReason()
Returns Why a hosted_number_order reached status "action-required".
|
String |
getFriendlyName()
Returns A human readable description of this resource..
|
String |
getIncomingPhoneNumberSid()
Returns IncomingPhoneNumber sid..
|
PhoneNumber |
getPhoneNumber()
Returns An E164 formatted phone number..
|
String |
getSid()
Returns HostedNumberOrder sid..
|
String |
getSigningDocumentSid()
Returns LOA document sid..
|
HostedNumberOrder.Status |
getStatus()
Returns The Status of this HostedNumberOrder..
|
String |
getUniqueName()
Returns A unique, developer assigned name of this HostedNumberOrder..
|
URI |
getUrl()
Returns The URL of this HostedNumberOrder..
|
Integer |
getVerificationAttempts()
Returns The number of attempts made to verify ownership of the phone number..
|
List<String> |
getVerificationCallSids()
Returns List of IDs for ownership verification calls..
|
String |
getVerificationCode()
Returns The digits passed during the ownership verification call..
|
String |
getVerificationDocumentSid()
Returns Verification Document Sid..
|
HostedNumberOrder.VerificationType |
getVerificationType()
Returns The method used for verifying ownership of the number to be hosted..
|
int |
hashCode() |
static HostedNumberOrderReader |
reader()
Create a HostedNumberOrderReader to execute read.
|
static HostedNumberOrderUpdater |
updater(String pathSid)
Create a HostedNumberOrderUpdater to execute update.
|
public static HostedNumberOrderFetcher fetcher(String pathSid)
pathSid
- HostedNumberOrder sid.public static HostedNumberOrderDeleter deleter(String pathSid)
pathSid
- HostedNumberOrder sid.public static HostedNumberOrderUpdater updater(String pathSid)
pathSid
- The sidpublic static HostedNumberOrderReader reader()
public static HostedNumberOrderCreator creator(PhoneNumber phoneNumber, Boolean smsCapability)
phoneNumber
- An E164 formatted phone number.smsCapability
- Specify SMS capability to host.public static HostedNumberOrder fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static HostedNumberOrder fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getIncomingPhoneNumberSid()
public final String getAddressSid()
public final String getSigningDocumentSid()
public final PhoneNumber getPhoneNumber()
public final PhoneNumberCapabilities getCapabilities()
public final String getFriendlyName()
public final String getUniqueName()
public final HostedNumberOrder.Status getStatus()
public final String getFailureReason()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final Integer getVerificationAttempts()
public final String getEmail()
public final List<String> getCcEmails()
public final URI getUrl()
public final HostedNumberOrder.VerificationType getVerificationType()
public final String getVerificationDocumentSid()
public final String getExtension()
public final Integer getCallDelay()
public final String getVerificationCode()
public final List<String> getVerificationCallSids()
Copyright © 2019 Twilio, Inc. All Rights Reserved.