public class ShortCode extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
ShortCode(TwilioRestClient client)
Instantiates a new incoming phone number.
|
ShortCode(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new incoming phone number.
|
ShortCode(TwilioRestClient client,
String sid)
Instantiates a new incoming phone number.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountSid()
Gets the account sid.
|
String |
getApiVersion()
Gets the api version.
|
Date |
getDateCreated()
Gets the date created.
|
Date |
getDateUpdated()
Gets the date updated.
|
String |
getFriendlyName()
Gets the friendly name.
|
String |
getShortCode()
Gets the short code number.
|
String |
getSid()
Gets the sid.
|
String |
getSmsApplicationSid()
Gets the sms application sid.
|
String |
getSmsFallbackMethod()
Gets the sms fallback method.
|
String |
getSmsFallbackUrl()
Gets the sms fallback url.
|
String |
getSmsMethod()
Gets the sms method.
|
String |
getSmsUrl()
Gets the sms url.
|
getObject, getProperty, update, updatesetRequestAccountSidpublic ShortCode(TwilioRestClient client)
client - the clientpublic ShortCode(TwilioRestClient client, String sid)
client - the clientsid - the sidpublic ShortCode(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 getShortCode()
public String getSmsApplicationSid()
public String getApiVersion()
public String getSmsUrl()
public String getSmsMethod()
public String getSmsFallbackUrl()
public String getSmsFallbackMethod()
Copyright © 2011 Twilio, Inc. All Rights Reserved.