de.gesellix.docker.remote.api.DeviceRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-remote-api-model-1-45 Show documentation
Show all versions of docker-remote-api-model-1-45 Show documentation
API model for the Docker remote api v1.45
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport",
)
package de.gesellix.docker.remote.api
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* A request for devices to be sent to device drivers
*
* @param driver
* @param count
* @param deviceIDs
* @param capabilities A list of capabilities; an OR list of AND lists of capabilities.
* @param options Driver-specific options, specified as a key/value pairs. These options are passed directly to the driver.
*/
@JsonClass(generateAdapter = true)
data class DeviceRequest(
@Json(name = "Driver")
var driver: kotlin.String? = null,
@Json(name = "Count")
var count: kotlin.Int? = null,
@Json(name = "DeviceIDs")
var deviceIDs: kotlin.collections.MutableList? = null,
// A list of capabilities; an OR list of AND lists of capabilities.
@Json(name = "Capabilities")
var capabilities: kotlin.collections.MutableList>? = null,
// Driver-specific options, specified as a key/value pairs. These options are passed directly to the driver.
@Json(name = "Options")
var options: kotlin.collections.MutableMap? = null,
)