Class IpAccessControlList
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.sip.IpAccessControlList
-
- All Implemented Interfaces:
Serializable
public class IpAccessControlList extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 IP addresses associated with this resource..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.
-
-
-
Method Detail
-
reader
public static IpAccessControlListReader reader(String pathAccountSid)
Create a IpAccessControlListReader to execute read.- Parameters:
pathAccountSid
- The unique sid that identifies this account- Returns:
- IpAccessControlListReader capable of executing the read
-
reader
public static IpAccessControlListReader reader()
Create a IpAccessControlListReader to execute read.- Returns:
- IpAccessControlListReader capable of executing the read
-
creator
public static IpAccessControlListCreator creator(String pathAccountSid, String friendlyName)
Create a IpAccessControlListCreator to execute create.- Parameters:
pathAccountSid
- The unique sid that identifies this accountfriendlyName
- A human readable description of this resource- Returns:
- IpAccessControlListCreator capable of executing the create
-
creator
public static IpAccessControlListCreator creator(String friendlyName)
Create a IpAccessControlListCreator to execute create.- Parameters:
friendlyName
- A human readable description of this resource- Returns:
- IpAccessControlListCreator capable of executing the create
-
fetcher
public static IpAccessControlListFetcher fetcher(String pathAccountSid, String pathSid)
Create a IpAccessControlListFetcher to execute fetch.- Parameters:
pathAccountSid
- The unique sid that identifies this accountpathSid
- A string that identifies the resource to fetch- Returns:
- IpAccessControlListFetcher capable of executing the fetch
-
fetcher
public static IpAccessControlListFetcher fetcher(String pathSid)
Create a IpAccessControlListFetcher to execute fetch.- Parameters:
pathSid
- A string that identifies the resource to fetch- Returns:
- IpAccessControlListFetcher capable of executing the fetch
-
updater
public static IpAccessControlListUpdater updater(String pathAccountSid, String pathSid, String friendlyName)
Create a IpAccessControlListUpdater to execute update.- Parameters:
pathAccountSid
- The unique sid that identifies this accountpathSid
- A string that identifies the resource to updatefriendlyName
- A human readable description of this resource- Returns:
- IpAccessControlListUpdater capable of executing the update
-
updater
public static IpAccessControlListUpdater updater(String pathSid, String friendlyName)
Create a IpAccessControlListUpdater to execute update.- Parameters:
pathSid
- A string that identifies the resource to updatefriendlyName
- A human readable description of this resource- Returns:
- IpAccessControlListUpdater capable of executing the update
-
deleter
public static IpAccessControlListDeleter deleter(String pathAccountSid, String pathSid)
Create a IpAccessControlListDeleter to execute delete.- Parameters:
pathAccountSid
- The unique sid that identifies this accountpathSid
- A string that identifies the resource to delete- Returns:
- IpAccessControlListDeleter capable of executing the delete
-
deleter
public static IpAccessControlListDeleter deleter(String pathSid)
Create a IpAccessControlListDeleter to execute delete.- Parameters:
pathSid
- A string that identifies the resource to delete- Returns:
- IpAccessControlListDeleter capable of executing the delete
-
fromJson
public static IpAccessControlList fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a IpAccessControlList object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- IpAccessControlList object represented by the provided JSON
-
fromJson
public static IpAccessControlList fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a IpAccessControlList object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- IpAccessControlList object represented by the provided JSON
-
getSid
public final String getSid()
Returns The A string that uniquely identifies this resource.- Returns:
- A string that uniquely identifies this resource
-
getAccountSid
public final String getAccountSid()
Returns The The unique sid that identifies this account.- Returns:
- The unique sid that identifies this account
-
getFriendlyName
public final String getFriendlyName()
Returns The A human readable description of this resource.- Returns:
- A human readable description of this resource
-
getDateCreated
public final org.joda.time.DateTime getDateCreated()
Returns The The date this resource was created.- Returns:
- The date this resource was created
-
getDateUpdated
public final org.joda.time.DateTime getDateUpdated()
Returns The The date this resource was last updated.- Returns:
- The date this resource was last updated
-
getSubresourceUris
public final Map<String,String> getSubresourceUris()
Returns The The IP addresses associated with this resource..- Returns:
- The IP addresses associated with this resource.
-
getUri
public final String getUri()
Returns The The URI for this resource.- Returns:
- The URI for this resource
-
-