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 SourceIpMappingCreatorcreator(String ipRecordSid, String sipDomainSid)static SourceIpMappingDeleterdeleter(String pathSid)booleanequals(Object o)static SourceIpMappingFetcherfetcher(String pathSid)static SourceIpMappingfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a SourceIpMapping object using the provided ObjectMapper.static SourceIpMappingfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a SourceIpMapping object using the provided ObjectMapper.ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetIpRecordSid()StringgetSid()StringgetSipDomainSid()URIgetUrl()inthashCode()static SourceIpMappingReaderreader()static SourceIpMappingUpdaterupdater(String pathSid, String sipDomainSid)
-
-
-
Method Detail
-
creator
public static SourceIpMappingCreator creator(String ipRecordSid, String sipDomainSid)
-
fetcher
public static SourceIpMappingFetcher fetcher(String pathSid)
-
deleter
public static SourceIpMappingDeleter deleter(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()
-
-