public class Sim extends Resource
Modifier and Type | Class and Description |
---|---|
static class |
Sim.Status |
static class |
Sim.StatusUpdate |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static SimFetcher |
fetcher(String pathSid)
Create a SimFetcher to execute fetch.
|
static Sim |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Sim object using the provided
ObjectMapper.
|
static Sim |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Sim object using the provided ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that the Super SIM belongs to.
|
ZonedDateTime |
getDateCreated()
Returns The ISO 8601 date and time in GMT when the resource was created.
|
ZonedDateTime |
getDateUpdated()
Returns The ISO 8601 date and time in GMT when the resource was last updated.
|
String |
getFleetSid()
Returns The unique ID of the Fleet configured for this SIM.
|
String |
getIccid()
Returns The ICCID associated with the SIM.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
Sim.Status |
getStatus()
Returns The status of the Super SIM.
|
String |
getUniqueName()
Returns An application-defined string that uniquely identifies the resource.
|
URI |
getUrl()
Returns The absolute URL of the Sim Resource.
|
int |
hashCode() |
static SimReader |
reader()
Create a SimReader to execute read.
|
static SimUpdater |
updater(String pathSid)
Create a SimUpdater to execute update.
|
public static SimFetcher fetcher(String pathSid)
pathSid
- The SID that identifies the resource to fetchpublic static SimUpdater updater(String pathSid)
pathSid
- The SID that identifies the resource to updatepublic static SimReader reader()
public static Sim fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Sim fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getUniqueName()
public final String getAccountSid()
public final String getIccid()
public final Sim.Status getStatus()
public final String getFleetSid()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.