Package com.twilio.rest.supersim.v1
Class EsimProfile
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.supersim.v1.EsimProfile
-
- All Implemented Interfaces:
Serializable
public class EsimProfile extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEsimProfile.Status
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EsimProfileCreatorcreator()booleanequals(Object o)static EsimProfileFetcherfetcher(String pathSid)static EsimProfilefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a EsimProfile object using the provided ObjectMapper.static EsimProfilefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a EsimProfile object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetEid()StringgetErrorCode()StringgetErrorMessage()StringgetIccid()StringgetSid()StringgetSimSid()URIgetSmdpPlusAddress()EsimProfile.StatusgetStatus()URIgetUrl()inthashCode()static EsimProfileReaderreader()
-
-
-
Method Detail
-
creator
public static EsimProfileCreator creator()
-
fetcher
public static EsimProfileFetcher fetcher(String pathSid)
-
reader
public static EsimProfileReader reader()
-
fromJson
public static EsimProfile fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a EsimProfile object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- EsimProfile object represented by the provided JSON
-
fromJson
public static EsimProfile fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a EsimProfile object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- EsimProfile object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getIccid
public final String getIccid()
-
getSimSid
public final String getSimSid()
-
getStatus
public final EsimProfile.Status getStatus()
-
getEid
public final String getEid()
-
getSmdpPlusAddress
public final URI getSmdpPlusAddress()
-
getErrorCode
public final String getErrorCode()
-
getErrorMessage
public final String getErrorMessage()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-