Class Certificate
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.preview.deployedDevices.fleet.Certificate
-
- All Implemented Interfaces:
Serializable
public class Certificate extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateCreatorcreator(String pathFleetSid, String certificateData)static CertificateDeleterdeleter(String pathFleetSid, String pathSid)booleanequals(Object o)static CertificateFetcherfetcher(String pathFleetSid, String pathSid)static CertificatefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Certificate object using the provided ObjectMapper.static CertificatefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Certificate object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetDeviceSid()StringgetFleetSid()StringgetFriendlyName()StringgetSid()StringgetThumbprint()URIgetUrl()inthashCode()static CertificateReaderreader(String pathFleetSid)static CertificateUpdaterupdater(String pathFleetSid, String pathSid)
-
-
-
Method Detail
-
creator
public static CertificateCreator creator(String pathFleetSid, String certificateData)
-
fetcher
public static CertificateFetcher fetcher(String pathFleetSid, String pathSid)
-
deleter
public static CertificateDeleter deleter(String pathFleetSid, String pathSid)
-
reader
public static CertificateReader reader(String pathFleetSid)
-
updater
public static CertificateUpdater updater(String pathFleetSid, String pathSid)
-
fromJson
public static Certificate fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Certificate object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Certificate object represented by the provided JSON
-
fromJson
public static Certificate fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Certificate object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Certificate object represented by the provided JSON
-
getSid
public final String getSid()
-
getUrl
public final URI getUrl()
-
getFriendlyName
public final String getFriendlyName()
-
getFleetSid
public final String getFleetSid()
-
getAccountSid
public final String getAccountSid()
-
getDeviceSid
public final String getDeviceSid()
-
getThumbprint
public final String getThumbprint()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
-