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

de.gesellix.docker.remote.api.ServiceCreateRequest.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 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.  Deprecated: This field is deprecated since v1.44. The Networks field in TaskSpec should be used instead.
 * @param endpointSpec
 */
@JsonClass(generateAdapter = true)
data class ServiceCreateRequest(
    // 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.  Deprecated: This field is deprecated since v1.44. The Networks field in TaskSpec should be used instead.
    @Json(name = "Networks")
    var networks: kotlin.collections.MutableList? = null,
    @Json(name = "EndpointSpec")
    var endpointSpec: EndpointSpec? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy