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

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

/**
 *
 *
 * @param name The network's name.
 * @param checkDuplicate Check for networks with duplicate names. Since Network is primarily keyed based on a random ID and not on the name, and network name is strictly a user-friendly alias to the network which is uniquely identified using ID, there is no guaranteed way to check for duplicates. CheckDuplicate is there to provide a best effort checking of any networks which has the same name but it is not guaranteed to catch all name collisions.
 * @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,

  /* Check for networks with duplicate names. Since Network is primarily keyed based on a random ID and not on the name, and network name is strictly a user-friendly alias to the network which is uniquely identified using ID, there is no guaranteed way to check for duplicates. CheckDuplicate is there to provide a best effort checking of any networks which has the same name but it is not guaranteed to catch all name collisions.  */
  @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