public class SourceIpMapping extends Resource
Modifier and Type | Method and Description |
---|---|
static SourceIpMappingCreator |
creator(String ipRecordSid,
String sipDomainSid)
Create a SourceIpMappingCreator to execute create.
|
static SourceIpMappingDeleter |
deleter(String pathSid)
Create a SourceIpMappingDeleter to execute delete.
|
boolean |
equals(Object o) |
static SourceIpMappingFetcher |
fetcher(String pathSid)
Create a SourceIpMappingFetcher to execute fetch.
|
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()
Returns The RFC 2822 date and time in GMT that the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The RFC 2822 date and time in GMT that the resource was last updated.
|
String |
getIpRecordSid()
Returns The unique string that identifies an IP Record.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
String |
getSipDomainSid()
Returns The unique string that identifies a SIP Domain.
|
URI |
getUrl()
Returns The absolute URL of the resource.
|
int |
hashCode() |
static SourceIpMappingReader |
reader()
Create a SourceIpMappingReader to execute read.
|
static SourceIpMappingUpdater |
updater(String pathSid,
String sipDomainSid)
Create a SourceIpMappingUpdater to execute update.
|
public static SourceIpMappingCreator creator(String ipRecordSid, String sipDomainSid)
ipRecordSid
- The unique string that identifies an IP RecordsipDomainSid
- The unique string that identifies a SIP Domainpublic static SourceIpMappingFetcher fetcher(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static SourceIpMappingReader reader()
public static SourceIpMappingUpdater updater(String pathSid, String sipDomainSid)
pathSid
- The unique string that identifies the resourcesipDomainSid
- The unique string that identifies a SIP Domainpublic static SourceIpMappingDeleter deleter(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static SourceIpMapping fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static SourceIpMapping fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getIpRecordSid()
public final String getSipDomainSid()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.