de.gesellix.docker.remote.api.ServiceSpec.kt Maven / Gradle / Ivy
/**
*
* 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 configuration for a service.
*
* @param name Name of the service.
* @param labels User-defined key/value metadata.
* @param taskTemplate
* @param mode
* @param updateConfig
* @param rollbackConfig
* @param networks Specifies which networks the service should attach to.
* @param endpointSpec
*/
@JsonClass(generateAdapter = true)
data class ServiceSpec(
/* Name of the service. */
@Json(name = "Name")
var name: kotlin.String? = null,
/* User-defined key/value metadata. */
@Json(name = "Labels")
var labels: kotlin.collections.MutableMap? = null,
@Json(name = "TaskTemplate")
var taskTemplate: TaskSpec? = null,
@Json(name = "Mode")
var mode: ServiceSpecMode? = null,
@Json(name = "UpdateConfig")
var updateConfig: ServiceSpecUpdateConfig? = null,
@Json(name = "RollbackConfig")
var rollbackConfig: ServiceSpecRollbackConfig? = null,
/* Specifies which networks the service should attach to. */
@Json(name = "Networks")
var networks: kotlin.collections.MutableList? = null,
@Json(name = "EndpointSpec")
var endpointSpec: EndpointSpec? = null
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy