Class DeviceConfig
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.microvisor.v1.device.DeviceConfig
-
- All Implemented Interfaces:
Serializable
public class DeviceConfig extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceConfigCreator
creator(String pathDeviceSid, String key, String value)
static DeviceConfigDeleter
deleter(String pathDeviceSid, String pathKey)
boolean
equals(Object o)
static DeviceConfigFetcher
fetcher(String pathDeviceSid, String pathKey)
static DeviceConfig
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a DeviceConfig object using the provided ObjectMapper.static DeviceConfig
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a DeviceConfig object using the provided ObjectMapper.ZonedDateTime
getDateUpdated()
String
getDeviceSid()
String
getKey()
URI
getUrl()
String
getValue()
int
hashCode()
static DeviceConfigReader
reader(String pathDeviceSid)
static DeviceConfigUpdater
updater(String pathDeviceSid, String pathKey, String value)
-
-
-
Method Detail
-
creator
public static DeviceConfigCreator creator(String pathDeviceSid, String key, String value)
-
deleter
public static DeviceConfigDeleter deleter(String pathDeviceSid, String pathKey)
-
fetcher
public static DeviceConfigFetcher fetcher(String pathDeviceSid, String pathKey)
-
reader
public static DeviceConfigReader reader(String pathDeviceSid)
-
updater
public static DeviceConfigUpdater updater(String pathDeviceSid, String pathKey, String value)
-
fromJson
public static DeviceConfig fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a DeviceConfig object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- DeviceConfig object represented by the provided JSON
-
fromJson
public static DeviceConfig fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a DeviceConfig object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- DeviceConfig object represented by the provided JSON
-
getDeviceSid
public final String getDeviceSid()
-
getKey
public final String getKey()
-
getValue
public final String getValue()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-