public class IpAddress extends InstanceResource<TwilioRestClient>
| Constructor and Description |
|---|
IpAddress(TwilioRestClient client)
Instantiates a new IpAddress.
|
IpAddress(TwilioRestClient client,
Map<String,Object> properties)
Instantiates a new IpAddress.
|
IpAddress(TwilioRestClient client,
String ipAccessControlListSid,
String sid)
Instantiates a new IpAddress.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete this
IpAddress. |
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 |
getIpAccessControlListSid() |
String |
getIpAddress()
Gets the ip IpAddress
|
String |
getSid()
Gets the sid.
|
getObject, getProperty, update, updatesetRequestAccountSidpublic IpAddress(TwilioRestClient client)
client - the clientpublic IpAddress(TwilioRestClient client, String ipAccessControlListSid, String sid)
client - the clientipAccessControlListSid - the sid of list this IpAddress belongs tosid - the sidpublic IpAddress(TwilioRestClient client, Map<String,Object> properties)
client - the clientproperties - the propertiespublic String getSid()
public String getIpAccessControlListSid()
public Date getDateCreated()
public Date getDateUpdated()
public String getAccountSid()
public String getFriendlyName()
public String getIpAddress()
public boolean delete()
throws TwilioRestException
IpAddress.TwilioRestException - if there is an error in the requestCopyright © 2011 Twilio, Inc. All Rights Reserved.