Node

@Serializable
data class Node(val ID: String? = null, val version: ObjectVersion? = null, val createdAt: String? = null, val updatedAt: String? = null, val spec: NodeSpec? = null, val description: NodeDescription? = null, val status: NodeStatus? = null, val managerStatus: ManagerStatus? = null)

Parameters

ID
version
createdAt

Date and time at which the node was added to the swarm in RFC 3339 format with nano-seconds.

updatedAt

Date and time at which the node was last updated in RFC 3339 format with nano-seconds.

spec
description
status
managerStatus

Constructors

Link copied to clipboard
constructor(ID: String? = null, version: ObjectVersion? = null, createdAt: String? = null, updatedAt: String? = null, spec: NodeSpec? = null, description: NodeDescription? = null, status: NodeStatus? = null, managerStatus: ManagerStatus? = null)

Properties

Link copied to clipboard
@SerialName(value = "CreatedAt")
val createdAt: String?
Link copied to clipboard
@SerialName(value = "Description")
val description: NodeDescription?
Link copied to clipboard
@SerialName(value = "ID")
val ID: String?
Link copied to clipboard
@SerialName(value = "ManagerStatus")
val managerStatus: ManagerStatus?
Link copied to clipboard
@SerialName(value = "Spec")
val spec: NodeSpec?
Link copied to clipboard
@SerialName(value = "Status")
val status: NodeStatus?
Link copied to clipboard
@SerialName(value = "UpdatedAt")
val updatedAt: String?
Link copied to clipboard
@SerialName(value = "Version")
val version: ObjectVersion?