public class IpAccessControlList extends SidResource
Modifier and Type | Method and Description |
---|---|
static IpAccessControlListCreator |
create(String trunkSid,
String ipAccessControlListSid)
Create a IpAccessControlListCreator to execute create.
|
static IpAccessControlListDeleter |
delete(String trunkSid,
String sid)
Create a IpAccessControlListDeleter to execute delete.
|
boolean |
equals(Object o) |
static IpAccessControlListFetcher |
fetch(String trunkSid,
String sid)
Create a IpAccessControlListFetcher to execute fetch.
|
static IpAccessControlList |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a IpAccessControlList object using the
provided ObjectMapper.
|
static IpAccessControlList |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a IpAccessControlList 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 |
getSid()
Returns The The sid.
|
String |
getTrunkSid()
Returns The The trunk_sid.
|
URI |
getUrl()
Returns The The url.
|
int |
hashCode() |
static IpAccessControlListReader |
read(String trunkSid)
Create a IpAccessControlListReader to execute read.
|
String |
toString() |
public static IpAccessControlListFetcher fetch(String trunkSid, String sid)
trunkSid
- The trunk_sidsid
- The sidpublic static IpAccessControlListDeleter delete(String trunkSid, String sid)
trunkSid
- The trunk_sidsid
- The sidpublic static IpAccessControlListCreator create(String trunkSid, String ipAccessControlListSid)
trunkSid
- The trunk_sidipAccessControlListSid
- The ip_access_control_list_sidpublic static IpAccessControlListReader read(String trunkSid)
trunkSid
- The trunk_sidpublic static IpAccessControlList fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static IpAccessControlList fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getSid()
getSid
in class SidResource
public final String getTrunkSid()
public final String getFriendlyName()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
Copyright © 2011 Twilio, Inc. All Rights Reserved.