de.gesellix.docker.remote.api.Node.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
/**
*
*
* @param ID
* @param version
* @param createdAt Date and time at which the node was added to the swarm in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
* @param updatedAt Date and time at which the node was last updated in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
* @param spec
* @param description
* @param status
* @param managerStatus
*/
@JsonClass(generateAdapter = true)
data class Node(
@Json(name = "ID")
var ID: kotlin.String? = null,
@Json(name = "Version")
var version: ObjectVersion? = null,
// Date and time at which the node was added to the swarm in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
@Json(name = "CreatedAt")
var createdAt: kotlin.String? = null,
// Date and time at which the node was last updated in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
@Json(name = "UpdatedAt")
var updatedAt: kotlin.String? = null,
@Json(name = "Spec")
var spec: NodeSpec? = null,
@Json(name = "Description")
var description: NodeDescription? = null,
@Json(name = "Status")
var status: NodeStatus? = null,
@Json(name = "ManagerStatus")
var managerStatus: ManagerStatus? = null,
)