Package com.twilio.rest.voice.v1
Class SourceIpMapping
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.voice.v1.SourceIpMapping
-
- All Implemented Interfaces:
Serializable
public class SourceIpMapping extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceIpMappingCreator
creator(String ipRecordSid, String sipDomainSid)
static SourceIpMappingDeleter
deleter(String pathSid)
boolean
equals(Object o)
static SourceIpMappingFetcher
fetcher(String pathSid)
static SourceIpMapping
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SourceIpMapping object using the provided ObjectMapper.static SourceIpMapping
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SourceIpMapping object using the provided ObjectMapper.ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getIpRecordSid()
String
getSid()
String
getSipDomainSid()
URI
getUrl()
int
hashCode()
static SourceIpMappingReader
reader()
static SourceIpMappingUpdater
updater(String pathSid, String sipDomainSid)
-
-
-
Method Detail
-
creator
public static SourceIpMappingCreator creator(String ipRecordSid, String sipDomainSid)
-
deleter
public static SourceIpMappingDeleter deleter(String pathSid)
-
fetcher
public static SourceIpMappingFetcher fetcher(String pathSid)
-
reader
public static SourceIpMappingReader reader()
-
updater
public static SourceIpMappingUpdater updater(String pathSid, String sipDomainSid)
-
fromJson
public static SourceIpMapping fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a SourceIpMapping object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- SourceIpMapping object represented by the provided JSON
-
fromJson
public static SourceIpMapping fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a SourceIpMapping object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- SourceIpMapping object represented by the provided JSON
-
getSid
public final String getSid()
-
getIpRecordSid
public final String getIpRecordSid()
-
getSipDomainSid
public final String getSipDomainSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-