Package com.twilio.rest.preview.wireless
Class Sim
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.wireless.Sim
-
- All Implemented Interfaces:
Serializable
public class Sim extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
-
-
-
Method Detail
-
fetcher
public static SimFetcher fetcher(String pathSid)
-
reader
public static SimReader reader()
-
updater
public static SimUpdater updater(String pathSid)
-
fromJson
public static Sim fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Sim object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Sim object represented by the provided JSON
-
fromJson
public static Sim fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Sim object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Sim object represented by the provided JSON
-
getSid
public final String getSid()
-
getUniqueName
public final String getUniqueName()
-
getAccountSid
public final String getAccountSid()
-
getRatePlanSid
public final String getRatePlanSid()
-
getFriendlyName
public final String getFriendlyName()
-
getIccid
public final String getIccid()
-
getEId
public final String getEId()
-
getStatus
public final String getStatus()
-
getCommandsCallbackUrl
public final URI getCommandsCallbackUrl()
-
getCommandsCallbackMethod
public final String getCommandsCallbackMethod()
-
getSmsFallbackMethod
public final HttpMethod getSmsFallbackMethod()
-
getSmsFallbackUrl
public final URI getSmsFallbackUrl()
-
getSmsMethod
public final HttpMethod getSmsMethod()
-
getSmsUrl
public final URI getSmsUrl()
-
getVoiceFallbackMethod
public final HttpMethod getVoiceFallbackMethod()
-
getVoiceFallbackUrl
public final URI getVoiceFallbackUrl()
-
getVoiceMethod
public final HttpMethod getVoiceMethod()
-
getVoiceUrl
public final URI getVoiceUrl()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-