public class IpAddress extends SidResource
Modifier and Type | Method and Description |
---|---|
static IpAddressCreator |
create(String accountSid,
String ipAccessControlListSid,
String friendlyName,
String ipAddress)
Create a IpAddressCreator to execute create.
|
static IpAddressDeleter |
delete(String accountSid,
String ipAccessControlListSid,
String sid)
Create a IpAddressDeleter to execute delete.
|
boolean |
equals(Object o) |
static IpAddressFetcher |
fetch(String accountSid,
String ipAccessControlListSid,
String sid)
Create a IpAddressFetcher to execute fetch.
|
static IpAddress |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a IpAddress object using the provided
ObjectMapper.
|
static IpAddress |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a IpAddress object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date_created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date_updated.
|
String |
getFriendlyName()
Returns The The friendly_name.
|
String |
getIpAccessControlListSid()
Returns The The ip_access_control_list_sid.
|
String |
getIpAddress()
Returns The The ip_address.
|
String |
getSid()
Returns The The sid.
|
String |
getUri()
Returns The The uri.
|
int |
hashCode() |
static IpAddressReader |
read(String accountSid,
String ipAccessControlListSid)
Create a IpAddressReader to execute read.
|
String |
toString() |
static IpAddressUpdater |
update(String accountSid,
String ipAccessControlListSid,
String sid,
String ipAddress,
String friendlyName)
Create a IpAddressUpdater to execute update.
|
public static IpAddressReader read(String accountSid, String ipAccessControlListSid)
accountSid
- The account_sidipAccessControlListSid
- The ip_access_control_list_sidpublic static IpAddressCreator create(String accountSid, String ipAccessControlListSid, String friendlyName, String ipAddress)
accountSid
- The account_sidipAccessControlListSid
- The ip_access_control_list_sidfriendlyName
- The friendly_nameipAddress
- The ip_addresspublic static IpAddressFetcher fetch(String accountSid, String ipAccessControlListSid, String sid)
accountSid
- The account_sidipAccessControlListSid
- The ip_access_control_list_sidsid
- The sidpublic static IpAddressUpdater update(String accountSid, String ipAccessControlListSid, String sid, String ipAddress, String friendlyName)
accountSid
- The account_sidipAccessControlListSid
- The ip_access_control_list_sidsid
- The sidipAddress
- The ip_addressfriendlyName
- The friendly_namepublic static IpAddressDeleter delete(String accountSid, String ipAccessControlListSid, String sid)
accountSid
- The account_sidipAccessControlListSid
- The ip_access_control_list_sidsid
- The sidpublic static IpAddress fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static IpAddress fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
getSid
in class SidResource
public final String getAccountSid()
public final String getFriendlyName()
public final String getIpAddress()
public final String getIpAccessControlListSid()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final String getUri()
Copyright © 2011 Twilio, Inc. All Rights Reserved.