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 IpRecordCreator
creator(String ipAddress)
static IpRecordDeleter
deleter(String pathSid)
boolean
equals(Object o)
static IpRecordFetcher
fetcher(String pathSid)
static IpRecord
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a IpRecord object using the provided ObjectMapper.static IpRecord
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a IpRecord object using the provided ObjectMapper.String
getAccountSid()
Integer
getCidrPrefixLength()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
String
getIpAddress()
String
getSid()
URI
getUrl()
int
hashCode()
static IpRecordReader
reader()
static IpRecordUpdater
updater(String pathSid)
-
-
-
Method Detail
-
creator
public static IpRecordCreator creator(String ipAddress)
-
deleter
public static IpRecordDeleter deleter(String pathSid)
-
fetcher
public static IpRecordFetcher fetcher(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()
-
-