Class IpAddress
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.sip.ipaccesscontrollist.IpAddress
-
- All Implemented Interfaces:
Serializable
public class IpAddress extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpAddressCreatorcreator(String pathIpAccessControlListSid, String friendlyName, String ipAddress)static IpAddressCreatorcreator(String pathAccountSid, String pathIpAccessControlListSid, String friendlyName, String ipAddress)static IpAddressDeleterdeleter(String pathIpAccessControlListSid, String pathSid)static IpAddressDeleterdeleter(String pathAccountSid, String pathIpAccessControlListSid, String pathSid)booleanequals(Object o)static IpAddressFetcherfetcher(String pathIpAccessControlListSid, String pathSid)static IpAddressFetcherfetcher(String pathAccountSid, String pathIpAccessControlListSid, String pathSid)static IpAddressfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a IpAddress object using the provided ObjectMapper.static IpAddressfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a IpAddress object using the provided ObjectMapper.StringgetAccountSid()IntegergetCidrPrefixLength()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFriendlyName()StringgetIpAccessControlListSid()StringgetIpAddress()StringgetSid()StringgetUri()inthashCode()static IpAddressReaderreader(String pathIpAccessControlListSid)static IpAddressReaderreader(String pathAccountSid, String pathIpAccessControlListSid)static IpAddressUpdaterupdater(String pathIpAccessControlListSid, String pathSid)static IpAddressUpdaterupdater(String pathAccountSid, String pathIpAccessControlListSid, String pathSid)
-
-
-
Method Detail
-
creator
public static IpAddressCreator creator(String pathIpAccessControlListSid, String friendlyName, String ipAddress)
-
creator
public static IpAddressCreator creator(String pathAccountSid, String pathIpAccessControlListSid, String friendlyName, String ipAddress)
-
fetcher
public static IpAddressFetcher fetcher(String pathIpAccessControlListSid, String pathSid)
-
fetcher
public static IpAddressFetcher fetcher(String pathAccountSid, String pathIpAccessControlListSid, String pathSid)
-
deleter
public static IpAddressDeleter deleter(String pathIpAccessControlListSid, String pathSid)
-
deleter
public static IpAddressDeleter deleter(String pathAccountSid, String pathIpAccessControlListSid, String pathSid)
-
reader
public static IpAddressReader reader(String pathIpAccessControlListSid)
-
reader
public static IpAddressReader reader(String pathAccountSid, String pathIpAccessControlListSid)
-
updater
public static IpAddressUpdater updater(String pathIpAccessControlListSid, String pathSid)
-
updater
public static IpAddressUpdater updater(String pathAccountSid, String pathIpAccessControlListSid, String pathSid)
-
fromJson
public static IpAddress fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a IpAddress object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- IpAddress object represented by the provided JSON
-
fromJson
public static IpAddress fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a IpAddress object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- IpAddress object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getFriendlyName
public final String getFriendlyName()
-
getIpAddress
public final String getIpAddress()
-
getCidrPrefixLength
public final Integer getCidrPrefixLength()
-
getIpAccessControlListSid
public final String getIpAccessControlListSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUri
public final String getUri()
-
-