public class OutgoingCallerId extends SidResource
Modifier and Type | Method and Description |
---|---|
static OutgoingCallerIdDeleter |
delete(String accountSid,
String sid)
Create a OutgoingCallerIdDeleter to execute delete.
|
boolean |
equals(Object o) |
static OutgoingCallerIdFetcher |
fetch(String accountSid,
String sid)
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 |
read(String accountSid)
Create a OutgoingCallerIdReader to execute read.
|
String |
toString() |
static OutgoingCallerIdUpdater |
update(String accountSid,
String sid)
Create a OutgoingCallerIdUpdater to execute update.
|
public static OutgoingCallerIdFetcher fetch(String accountSid, String sid)
accountSid
- The account_sidsid
- Fetch by unique outgoing-caller-id Sidpublic static OutgoingCallerIdUpdater update(String accountSid, String sid)
accountSid
- The account_sidsid
- Update by unique outgoing-caller-id Sidpublic static OutgoingCallerIdDeleter delete(String accountSid, String sid)
accountSid
- The account_sidsid
- Delete by unique outgoing-caller-id Sidpublic static OutgoingCallerIdReader read(String accountSid)
accountSid
- The account_sidpublic 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()
getSid
in class SidResource
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 © 2011 Twilio, Inc. All Rights Reserved.