All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.gesellix.docker.remote.api.Swarm.kt Maven / Gradle / Ivy

There is a newer version: 2024-09-15T19-05-00
Show newest version
/**
 *
 * 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 The ID of the swarm.
 * @param version
 * @param createdAt Date and time at which the swarm was initialised in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
 * @param updatedAt Date and time at which the swarm was last updated in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
 * @param spec
 * @param tlSInfo
 * @param rootRotationInProgress Whether there is currently a root CA rotation in progress for the swarm
 * @param dataPathPort DataPathPort specifies the data path port number for data traffic. Acceptable port range is 1024 to 49151. If no port is set or is set to 0, the default port (4789) is used.
 * @param defaultAddrPool Default Address Pool specifies default subnet pools for global scope networks.
 * @param subnetSize SubnetSize specifies the subnet size of the networks created from the default subnet pool.
 * @param joinTokens
 */
@JsonClass(generateAdapter = true)
data class Swarm(
    // The ID of the swarm.
    @Json(name = "ID")
    var ID: kotlin.String? = null,
    @Json(name = "Version")
    var version: ObjectVersion? = null,
    // Date and time at which the swarm was initialised 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 swarm 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: SwarmSpec? = null,
    @Json(name = "TLSInfo")
    var tlSInfo: TLSInfo? = null,
    // Whether there is currently a root CA rotation in progress for the swarm
    @Json(name = "RootRotationInProgress")
    var rootRotationInProgress: kotlin.Boolean? = null,
    // DataPathPort specifies the data path port number for data traffic. Acceptable port range is 1024 to 49151. If no port is set or is set to 0, the default port (4789) is used.
    @Json(name = "DataPathPort")
    var dataPathPort: kotlin.Int? = null,
    // Default Address Pool specifies default subnet pools for global scope networks.
    @Json(name = "DefaultAddrPool")
    var defaultAddrPool: kotlin.collections.MutableList? = null,
    // SubnetSize specifies the subnet size of the networks created from the default subnet pool.
    @Json(name = "SubnetSize")
    var subnetSize: kotlin.Int? = null,
    @Json(name = "JoinTokens")
    var joinTokens: JoinTokens? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy