DeviceRequest

@Serializable
data class DeviceRequest(val driver: String? = null, val count: Int? = null, val deviceIDs: List<String>? = null, val capabilities: List<List<String>>? = null, val options: Map<String, String>? = null)

A request for devices to be sent to device drivers

Parameters

driver
count
deviceIDs
capabilities

A list of capabilities; an OR list of AND lists of capabilities.

options

Driver-specific options, specified as a key/value pairs. These options are passed directly to the driver.

Constructors

Link copied to clipboard
constructor(driver: String? = null, count: Int? = null, deviceIDs: List<String>? = null, capabilities: List<List<String>>? = null, options: Map<String, String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "Capabilities")
val capabilities: List<List<String>>?
Link copied to clipboard
@SerialName(value = "Count")
val count: Int?
Link copied to clipboard
@SerialName(value = "DeviceIDs")
val deviceIDs: List<String>?
Link copied to clipboard
@SerialName(value = "Driver")
val driver: String?
Link copied to clipboard
@SerialName(value = "Options")
val options: Map<String, String>?