public class OutgoingCallerId extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
OutgoingCallerId(TwilioRestClient client)
Instantiates a new outgoing caller id.
|
OutgoingCallerId(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new outgoing caller id.
|
OutgoingCallerId(TwilioRestClient client,
String sid)
Instantiates a new outgoing caller id.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete this CallerId
|
String |
getAccountSid()
Gets the account sid.
|
Date |
getDateCreated()
Gets the date created.
|
Date |
getDateUpdated()
Gets the date updated.
|
String |
getFriendlyName()
Gets the friendly name.
|
String |
getPhoneNumber()
Gets the phone number.
|
String |
getSid()
Gets the sid.
|
getCastedObject, getObject, getProperty, getPropertyAsInteger, toJSON, update, updatesetRequestAccountSidpublic OutgoingCallerId(TwilioRestClient client)
client - the clientpublic OutgoingCallerId(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic OutgoingCallerId(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getFriendlyName()
public String getAccountSid()
public String getPhoneNumber()
public boolean delete()
throws TwilioRestException
TwilioRestException - the twilio rest exceptionCopyright © 2011 Twilio, Inc. All Rights Reserved.