public class OutgoingCallerId extends Resource
Modifier and Type | Method and Description |
---|---|
static OutgoingCallerIdDeleter |
deleter(String pathSid)
Create a OutgoingCallerIdDeleter to execute delete.
|
static OutgoingCallerIdDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a OutgoingCallerIdDeleter to execute delete.
|
boolean |
equals(Object o) |
static OutgoingCallerIdFetcher |
fetcher(String pathSid)
Create a OutgoingCallerIdFetcher to execute fetch.
|
static OutgoingCallerIdFetcher |
fetcher(String pathAccountSid,
String pathSid)
Create a OutgoingCallerIdFetcher to execute fetch.
|
static OutgoingCallerId |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a OutgoingCallerId object using the provided
ObjectMapper.
|
static OutgoingCallerId |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a OutgoingCallerId object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The unique sid that identifies this account.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this resource was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this resource was last updated.
|
String |
getFriendlyName()
Returns The A human readable description for this resource.
|
PhoneNumber |
getPhoneNumber()
Returns The The incoming phone number.
|
String |
getSid()
Returns The A string that uniquely identifies this outgoing-caller-ids.
|
String |
getUri()
Returns The The URI for this resource.
|
int |
hashCode() |
static OutgoingCallerIdReader |
reader()
Create a OutgoingCallerIdReader to execute read.
|
static OutgoingCallerIdReader |
reader(String pathAccountSid)
Create a OutgoingCallerIdReader to execute read.
|
String |
toString() |
static OutgoingCallerIdUpdater |
updater(String pathSid)
Create a OutgoingCallerIdUpdater to execute update.
|
static OutgoingCallerIdUpdater |
updater(String pathAccountSid,
String pathSid)
Create a OutgoingCallerIdUpdater to execute update.
|
public static OutgoingCallerIdFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- Fetch by unique outgoing-caller-id Sidpublic static OutgoingCallerIdFetcher fetcher(String pathSid)
pathSid
- Fetch by unique outgoing-caller-id Sidpublic static OutgoingCallerIdUpdater updater(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- Update by unique outgoing-caller-id Sidpublic static OutgoingCallerIdUpdater updater(String pathSid)
pathSid
- Update by unique outgoing-caller-id Sidpublic static OutgoingCallerIdDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- Delete by unique outgoing-caller-id Sidpublic static OutgoingCallerIdDeleter deleter(String pathSid)
pathSid
- Delete by unique outgoing-caller-id Sidpublic static OutgoingCallerIdReader reader(String pathAccountSid)
pathAccountSid
- The account_sidpublic static OutgoingCallerIdReader reader()
public static OutgoingCallerId fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static OutgoingCallerId fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getFriendlyName()
public final String getAccountSid()
public final PhoneNumber getPhoneNumber()
public final String getUri()
Copyright © 2016 Twilio, Inc. All Rights Reserved.