public class IpAccessControlList extends Resource
Modifier and Type | Method and Description |
---|---|
static IpAccessControlListCreator |
creator(String friendlyName)
Create a IpAccessControlListCreator to execute create.
|
static IpAccessControlListCreator |
creator(String pathAccountSid,
String friendlyName)
Create a IpAccessControlListCreator to execute create.
|
static IpAccessControlListDeleter |
deleter(String pathSid)
Create a IpAccessControlListDeleter to execute delete.
|
static IpAccessControlListDeleter |
deleter(String pathAccountSid,
String pathSid)
Create a IpAccessControlListDeleter to execute delete.
|
boolean |
equals(Object o) |
static IpAccessControlListFetcher |
fetcher(String pathSid)
Create a IpAccessControlListFetcher to execute fetch.
|
static IpAccessControlListFetcher |
fetcher(String pathAccountSid,
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 The unique sid that identifies this account.
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this resource was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this resource was last updated.
|
String |
getFriendlyName()
Returns The A human readable description of this resource.
|
String |
getSid()
Returns The A string that uniquely identifies this resource.
|
Map<String,String> |
getSubresourceUris()
Returns The The subresource_uris.
|
String |
getUri()
Returns The The URI for this resource.
|
int |
hashCode() |
static IpAccessControlListReader |
reader()
Create a IpAccessControlListReader to execute read.
|
static IpAccessControlListReader |
reader(String pathAccountSid)
Create a IpAccessControlListReader to execute read.
|
String |
toString() |
static IpAccessControlListUpdater |
updater(String pathSid,
String friendlyName)
Create a IpAccessControlListUpdater to execute update.
|
static IpAccessControlListUpdater |
updater(String pathAccountSid,
String pathSid,
String friendlyName)
Create a IpAccessControlListUpdater to execute update.
|
public static IpAccessControlListReader reader(String pathAccountSid)
pathAccountSid
- The account_sidpublic static IpAccessControlListReader reader()
public static IpAccessControlListCreator creator(String pathAccountSid, String friendlyName)
pathAccountSid
- The account_sidfriendlyName
- A human readable description of this resourcepublic static IpAccessControlListCreator creator(String friendlyName)
friendlyName
- A human readable description of this resourcepublic static IpAccessControlListFetcher fetcher(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- Fetch by unique ip-access-control-list Sidpublic static IpAccessControlListFetcher fetcher(String pathSid)
pathSid
- Fetch by unique ip-access-control-list Sidpublic static IpAccessControlListUpdater updater(String pathAccountSid, String pathSid, String friendlyName)
pathAccountSid
- The account_sidpathSid
- The sidfriendlyName
- A human readable description of this resourcepublic static IpAccessControlListUpdater updater(String pathSid, String friendlyName)
pathSid
- The sidfriendlyName
- A human readable description of this resourcepublic static IpAccessControlListDeleter deleter(String pathAccountSid, String pathSid)
pathAccountSid
- The account_sidpathSid
- Delete by unique ip-access-control-list Sidpublic static IpAccessControlListDeleter deleter(String pathSid)
pathSid
- Delete by unique ip-access-control-list 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 getSid()
public final String getAccountSid()
public final String getFriendlyName()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final Map<String,String> getSubresourceUris()
public final String getUri()
Copyright © 2016 Twilio, Inc. All Rights Reserved.