Package com.twilio.rest.microvisor.v1
Class Device
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.microvisor.v1.Device
-
- All Implemented Interfaces:
Serializable
public class Device extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static DeviceFetcherfetcher(String pathSid)static DevicefromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Device object using the provided ObjectMapper.static DevicefromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Device object using the provided ObjectMapper.StringgetAccountSid()Map<String,Object>getApp()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()Map<String,String>getLinks()Map<String,Object>getLogging()StringgetSid()StringgetUniqueName()URIgetUrl()inthashCode()static DeviceReaderreader()static DeviceUpdaterupdater(String pathSid)
-
-
-
Method Detail
-
fetcher
public static DeviceFetcher fetcher(String pathSid)
-
reader
public static DeviceReader reader()
-
updater
public static DeviceUpdater updater(String pathSid)
-
fromJson
public static Device fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Device object using the provided ObjectMapper.- Parameters:
json- Raw JSON StringobjectMapper- Jackson ObjectMapper- Returns:
- Device object represented by the provided JSON
-
fromJson
public static Device fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Device object using the provided ObjectMapper.- Parameters:
json- Raw JSON InputStreamobjectMapper- Jackson ObjectMapper- Returns:
- Device object represented by the provided JSON
-
getSid
public final String getSid()
-
getUniqueName
public final String getUniqueName()
-
getAccountSid
public final String getAccountSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-