public class IpRecord extends Resource
Modifier and Type | Method and Description |
---|---|
static IpRecordCreator |
creator(String ipAddress)
Create a IpRecordCreator to execute create.
|
static IpRecordDeleter |
deleter(String pathSid)
Create a IpRecordDeleter to execute delete.
|
boolean |
equals(Object o) |
static IpRecordFetcher |
fetcher(String pathSid)
Create a IpRecordFetcher to execute fetch.
|
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()
Returns The SID of the Account that created the resource.
|
Integer |
getCidrPrefixLength()
Returns An integer representing the length of the CIDR prefix to use with this
IP address.
|
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 |
getFriendlyName()
Returns The string that you assigned to describe the resource.
|
String |
getIpAddress()
Returns An IP address in dotted decimal notation, IPv4 only..
|
String |
getSid()
Returns The unique string that identifies the resource.
|
URI |
getUrl()
Returns The absolute URL of the resource.
|
int |
hashCode() |
static IpRecordReader |
reader()
Create a IpRecordReader to execute read.
|
static IpRecordUpdater |
updater(String pathSid)
Create a IpRecordUpdater to execute update.
|
public static IpRecordCreator creator(String ipAddress)
ipAddress
- An IP address in dotted decimal notation, IPv4 only.public static IpRecordFetcher fetcher(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static IpRecordReader reader()
public static IpRecordUpdater updater(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static IpRecordDeleter deleter(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static IpRecord fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static IpRecord fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getSid()
public final String getFriendlyName()
public final String getIpAddress()
public final Integer getCidrPrefixLength()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.