public class Sim extends Resource
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 account_sid.
|
String |
getCommandsCallbackMethod()
Returns The commands_callback_method.
|
URI |
getCommandsCallbackUrl()
Returns The commands_callback_url.
|
ZonedDateTime |
getDateCreated()
Returns The date_created.
|
ZonedDateTime |
getDateUpdated()
Returns The date_updated.
|
String |
getEId()
Returns The e_id.
|
String |
getFriendlyName()
Returns The friendly_name.
|
String |
getIccid()
Returns The iccid.
|
Map<String,String> |
getLinks()
Returns The links.
|
String |
getRatePlanSid()
Returns The rate_plan_sid.
|
String |
getSid()
Returns The sid.
|
HttpMethod |
getSmsFallbackMethod()
Returns The sms_fallback_method.
|
URI |
getSmsFallbackUrl()
Returns The sms_fallback_url.
|
HttpMethod |
getSmsMethod()
Returns The sms_method.
|
URI |
getSmsUrl()
Returns The sms_url.
|
String |
getStatus()
Returns The status.
|
String |
getUniqueName()
Returns The unique_name.
|
URI |
getUrl()
Returns The url.
|
HttpMethod |
getVoiceFallbackMethod()
Returns The voice_fallback_method.
|
URI |
getVoiceFallbackUrl()
Returns The voice_fallback_url.
|
HttpMethod |
getVoiceMethod()
Returns The voice_method.
|
URI |
getVoiceUrl()
Returns The voice_url.
|
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 sidpublic static SimReader reader()
public static SimUpdater updater(String pathSid)
pathSid
- The sidpublic 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 getRatePlanSid()
public final String getFriendlyName()
public final String getIccid()
public final String getEId()
public final String getStatus()
public final URI getCommandsCallbackUrl()
public final String getCommandsCallbackMethod()
public final HttpMethod getSmsFallbackMethod()
public final URI getSmsFallbackUrl()
public final HttpMethod getSmsMethod()
public final URI getSmsUrl()
public final HttpMethod getVoiceFallbackMethod()
public final URI getVoiceFallbackUrl()
public final HttpMethod getVoiceMethod()
public final URI getVoiceUrl()
public final ZonedDateTime getDateCreated()
public final ZonedDateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.