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 boolean
equals(Object o)
static DeviceFetcher
fetcher(String pathSid)
static Device
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Device object using the provided ObjectMapper.static Device
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Device object using the provided ObjectMapper.String
getAccountSid()
Map<String,Object>
getApp()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
Map<String,String>
getLinks()
Map<String,Object>
getLogging()
String
getSid()
String
getUniqueName()
URI
getUrl()
int
hashCode()
static DeviceReader
reader()
static DeviceUpdater
updater(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()
-
-