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

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

There is a newer version: 2024-11-28T22-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 The network's name.
 * @param checkDuplicate Deprecated: CheckDuplicate is now always enabled.
 * @param driver Name of the network driver plugin to use.
 * @param `internal` Restrict external access to the network.
 * @param attachable Globally scoped network is manually attachable by regular containers from workers in swarm mode.
 * @param ingress Ingress network is the network which provides the routing-mesh in swarm mode.
 * @param IPAM
 * @param enableIPv6 Enable IPv6 on the network.
 * @param options Network specific options to be used by the drivers.
 * @param labels User-defined key/value metadata.
 */
@JsonClass(generateAdapter = true)
data class NetworkCreateRequest(
    // The network's name.
    @Json(name = "Name")
    var name: kotlin.String,
    // Deprecated: CheckDuplicate is now always enabled.
    @Json(name = "CheckDuplicate")
    var checkDuplicate: kotlin.Boolean? = null,
    // Name of the network driver plugin to use.
    @Json(name = "Driver")
    var driver: kotlin.String? = "bridge",
    // Restrict external access to the network.
    @Json(name = "Internal")
    var `internal`: kotlin.Boolean? = null,
    // Globally scoped network is manually attachable by regular containers from workers in swarm mode.
    @Json(name = "Attachable")
    var attachable: kotlin.Boolean? = null,
    // Ingress network is the network which provides the routing-mesh in swarm mode.
    @Json(name = "Ingress")
    var ingress: kotlin.Boolean? = null,
    @Json(name = "IPAM")
    var IPAM: IPAM? = null,
    // Enable IPv6 on the network.
    @Json(name = "EnableIPv6")
    var enableIPv6: kotlin.Boolean? = null,
    // Network specific options to be used by the drivers.
    @Json(name = "Options")
    var options: kotlin.collections.MutableMap? = null,
    // User-defined key/value metadata.
    @Json(name = "Labels")
    var labels: kotlin.collections.MutableMap? = null,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy