public class IpAccessControlList extends Resource
Modifier and Type | Method and Description |
---|---|
static IpAccessControlListCreator |
creator(String pathTrunkSid,
String ipAccessControlListSid)
Create a IpAccessControlListCreator to execute create.
|
static IpAccessControlListDeleter |
deleter(String pathTrunkSid,
String pathSid)
Create a IpAccessControlListDeleter to execute delete.
|
boolean |
equals(Object o) |
static IpAccessControlListFetcher |
fetcher(String pathTrunkSid,
String pathSid)
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 SID of the Account that created the resource.
|
ZonedDateTime |
getDateCreated()
Returns The RFC 2822 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The RFC 2822 date and time in GMT when the resource was last updated.
|
String |
getFriendlyName()
Returns The string that you assigned to describe the resource.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
String |
getTrunkSid()
Returns The SID of the Trunk the resource is associated with.
|
URI |
getUrl()
Returns The absolute URL of the resource.
|
int |
hashCode() |
static IpAccessControlListReader |
reader(String pathTrunkSid)
Create a IpAccessControlListReader to execute read.
|
public static IpAccessControlListFetcher fetcher(String pathTrunkSid, String pathSid)
pathTrunkSid
- The SID of the Trunk from which to fetch the IP Access
Control ListpathSid
- The unique string that identifies the resourcepublic static IpAccessControlListDeleter deleter(String pathTrunkSid, String pathSid)
pathTrunkSid
- The SID of the Trunk from which to delete the IP Access
Control ListpathSid
- The unique string that identifies the resourcepublic static IpAccessControlListCreator creator(String pathTrunkSid, String ipAccessControlListSid)
pathTrunkSid
- The SID of the Trunk to associate the IP Access Control
List withipAccessControlListSid
- The SID of the IP Access Control List that you
want to associate with the trunkpublic static IpAccessControlListReader reader(String pathTrunkSid)
pathTrunkSid
- The SID of the Trunk from which to read the IP Access
Control Listspublic 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()
public final String getTrunkSid()
public final String getFriendlyName()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.