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

de.gesellix.docker.remote.api.SwarmSpec.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

/**
 * User modifiable swarm configuration.
 *
 * @param name Name of the swarm.
 * @param labels User-defined key/value metadata.
 * @param orchestration
 * @param raft
 * @param dispatcher
 * @param caConfig
 * @param encryptionConfig
 * @param taskDefaults
 */
@JsonClass(generateAdapter = true)
data class SwarmSpec(
    // Name of the swarm.
    @Json(name = "Name")
    var name: kotlin.String? = null,
    // User-defined key/value metadata.
    @Json(name = "Labels")
    var labels: kotlin.collections.MutableMap? = null,
    @Json(name = "Orchestration")
    var orchestration: SwarmSpecOrchestration? = null,
    @Json(name = "Raft")
    var raft: SwarmSpecRaft? = null,
    @Json(name = "Dispatcher")
    var dispatcher: SwarmSpecDispatcher? = null,
    @Json(name = "CAConfig")
    var caConfig: SwarmSpecCAConfig? = null,
    @Json(name = "EncryptionConfig")
    var encryptionConfig: SwarmSpecEncryptionConfig? = null,
    @Json(name = "TaskDefaults")
    var taskDefaults: SwarmSpecTaskDefaults? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy