public class PhoneNumber extends Resource
| Modifier and Type | Method and Description |
|---|---|
static PhoneNumberCreator |
creator(String pathServiceSid)
Create a PhoneNumberCreator to execute create.
|
static PhoneNumberDeleter |
deleter(String pathServiceSid,
String pathSid)
Create a PhoneNumberDeleter to execute delete.
|
boolean |
equals(Object o) |
static PhoneNumberFetcher |
fetcher(String pathServiceSid,
String pathSid)
Create a PhoneNumberFetcher to execute fetch.
|
static PhoneNumber |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a PhoneNumber object using the provided
ObjectMapper.
|
static PhoneNumber |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a PhoneNumber object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The Account Sid..
|
PhoneNumberCapabilities |
getCapabilities()
Returns The A list of capabilities..
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this Phone Number was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Phone Number was updated.
|
String |
getFriendlyName()
Returns The A human readable description of this resource..
|
String |
getIsoCountry()
Returns The ISO Country Code,.
|
PhoneNumber |
getPhoneNumber()
Returns The The phone number..
|
String |
getServiceSid()
Returns The Service Sid..
|
String |
getSid()
Returns The A string that uniquely identifies this Phone Number..
|
URI |
getUrl()
Returns The The URL of this resource..
|
int |
hashCode() |
static PhoneNumberReader |
reader(String pathServiceSid)
Create a PhoneNumberReader to execute read.
|
String |
toString() |
public static PhoneNumberCreator creator(String pathServiceSid)
pathServiceSid - Service Sid.public static PhoneNumberDeleter deleter(String pathServiceSid, String pathSid)
pathServiceSid - Service Sid.pathSid - A string that uniquely identifies this Phone Number.public static PhoneNumberReader reader(String pathServiceSid)
pathServiceSid - Service Sid.public static PhoneNumberFetcher fetcher(String pathServiceSid, String pathSid)
pathServiceSid - Service Sid.pathSid - A string that uniquely identifies this Phone Number.public static PhoneNumber fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static PhoneNumber 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 getServiceSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final PhoneNumber getPhoneNumber()
public final String getFriendlyName()
public final String getIsoCountry()
public final PhoneNumberCapabilities getCapabilities()
public final URI getUrl()
Copyright © 2016 Twilio, Inc. All Rights Reserved.