Package com.twilio.rest.voice.v1
Class IpRecord
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.voice.v1.IpRecord
-
- All Implemented Interfaces:
Serializable
public class IpRecord extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpRecordCreatorcreator(String ipAddress)static IpRecordDeleterdeleter(String pathSid)booleanequals(Object o)static IpRecordFetcherfetcher(String pathSid)static IpRecordfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a IpRecord object using the provided ObjectMapper.static IpRecordfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a IpRecord object using the provided ObjectMapper.StringgetAccountSid()IntegergetCidrPrefixLength()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFriendlyName()StringgetIpAddress()StringgetSid()URIgetUrl()inthashCode()static IpRecordReaderreader()static IpRecordUpdaterupdater(String pathSid)
-
-
-
Method Detail
-
creator
public static IpRecordCreator creator(String ipAddress)
-
fetcher
public static IpRecordFetcher fetcher(String pathSid)
-
deleter
public static IpRecordDeleter deleter(String pathSid)
-
reader
public static IpRecordReader reader()
-
updater
public static IpRecordUpdater updater(String pathSid)
-
fromJson
public static IpRecord fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a IpRecord object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- IpRecord object represented by the provided JSON
-
fromJson
public static IpRecord fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a IpRecord object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- IpRecord object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getSid
public final String getSid()
-
getFriendlyName
public final String getFriendlyName()
-
getIpAddress
public final String getIpAddress()
-
getCidrPrefixLength
public final Integer getCidrPrefixLength()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-