diff --git a/api-model-v1-41/.openapi-generator/VERSION b/api-model-v1-41/.openapi-generator/VERSION
index 7cbea073..1e20ec35 100644
--- a/api-model-v1-41/.openapi-generator/VERSION
+++ b/api-model-v1-41/.openapi-generator/VERSION
@@ -1 +1 @@
-5.2.0
\ No newline at end of file
+5.4.0
\ No newline at end of file
diff --git a/api-model-v1-41/docs/BuildCache.md b/api-model-v1-41/docs/BuildCache.md
index 2d4281b6..ec03cd7e 100644
--- a/api-model-v1-41/docs/BuildCache.md
+++ b/api-model-v1-41/docs/BuildCache.md
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
**description** | **kotlin.String** | | [optional]
**inUse** | **kotlin.Boolean** | | [optional]
**shared** | **kotlin.Boolean** | | [optional]
-**size** | **kotlin.Int** | Amount of disk space used by the build cache (in bytes). | [optional]
+**propertySize** | **kotlin.Int** | Amount of disk space used by the build cache (in bytes). | [optional]
**createdAt** | **kotlin.String** | Date and time at which the build cache was created in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. | [optional]
**lastUsedAt** | **kotlin.String** | Date and time at which the build cache was last used in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. | [optional]
**usageCount** | **kotlin.Int** | | [optional]
diff --git a/api-model-v1-41/docs/BuildPruneResponse.md b/api-model-v1-41/docs/BuildPruneResponse.md
index 574fe37b..34efd422 100644
--- a/api-model-v1-41/docs/BuildPruneResponse.md
+++ b/api-model-v1-41/docs/BuildPruneResponse.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**cachesDeleted** | **kotlin.collections.List<kotlin.String>** | | [optional]
+**cachesDeleted** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
**spaceReclaimed** | **kotlin.Long** | Disk space reclaimed in bytes | [optional]
diff --git a/api-model-v1-41/docs/ClusterInfo.md b/api-model-v1-41/docs/ClusterInfo.md
index db76e932..1f70cac7 100644
--- a/api-model-v1-41/docs/ClusterInfo.md
+++ b/api-model-v1-41/docs/ClusterInfo.md
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
**tlSInfo** | [**TLSInfo**](TLSInfo.md) | | [optional]
**rootRotationInProgress** | **kotlin.Boolean** | Whether there is currently a root CA rotation in progress for the swarm | [optional]
**dataPathPort** | **kotlin.Int** | DataPathPort specifies the data path port number for data traffic. Acceptable port range is 1024 to 49151. If no port is set or is set to 0, the default port (4789) is used. | [optional]
-**defaultAddrPool** | **kotlin.collections.List<kotlin.String>** | Default Address Pool specifies default subnet pools for global scope networks. | [optional]
+**defaultAddrPool** | **kotlin.collections.MutableList<kotlin.String>** | Default Address Pool specifies default subnet pools for global scope networks. | [optional]
**subnetSize** | **kotlin.Int** | SubnetSize specifies the subnet size of the networks created from the default subnet pool. | [optional]
diff --git a/api-model-v1-41/docs/ConfigSpec.md b/api-model-v1-41/docs/ConfigSpec.md
index 24e9fed2..2def499f 100644
--- a/api-model-v1-41/docs/ConfigSpec.md
+++ b/api-model-v1-41/docs/ConfigSpec.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | User-defined name of the config. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
-**data** | **kotlin.String** | Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) config data. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**`data`** | **kotlin.String** | Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) config data. | [optional]
**templating** | [**Driver**](Driver.md) | | [optional]
diff --git a/api-model-v1-41/docs/ContainerConfig.md b/api-model-v1-41/docs/ContainerConfig.md
index e3429493..2f902beb 100644
--- a/api-model-v1-41/docs/ContainerConfig.md
+++ b/api-model-v1-41/docs/ContainerConfig.md
@@ -10,25 +10,25 @@ Name | Type | Description | Notes
**attachStdin** | **kotlin.Boolean** | Whether to attach to `stdin`. | [optional]
**attachStdout** | **kotlin.Boolean** | Whether to attach to `stdout`. | [optional]
**attachStderr** | **kotlin.Boolean** | Whether to attach to `stderr`. | [optional]
-**exposedPorts** | [**kotlin.collections.Map<kotlin.String, kotlin.Any>**](kotlin.Any.md) | An object mapping ports to an empty object in the form: `{\"<port>/<tcp|udp|sctp>\": {}}` | [optional]
+**exposedPorts** | [**kotlin.collections.MutableMap<kotlin.String, kotlin.Any>**](kotlin.Any.md) | An object mapping ports to an empty object in the form: `{\"<port>/<tcp|udp|sctp>\": {}}` | [optional]
**tty** | **kotlin.Boolean** | Attach standard streams to a TTY, including `stdin` if it is not closed. | [optional]
**openStdin** | **kotlin.Boolean** | Open `stdin` | [optional]
**stdinOnce** | **kotlin.Boolean** | Close `stdin` after one attached client disconnects | [optional]
-**env** | **kotlin.collections.List<kotlin.String>** | A list of environment variables to set inside the container in the form `[\"VAR=value\", ...]`. A variable without `=` is removed from the environment, rather than to have an empty value. | [optional]
-**cmd** | **kotlin.collections.List<kotlin.String>** | Command to run specified as a string or an array of strings. | [optional]
+**env** | **kotlin.collections.MutableList<kotlin.String>** | A list of environment variables to set inside the container in the form `[\"VAR=value\", ...]`. A variable without `=` is removed from the environment, rather than to have an empty value. | [optional]
+**cmd** | **kotlin.collections.MutableList<kotlin.String>** | Command to run specified as a string or an array of strings. | [optional]
**healthcheck** | [**HealthConfig**](HealthConfig.md) | | [optional]
**argsEscaped** | **kotlin.Boolean** | Command is already escaped (Windows only) | [optional]
**image** | **kotlin.String** | The name of the image to use when creating the container/ | [optional]
-**volumes** | [**kotlin.collections.Map<kotlin.String, kotlin.Any>**](kotlin.Any.md) | An object mapping mount point paths inside the container to empty objects. | [optional]
+**volumes** | [**kotlin.collections.MutableMap<kotlin.String, kotlin.Any>**](kotlin.Any.md) | An object mapping mount point paths inside the container to empty objects. | [optional]
**workingDir** | **kotlin.String** | The working directory for commands to run in. | [optional]
-**entrypoint** | **kotlin.collections.List<kotlin.String>** | The entry point for the container as a string or an array of strings. If the array consists of exactly one empty string (`[\"\"]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`). | [optional]
+**entrypoint** | **kotlin.collections.MutableList<kotlin.String>** | The entry point for the container as a string or an array of strings. If the array consists of exactly one empty string (`[\"\"]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`). | [optional]
**networkDisabled** | **kotlin.Boolean** | Disable networking for the container. | [optional]
**macAddress** | **kotlin.String** | MAC address of the container. | [optional]
-**onBuild** | **kotlin.collections.List<kotlin.String>** | `ONBUILD` metadata that were defined in the image's `Dockerfile`. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**onBuild** | **kotlin.collections.MutableList<kotlin.String>** | `ONBUILD` metadata that were defined in the image's `Dockerfile`. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
**stopSignal** | **kotlin.String** | Signal to stop a container as a string or unsigned integer. | [optional]
**stopTimeout** | **kotlin.Int** | Timeout to stop a container in seconds. | [optional]
-**shell** | **kotlin.collections.List<kotlin.String>** | Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell. | [optional]
+**shell** | **kotlin.collections.MutableList<kotlin.String>** | Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell. | [optional]
diff --git a/api-model-v1-41/docs/ContainerCreateResponse.md b/api-model-v1-41/docs/ContainerCreateResponse.md
index e76efa84..bc1c1779 100644
--- a/api-model-v1-41/docs/ContainerCreateResponse.md
+++ b/api-model-v1-41/docs/ContainerCreateResponse.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **kotlin.String** | The ID of the created container |
-**warnings** | **kotlin.collections.List<kotlin.String>** | Warnings encountered when creating the container |
+**warnings** | **kotlin.collections.MutableList<kotlin.String>** | Warnings encountered when creating the container |
diff --git a/api-model-v1-41/docs/ContainerInspectResponse.md b/api-model-v1-41/docs/ContainerInspectResponse.md
index ec562191..69344bc7 100644
--- a/api-model-v1-41/docs/ContainerInspectResponse.md
+++ b/api-model-v1-41/docs/ContainerInspectResponse.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**id** | **kotlin.String** | The ID of the container | [optional]
**created** | **kotlin.String** | The time the container was created | [optional]
**path** | **kotlin.String** | The path to the command being run | [optional]
-**args** | **kotlin.collections.List<kotlin.String>** | The arguments to the command being run | [optional]
+**args** | **kotlin.collections.MutableList<kotlin.String>** | The arguments to the command being run | [optional]
**state** | [**ContainerState**](ContainerState.md) | | [optional]
**image** | **kotlin.String** | The container's image ID | [optional]
**resolvConfPath** | **kotlin.String** | | [optional]
@@ -21,12 +21,12 @@ Name | Type | Description | Notes
**mountLabel** | **kotlin.String** | | [optional]
**processLabel** | **kotlin.String** | | [optional]
**appArmorProfile** | **kotlin.String** | | [optional]
-**execIDs** | **kotlin.collections.List<kotlin.String>** | IDs of exec instances that are running in the container. | [optional]
+**execIDs** | **kotlin.collections.MutableList<kotlin.String>** | IDs of exec instances that are running in the container. | [optional]
**hostConfig** | [**HostConfig**](HostConfig.md) | | [optional]
**graphDriver** | [**GraphDriverData**](GraphDriverData.md) | | [optional]
**sizeRw** | **kotlin.Long** | The size of files that have been created or changed by this container. | [optional]
**sizeRootFs** | **kotlin.Long** | The total size of all the files in this container. | [optional]
-**mounts** | [**kotlin.collections.List<MountPoint>**](MountPoint.md) | | [optional]
+**mounts** | [**kotlin.collections.MutableList<MountPoint>**](MountPoint.md) | | [optional]
**config** | [**ContainerConfig**](ContainerConfig.md) | | [optional]
**networkSettings** | [**NetworkSettings**](NetworkSettings.md) | | [optional]
diff --git a/api-model-v1-41/docs/ContainerPruneResponse.md b/api-model-v1-41/docs/ContainerPruneResponse.md
index cabfc62d..6b259d16 100644
--- a/api-model-v1-41/docs/ContainerPruneResponse.md
+++ b/api-model-v1-41/docs/ContainerPruneResponse.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**containersDeleted** | **kotlin.collections.List<kotlin.String>** | Container IDs that were deleted | [optional]
+**containersDeleted** | **kotlin.collections.MutableList<kotlin.String>** | Container IDs that were deleted | [optional]
**spaceReclaimed** | **kotlin.Long** | Disk space reclaimed in bytes | [optional]
diff --git a/api-model-v1-41/docs/ContainerState.md b/api-model-v1-41/docs/ContainerState.md
index 391f5a31..77c1be69 100644
--- a/api-model-v1-41/docs/ContainerState.md
+++ b/api-model-v1-41/docs/ContainerState.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**status** | [**inline**](#StatusEnum) | String representation of the container state. Can be one of \"created\", \"running\", \"paused\", \"restarting\", \"removing\", \"exited\", or \"dead\". | [optional]
+**status** | [**inline**](#Status) | String representation of the container state. Can be one of \"created\", \"running\", \"paused\", \"restarting\", \"removing\", \"exited\", or \"dead\". | [optional]
**running** | **kotlin.Boolean** | Whether this container is running. Note that a running container can be _paused_. The `Running` and `Paused` booleans are not mutually exclusive: When pausing a container (on Linux), the freezer cgroup is used to suspend all processes in the container. Freezing the process requires the process to be running. As a result, paused containers are both `Running` _and_ `Paused`. Use the `Status` field instead to determine if a container's state is \"running\". | [optional]
**paused** | **kotlin.Boolean** | Whether this container is paused. | [optional]
**restarting** | **kotlin.Boolean** | Whether this container is restarting. | [optional]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
**health** | [**Health**](Health.md) | | [optional]
-
+
## Enum: Status
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/ContainerSummary.md b/api-model-v1-41/docs/ContainerSummary.md
index 29c72c4b..3f885bc7 100644
--- a/api-model-v1-41/docs/ContainerSummary.md
+++ b/api-model-v1-41/docs/ContainerSummary.md
@@ -5,20 +5,20 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **kotlin.String** | The ID of this container | [optional]
-**names** | **kotlin.collections.List<kotlin.String>** | The names that this container has been given | [optional]
+**names** | **kotlin.collections.MutableList<kotlin.String>** | The names that this container has been given | [optional]
**image** | **kotlin.String** | The name of the image used when creating this container | [optional]
**imageID** | **kotlin.String** | The ID of the image that this container was created from | [optional]
**command** | **kotlin.String** | Command to run when starting the container | [optional]
**created** | **kotlin.Long** | When the container was created | [optional]
-**ports** | [**kotlin.collections.List<Port>**](Port.md) | The ports exposed by this container | [optional]
+**ports** | [**kotlin.collections.MutableList<Port>**](Port.md) | The ports exposed by this container | [optional]
**sizeRw** | **kotlin.Long** | The size of files that have been created or changed by this container | [optional]
**sizeRootFs** | **kotlin.Long** | The total size of all the files in this container | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
**state** | **kotlin.String** | The state of this container (e.g. `Exited`) | [optional]
**status** | **kotlin.String** | Additional human-readable status of this container (e.g. `Exit 0`) | [optional]
**hostConfig** | [**ContainerSummaryHostConfig**](ContainerSummaryHostConfig.md) | | [optional]
**networkSettings** | [**ContainerSummaryNetworkSettings**](ContainerSummaryNetworkSettings.md) | | [optional]
-**mounts** | [**kotlin.collections.List<Mount>**](Mount.md) | | [optional]
+**mounts** | [**kotlin.collections.MutableList<Mount>**](Mount.md) | | [optional]
diff --git a/api-model-v1-41/docs/ContainerSummaryNetworkSettings.md b/api-model-v1-41/docs/ContainerSummaryNetworkSettings.md
index 0daa70bc..acb7fec6 100644
--- a/api-model-v1-41/docs/ContainerSummaryNetworkSettings.md
+++ b/api-model-v1-41/docs/ContainerSummaryNetworkSettings.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**networks** | [**kotlin.collections.Map<kotlin.String, EndpointSettings>**](EndpointSettings.md) | | [optional]
+**networks** | [**kotlin.collections.MutableMap<kotlin.String, EndpointSettings>**](EndpointSettings.md) | | [optional]
diff --git a/api-model-v1-41/docs/ContainerTopResponse.md b/api-model-v1-41/docs/ContainerTopResponse.md
index b3b22f9a..ef42e8be 100644
--- a/api-model-v1-41/docs/ContainerTopResponse.md
+++ b/api-model-v1-41/docs/ContainerTopResponse.md
@@ -4,8 +4,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**titles** | **kotlin.collections.List<kotlin.String>** | The ps column titles | [optional]
-**processes** | **kotlin.collections.List<kotlin.collections.List<kotlin.String>>** | Each process running in the container, where each is process is an array of values corresponding to the titles. | [optional]
+**titles** | **kotlin.collections.MutableList<kotlin.String>** | The ps column titles | [optional]
+**processes** | **kotlin.collections.MutableList<kotlin.collections.MutableList<kotlin.String>>** | Each process running in the container, where each is process is an array of values corresponding to the titles. | [optional]
diff --git a/api-model-v1-41/docs/ContainerUpdateResponse.md b/api-model-v1-41/docs/ContainerUpdateResponse.md
index 4d078bbe..067f8a6f 100644
--- a/api-model-v1-41/docs/ContainerUpdateResponse.md
+++ b/api-model-v1-41/docs/ContainerUpdateResponse.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**warnings** | **kotlin.collections.List<kotlin.String>** | | [optional]
+**warnings** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
diff --git a/api-model-v1-41/docs/DeviceRequest.md b/api-model-v1-41/docs/DeviceRequest.md
index 21e98554..d481fa41 100644
--- a/api-model-v1-41/docs/DeviceRequest.md
+++ b/api-model-v1-41/docs/DeviceRequest.md
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**driver** | **kotlin.String** | | [optional]
**count** | **kotlin.Int** | | [optional]
-**deviceIDs** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**capabilities** | **kotlin.collections.List<kotlin.collections.List<kotlin.String>>** | A list of capabilities; an OR list of AND lists of capabilities. | [optional]
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Driver-specific options, specified as a key/value pairs. These options are passed directly to the driver. | [optional]
+**deviceIDs** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
+**capabilities** | **kotlin.collections.MutableList<kotlin.collections.MutableList<kotlin.String>>** | A list of capabilities; an OR list of AND lists of capabilities. | [optional]
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Driver-specific options, specified as a key/value pairs. These options are passed directly to the driver. | [optional]
diff --git a/api-model-v1-41/docs/DistributionInspect.md b/api-model-v1-41/docs/DistributionInspect.md
index 68df0183..15df91fd 100644
--- a/api-model-v1-41/docs/DistributionInspect.md
+++ b/api-model-v1-41/docs/DistributionInspect.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**descriptor** | [**OCIDescriptor**](OCIDescriptor.md) | |
-**platforms** | [**kotlin.collections.List<OCIPlatform>**](OCIPlatform.md) | An array containing all platforms supported by the image. |
+**platforms** | [**kotlin.collections.MutableList<OCIPlatform>**](OCIPlatform.md) | An array containing all platforms supported by the image. |
diff --git a/api-model-v1-41/docs/Driver.md b/api-model-v1-41/docs/Driver.md
index 9952f8b0..51c7a732 100644
--- a/api-model-v1-41/docs/Driver.md
+++ b/api-model-v1-41/docs/Driver.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | Name of the driver. |
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Key/value map of driver-specific options. | [optional]
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Key/value map of driver-specific options. | [optional]
diff --git a/api-model-v1-41/docs/EndpointIPAMConfig.md b/api-model-v1-41/docs/EndpointIPAMConfig.md
index 4620f064..f3a57409 100644
--- a/api-model-v1-41/docs/EndpointIPAMConfig.md
+++ b/api-model-v1-41/docs/EndpointIPAMConfig.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ipv4Address** | **kotlin.String** | | [optional]
**ipv6Address** | **kotlin.String** | | [optional]
-**linkLocalIPs** | **kotlin.collections.List<kotlin.String>** | | [optional]
+**linkLocalIPs** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
diff --git a/api-model-v1-41/docs/EndpointPortConfig.md b/api-model-v1-41/docs/EndpointPortConfig.md
index 20037489..1ff630d6 100644
--- a/api-model-v1-41/docs/EndpointPortConfig.md
+++ b/api-model-v1-41/docs/EndpointPortConfig.md
@@ -5,20 +5,20 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | | [optional]
-**protocol** | [**inline**](#ProtocolEnum) | | [optional]
+**protocol** | [**inline**](#Protocol) | | [optional]
**targetPort** | **kotlin.Int** | The port inside the container. | [optional]
**publishedPort** | **kotlin.Int** | The port on the swarm hosts. | [optional]
-**publishMode** | [**inline**](#PublishModeEnum) | The mode in which port is published. <p><br /></p> - \"ingress\" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - \"host\" bypasses the routing mesh and publish the port directly on the swarm node where that service is running. | [optional]
+**publishMode** | [**inline**](#PublishMode) | The mode in which port is published. <p><br /></p> - \"ingress\" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - \"host\" bypasses the routing mesh and publish the port directly on the swarm node where that service is running. | [optional]
-
+
## Enum: Protocol
Name | Value
---- | -----
protocol | tcp, udp, sctp
-
+
## Enum: PublishMode
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/EndpointSettings.md b/api-model-v1-41/docs/EndpointSettings.md
index 16720546..2dd094f5 100644
--- a/api-model-v1-41/docs/EndpointSettings.md
+++ b/api-model-v1-41/docs/EndpointSettings.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ipAMConfig** | [**EndpointIPAMConfig**](EndpointIPAMConfig.md) | | [optional]
-**links** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**aliases** | **kotlin.collections.List<kotlin.String>** | | [optional]
+**links** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
+**aliases** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
**networkID** | **kotlin.String** | Unique ID of the network. | [optional]
**endpointID** | **kotlin.String** | Unique ID for the service endpoint in a Sandbox. | [optional]
**gateway** | **kotlin.String** | Gateway address for this network. | [optional]
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
**globalIPv6Address** | **kotlin.String** | Global IPv6 address. | [optional]
**globalIPv6PrefixLen** | **kotlin.Long** | Mask length of the global IPv6 address. | [optional]
**macAddress** | **kotlin.String** | MAC address for the endpoint on this network. | [optional]
-**driverOpts** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | DriverOpts is a mapping of driver options and values. These options are passed directly to the driver and are driver specific. | [optional]
+**driverOpts** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | DriverOpts is a mapping of driver options and values. These options are passed directly to the driver and are driver specific. | [optional]
diff --git a/api-model-v1-41/docs/EndpointSpec.md b/api-model-v1-41/docs/EndpointSpec.md
index 7b60df5e..a8fa32e2 100644
--- a/api-model-v1-41/docs/EndpointSpec.md
+++ b/api-model-v1-41/docs/EndpointSpec.md
@@ -4,11 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**mode** | [**inline**](#ModeEnum) | The mode of resolution to use for internal load balancing between tasks. | [optional]
-**ports** | [**kotlin.collections.List<EndpointPortConfig>**](EndpointPortConfig.md) | List of exposed ports that this service is accessible on from the outside. Ports can only be provided if `vip` resolution mode is used. | [optional]
+**mode** | [**inline**](#Mode) | The mode of resolution to use for internal load balancing between tasks. | [optional]
+**ports** | [**kotlin.collections.MutableList<EndpointPortConfig>**](EndpointPortConfig.md) | List of exposed ports that this service is accessible on from the outside. Ports can only be provided if `vip` resolution mode is used. | [optional]
-
+
## Enum: Mode
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/EngineDescription.md b/api-model-v1-41/docs/EngineDescription.md
index d0463070..6e35d480 100644
--- a/api-model-v1-41/docs/EngineDescription.md
+++ b/api-model-v1-41/docs/EngineDescription.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**engineVersion** | **kotlin.String** | | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | | [optional]
-**plugins** | [**kotlin.collections.List<EngineDescriptionPlugins>**](EngineDescriptionPlugins.md) | | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | | [optional]
+**plugins** | [**kotlin.collections.MutableList<EngineDescriptionPlugins>**](EngineDescriptionPlugins.md) | | [optional]
diff --git a/api-model-v1-41/docs/EventActor.md b/api-model-v1-41/docs/EventActor.md
index 8e77d488..24e06ef9 100644
--- a/api-model-v1-41/docs/EventActor.md
+++ b/api-model-v1-41/docs/EventActor.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ID** | **kotlin.String** | The ID of the object emitting the event | [optional]
-**attributes** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Various key/value attributes of the object, depending on its type. | [optional]
+**attributes** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Various key/value attributes of the object, depending on its type. | [optional]
diff --git a/api-model-v1-41/docs/EventMessage.md b/api-model-v1-41/docs/EventMessage.md
index b806694a..0c1b323d 100644
--- a/api-model-v1-41/docs/EventMessage.md
+++ b/api-model-v1-41/docs/EventMessage.md
@@ -4,22 +4,22 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**type** | [**inline**](#TypeEnum) | The type of object emitting the event | [optional]
+**type** | [**inline**](#Type) | The type of object emitting the event | [optional]
**action** | **kotlin.String** | The type of event | [optional]
**actor** | [**EventActor**](EventActor.md) | | [optional]
-**scope** | [**inline**](#ScopeEnum) | Scope of the event. Engine events are `local` scope. Cluster (Swarm) events are `swarm` scope. | [optional]
+**scope** | [**inline**](#Scope) | Scope of the event. Engine events are `local` scope. Cluster (Swarm) events are `swarm` scope. | [optional]
**time** | **kotlin.Long** | Timestamp of event | [optional]
**timeNano** | **kotlin.Long** | Timestamp of event, with nanosecond accuracy | [optional]
-
+
## Enum: Type
Name | Value
---- | -----
type | builder, config, container, daemon, image, network, node, plugin, secret, service, volume
-
+
## Enum: scope
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/ExecConfig.md b/api-model-v1-41/docs/ExecConfig.md
index b82fbd80..97ba3e65 100644
--- a/api-model-v1-41/docs/ExecConfig.md
+++ b/api-model-v1-41/docs/ExecConfig.md
@@ -9,8 +9,8 @@ Name | Type | Description | Notes
**attachStderr** | **kotlin.Boolean** | Attach to `stderr` of the exec command. | [optional]
**detachKeys** | **kotlin.String** | Override the key sequence for detaching a container. Format is a single character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`. | [optional]
**tty** | **kotlin.Boolean** | Allocate a pseudo-TTY. | [optional]
-**env** | **kotlin.collections.List<kotlin.String>** | A list of environment variables in the form `[\"VAR=value\", ...]`. | [optional]
-**cmd** | **kotlin.collections.List<kotlin.String>** | Command to run, as a string or array of strings. | [optional]
+**env** | **kotlin.collections.MutableList<kotlin.String>** | A list of environment variables in the form `[\"VAR=value\", ...]`. | [optional]
+**cmd** | **kotlin.collections.MutableList<kotlin.String>** | Command to run, as a string or array of strings. | [optional]
**privileged** | **kotlin.Boolean** | Runs the exec process with extended privileges. | [optional]
**user** | **kotlin.String** | The user, and optionally, group to run the exec process inside the container. Format is one of: `user`, `user:group`, `uid`, or `uid:gid`. | [optional]
**workingDir** | **kotlin.String** | The working directory for the exec process inside the container. | [optional]
diff --git a/api-model-v1-41/docs/GraphDriverData.md b/api-model-v1-41/docs/GraphDriverData.md
index ea5e1ee2..76ec7193 100644
--- a/api-model-v1-41/docs/GraphDriverData.md
+++ b/api-model-v1-41/docs/GraphDriverData.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | |
-**data** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | |
+**`data`** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | |
diff --git a/api-model-v1-41/docs/Health.md b/api-model-v1-41/docs/Health.md
index 34b54634..bcfcb1f9 100644
--- a/api-model-v1-41/docs/Health.md
+++ b/api-model-v1-41/docs/Health.md
@@ -4,12 +4,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**status** | [**inline**](#StatusEnum) | Status is one of `none`, `starting`, `healthy` or `unhealthy` - \"none\" Indicates there is no healthcheck - \"starting\" Starting indicates that the container is not yet ready - \"healthy\" Healthy indicates that the container is running correctly - \"unhealthy\" Unhealthy indicates that the container has a problem | [optional]
+**status** | [**inline**](#Status) | Status is one of `none`, `starting`, `healthy` or `unhealthy` - \"none\" Indicates there is no healthcheck - \"starting\" Starting indicates that the container is not yet ready - \"healthy\" Healthy indicates that the container is running correctly - \"unhealthy\" Unhealthy indicates that the container has a problem | [optional]
**failingStreak** | **kotlin.Int** | FailingStreak is the number of consecutive failures | [optional]
-**log** | [**kotlin.collections.List<HealthcheckResult>**](HealthcheckResult.md) | Log contains the last few results (oldest first) | [optional]
+**log** | [**kotlin.collections.MutableList<HealthcheckResult>**](HealthcheckResult.md) | Log contains the last few results (oldest first) | [optional]
-
+
## Enum: Status
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/HealthConfig.md b/api-model-v1-41/docs/HealthConfig.md
index ee8857b0..64d67527 100644
--- a/api-model-v1-41/docs/HealthConfig.md
+++ b/api-model-v1-41/docs/HealthConfig.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**test** | **kotlin.collections.List<kotlin.String>** | The test to perform. Possible values are: - `[]` inherit healthcheck from image or parent image - `[\"NONE\"]` disable healthcheck - `[\"CMD\", args...]` exec arguments directly - `[\"CMD-SHELL\", command]` run command with system's default shell | [optional]
+**test** | **kotlin.collections.MutableList<kotlin.String>** | The test to perform. Possible values are: - `[]` inherit healthcheck from image or parent image - `[\"NONE\"]` disable healthcheck - `[\"CMD\", args...]` exec arguments directly - `[\"CMD-SHELL\", command]` run command with system's default shell | [optional]
**interval** | **kotlin.Int** | The time to wait between checks in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit. | [optional]
**timeout** | **kotlin.Int** | The time to wait before considering the check to have hung. It should be 0 or at least 1000000 (1 ms). 0 means inherit. | [optional]
**retries** | **kotlin.Int** | The number of consecutive failures needed to consider a container as unhealthy. 0 means inherit. | [optional]
diff --git a/api-model-v1-41/docs/HistoryResponseItem.md b/api-model-v1-41/docs/HistoryResponseItem.md
index 02927c89..20db3fff 100644
--- a/api-model-v1-41/docs/HistoryResponseItem.md
+++ b/api-model-v1-41/docs/HistoryResponseItem.md
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
**id** | **kotlin.String** | |
**created** | **kotlin.Long** | |
**createdBy** | **kotlin.String** | |
-**tags** | **kotlin.collections.List<kotlin.String>** | |
-**size** | **kotlin.Long** | |
+**tags** | **kotlin.collections.MutableList<kotlin.String>** | |
+**propertySize** | **kotlin.Long** | |
**comment** | **kotlin.String** | |
diff --git a/api-model-v1-41/docs/HostConfig.md b/api-model-v1-41/docs/HostConfig.md
index 90d59a4a..ace35548 100644
--- a/api-model-v1-41/docs/HostConfig.md
+++ b/api-model-v1-41/docs/HostConfig.md
@@ -8,20 +8,20 @@ Name | Type | Description | Notes
**memory** | **kotlin.Long** | Memory limit in bytes. | [optional]
**cgroupParent** | **kotlin.String** | Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. | [optional]
**blkioWeight** | **kotlin.Int** | Block IO weight (relative weight). | [optional]
-**blkioWeightDevice** | [**kotlin.collections.List<ResourcesBlkioWeightDevice>**](ResourcesBlkioWeightDevice.md) | Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` | [optional]
-**blkioDeviceReadBps** | [**kotlin.collections.List<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
-**blkioDeviceWriteBps** | [**kotlin.collections.List<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
-**blkioDeviceReadIOps** | [**kotlin.collections.List<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
-**blkioDeviceWriteIOps** | [**kotlin.collections.List<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (IO per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
+**blkioWeightDevice** | [**kotlin.collections.MutableList<ResourcesBlkioWeightDevice>**](ResourcesBlkioWeightDevice.md) | Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` | [optional]
+**blkioDeviceReadBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
+**blkioDeviceWriteBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
+**blkioDeviceReadIOps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
+**blkioDeviceWriteIOps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (IO per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
**cpuPeriod** | **kotlin.Long** | The length of a CPU period in microseconds. | [optional]
**cpuQuota** | **kotlin.Long** | Microseconds of CPU time that the container can get in a CPU period. | [optional]
**cpuRealtimePeriod** | **kotlin.Long** | The length of a CPU real-time period in microseconds. Set to 0 to allocate no time allocated to real-time tasks. | [optional]
**cpuRealtimeRuntime** | **kotlin.Long** | The length of a CPU real-time runtime in microseconds. Set to 0 to allocate no time allocated to real-time tasks. | [optional]
**cpusetCpus** | **kotlin.String** | CPUs in which to allow execution (e.g., `0-3`, `0,1`). | [optional]
**cpusetMems** | **kotlin.String** | Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems. | [optional]
-**devices** | [**kotlin.collections.List<DeviceMapping>**](DeviceMapping.md) | A list of devices to add to the container. | [optional]
-**deviceCgroupRules** | **kotlin.collections.List<kotlin.String>** | a list of cgroup rules to apply to the container | [optional]
-**deviceRequests** | [**kotlin.collections.List<DeviceRequest>**](DeviceRequest.md) | A list of requests for devices to be sent to device drivers. | [optional]
+**devices** | [**kotlin.collections.MutableList<DeviceMapping>**](DeviceMapping.md) | A list of devices to add to the container. | [optional]
+**deviceCgroupRules** | **kotlin.collections.MutableList<kotlin.String>** | a list of cgroup rules to apply to the container | [optional]
+**deviceRequests** | [**kotlin.collections.MutableList<DeviceRequest>**](DeviceRequest.md) | A list of requests for devices to be sent to device drivers. | [optional]
**kernelMemory** | **kotlin.Long** | Kernel memory limit in bytes. <p><br /></p> > **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. | [optional]
**kernelMemoryTCP** | **kotlin.Long** | Hard limit for kernel TCP buffer memory (in bytes). | [optional]
**memoryReservation** | **kotlin.Long** | Memory soft limit in bytes. | [optional]
@@ -29,61 +29,61 @@ Name | Type | Description | Notes
**memorySwappiness** | **kotlin.Long** | Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100. | [optional]
**nanoCpus** | **kotlin.Long** | CPU quota in units of 10<sup>-9</sup> CPUs. | [optional]
**oomKillDisable** | **kotlin.Boolean** | Disable OOM Killer for the container. | [optional]
-**init** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional]
+**`init`** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional]
**pidsLimit** | **kotlin.Long** | Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change. | [optional]
-**ulimits** | [**kotlin.collections.List<ResourcesUlimits>**](ResourcesUlimits.md) | A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` | [optional]
+**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimits>**](ResourcesUlimits.md) | A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` | [optional]
**cpuCount** | **kotlin.Long** | The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional]
**cpuPercent** | **kotlin.Long** | The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional]
**ioMaximumIOps** | **kotlin.Long** | Maximum IOps for the container system drive (Windows only) | [optional]
**ioMaximumBandwidth** | **kotlin.Long** | Maximum IO in bytes per second for the container system drive (Windows only). | [optional]
-**binds** | **kotlin.collections.List<kotlin.String>** | A list of volume bindings for this container. Each volume binding is a string in one of these forms: - `host-src:container-dest[:options]` to bind-mount a host path into the container. Both `host-src`, and `container-dest` must be an _absolute_ path. - `volume-name:container-dest[:options]` to bind-mount a volume managed by a volume driver into the container. `container-dest` must be an _absolute_ path. `options` is an optional, comma-delimited list of: - `nocopy` disables automatic copying of data from the container path to the volume. The `nocopy` flag only applies to named volumes. - `[ro|rw]` mounts a volume read-only or read-write, respectively. If omitted or set to `rw`, volumes are mounted read-write. - `[z|Z]` applies SELinux labels to allow or deny multiple containers to read and write to the same volume. - `z`: a _shared_ content label is applied to the content. This label indicates that multiple containers can share the volume content, for both reading and writing. - `Z`: a _private unshared_ label is applied to the content. This label indicates that only the current container can use a private volume. Labeling systems such as SELinux require proper labels to be placed on volume content that is mounted into a container. Without a label, the security system can prevent a container's processes from using the content. By default, the labels set by the host operating system are not modified. - `[[r]shared|[r]slave|[r]private]` specifies mount [propagation behavior](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt). This only applies to bind-mounted volumes, not internal volumes or named volumes. Mount propagation requires the source mount point (the location where the source directory is mounted in the host operating system) to have the correct propagation properties. For shared volumes, the source mount point must be set to `shared`. For slave volumes, the mount must be set to either `shared` or `slave`. | [optional]
+**binds** | **kotlin.collections.MutableList<kotlin.String>** | A list of volume bindings for this container. Each volume binding is a string in one of these forms: - `host-src:container-dest[:options]` to bind-mount a host path into the container. Both `host-src`, and `container-dest` must be an _absolute_ path. - `volume-name:container-dest[:options]` to bind-mount a volume managed by a volume driver into the container. `container-dest` must be an _absolute_ path. `options` is an optional, comma-delimited list of: - `nocopy` disables automatic copying of data from the container path to the volume. The `nocopy` flag only applies to named volumes. - `[ro|rw]` mounts a volume read-only or read-write, respectively. If omitted or set to `rw`, volumes are mounted read-write. - `[z|Z]` applies SELinux labels to allow or deny multiple containers to read and write to the same volume. - `z`: a _shared_ content label is applied to the content. This label indicates that multiple containers can share the volume content, for both reading and writing. - `Z`: a _private unshared_ label is applied to the content. This label indicates that only the current container can use a private volume. Labeling systems such as SELinux require proper labels to be placed on volume content that is mounted into a container. Without a label, the security system can prevent a container's processes from using the content. By default, the labels set by the host operating system are not modified. - `[[r]shared|[r]slave|[r]private]` specifies mount [propagation behavior](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt). This only applies to bind-mounted volumes, not internal volumes or named volumes. Mount propagation requires the source mount point (the location where the source directory is mounted in the host operating system) to have the correct propagation properties. For shared volumes, the source mount point must be set to `shared`. For slave volumes, the mount must be set to either `shared` or `slave`. | [optional]
**containerIDFile** | **kotlin.String** | Path to a file where the container ID is written | [optional]
**logConfig** | [**HostConfigAllOfLogConfig**](HostConfigAllOfLogConfig.md) | | [optional]
**networkMode** | **kotlin.String** | Network mode to use for this container. Supported standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken as a custom network's name to which this container should connect to. | [optional]
-**portBindings** | **kotlin.collections.Map<kotlin.String, kotlin.collections.List<PortBinding>>** | PortMap describes the mapping of container ports to host ports, using the container's port-number and protocol as key in the format `<port>/<protocol>`, for example, `80/udp`. If a container's port is mapped for multiple protocols, separate entries are added to the mapping table. | [optional]
+**portBindings** | **kotlin.collections.MutableMap<kotlin.String, kotlin.collections.MutableList<PortBinding>>** | PortMap describes the mapping of container ports to host ports, using the container's port-number and protocol as key in the format `<port>/<protocol>`, for example, `80/udp`. If a container's port is mapped for multiple protocols, separate entries are added to the mapping table. | [optional]
**restartPolicy** | [**RestartPolicy**](RestartPolicy.md) | | [optional]
**autoRemove** | **kotlin.Boolean** | Automatically remove the container when the container's process exits. This has no effect if `RestartPolicy` is set. | [optional]
**volumeDriver** | **kotlin.String** | Driver that this container uses to mount volumes. | [optional]
-**volumesFrom** | **kotlin.collections.List<kotlin.String>** | A list of volumes to inherit from another container, specified in the form `<container name>[:<ro|rw>]`. | [optional]
-**mounts** | [**kotlin.collections.List<Mount>**](Mount.md) | Specification for mounts to be added to the container. | [optional]
-**capAdd** | **kotlin.collections.List<kotlin.String>** | A list of kernel capabilities to add to the container. Conflicts with option 'Capabilities'. | [optional]
-**capDrop** | **kotlin.collections.List<kotlin.String>** | A list of kernel capabilities to drop from the container. Conflicts with option 'Capabilities'. | [optional]
-**cgroupnsMode** | [**inline**](#CgroupnsModeEnum) | cgroup namespace mode for the container. Possible values are: - `\"private\"`: the container runs in its own private cgroup namespace - `\"host\"`: use the host system's cgroup namespace If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration. | [optional]
-**dns** | **kotlin.collections.List<kotlin.String>** | A list of DNS servers for the container to use. | [optional]
-**dnsOptions** | **kotlin.collections.List<kotlin.String>** | A list of DNS options. | [optional]
-**dnsSearch** | **kotlin.collections.List<kotlin.String>** | A list of DNS search domains. | [optional]
-**extraHosts** | **kotlin.collections.List<kotlin.String>** | A list of hostnames/IP mappings to add to the container's `/etc/hosts` file. Specified in the form `[\"hostname:IP\"]`. | [optional]
-**groupAdd** | **kotlin.collections.List<kotlin.String>** | A list of additional groups that the container process will run as. | [optional]
+**volumesFrom** | **kotlin.collections.MutableList<kotlin.String>** | A list of volumes to inherit from another container, specified in the form `<container name>[:<ro|rw>]`. | [optional]
+**mounts** | [**kotlin.collections.MutableList<Mount>**](Mount.md) | Specification for mounts to be added to the container. | [optional]
+**capAdd** | **kotlin.collections.MutableList<kotlin.String>** | A list of kernel capabilities to add to the container. Conflicts with option 'Capabilities'. | [optional]
+**capDrop** | **kotlin.collections.MutableList<kotlin.String>** | A list of kernel capabilities to drop from the container. Conflicts with option 'Capabilities'. | [optional]
+**cgroupnsMode** | [**inline**](#CgroupnsMode) | cgroup namespace mode for the container. Possible values are: - `\"private\"`: the container runs in its own private cgroup namespace - `\"host\"`: use the host system's cgroup namespace If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration. | [optional]
+**dns** | **kotlin.collections.MutableList<kotlin.String>** | A list of DNS servers for the container to use. | [optional]
+**dnsOptions** | **kotlin.collections.MutableList<kotlin.String>** | A list of DNS options. | [optional]
+**dnsSearch** | **kotlin.collections.MutableList<kotlin.String>** | A list of DNS search domains. | [optional]
+**extraHosts** | **kotlin.collections.MutableList<kotlin.String>** | A list of hostnames/IP mappings to add to the container's `/etc/hosts` file. Specified in the form `[\"hostname:IP\"]`. | [optional]
+**groupAdd** | **kotlin.collections.MutableList<kotlin.String>** | A list of additional groups that the container process will run as. | [optional]
**ipcMode** | **kotlin.String** | IPC sharing mode for the container. Possible values are: - `\"none\"`: own private IPC namespace, with /dev/shm not mounted - `\"private\"`: own private IPC namespace - `\"shareable\"`: own private IPC namespace, with a possibility to share it with other containers - `\"container:<name|id>\"`: join another (shareable) container's IPC namespace - `\"host\"`: use the host system's IPC namespace If not specified, daemon default is used, which can either be `\"private\"` or `\"shareable\"`, depending on daemon version and configuration. | [optional]
**cgroup** | **kotlin.String** | Cgroup to use for the container. | [optional]
-**links** | **kotlin.collections.List<kotlin.String>** | A list of links for the container in the form `container_name:alias`. | [optional]
+**links** | **kotlin.collections.MutableList<kotlin.String>** | A list of links for the container in the form `container_name:alias`. | [optional]
**oomScoreAdj** | **kotlin.Int** | An integer value containing the score given to the container in order to tune OOM killer preferences. | [optional]
**pidMode** | **kotlin.String** | Set the PID (Process) Namespace mode for the container. It can be either: - `\"container:<name|id>\"`: joins another container's PID namespace - `\"host\"`: use the host's PID namespace inside the container | [optional]
**privileged** | **kotlin.Boolean** | Gives the container full access to the host. | [optional]
**publishAllPorts** | **kotlin.Boolean** | Allocates an ephemeral host port for all of a container's exposed ports. Ports are de-allocated when the container stops and allocated when the container starts. The allocated port might be changed when restarting the container. The port is selected from the ephemeral port range that depends on the kernel. For example, on Linux the range is defined by `/proc/sys/net/ipv4/ip_local_port_range`. | [optional]
**readonlyRootfs** | **kotlin.Boolean** | Mount the container's root filesystem as read only. | [optional]
-**securityOpt** | **kotlin.collections.List<kotlin.String>** | A list of string values to customize labels for MLS systems, such as SELinux. | [optional]
-**storageOpt** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Storage driver options for this container, in the form `{\"size\": \"120G\"}`. | [optional]
-**tmpfs** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | A map of container directories which should be replaced by tmpfs mounts, and their corresponding mount options. For example: ``` { \"/run\": \"rw,noexec,nosuid,size=65536k\" } ``` | [optional]
+**securityOpt** | **kotlin.collections.MutableList<kotlin.String>** | A list of string values to customize labels for MLS systems, such as SELinux. | [optional]
+**storageOpt** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Storage driver options for this container, in the form `{\"size\": \"120G\"}`. | [optional]
+**tmpfs** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | A map of container directories which should be replaced by tmpfs mounts, and their corresponding mount options. For example: ``` { \"/run\": \"rw,noexec,nosuid,size=65536k\" } ``` | [optional]
**utSMode** | **kotlin.String** | UTS namespace to use for the container. | [optional]
**usernsMode** | **kotlin.String** | Sets the usernamespace mode for the container when usernamespace remapping option is enabled. | [optional]
**shmSize** | **kotlin.Int** | Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. | [optional]
-**sysctls** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` | [optional]
+**sysctls** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` | [optional]
**runtime** | **kotlin.String** | Runtime to use with this container. | [optional]
-**consoleSize** | **kotlin.collections.List<kotlin.Int>** | Initial console size, as an `[height, width]` array. (Windows only) | [optional]
-**isolation** | [**inline**](#IsolationEnum) | Isolation technology of the container. (Windows only) | [optional]
-**maskedPaths** | **kotlin.collections.List<kotlin.String>** | The list of paths to be masked inside the container (this overrides the default set of paths). | [optional]
-**readonlyPaths** | **kotlin.collections.List<kotlin.String>** | The list of paths to be set as read-only inside the container (this overrides the default set of paths). | [optional]
+**consoleSize** | **kotlin.collections.MutableList<kotlin.Int>** | Initial console size, as an `[height, width]` array. (Windows only) | [optional]
+**isolation** | [**inline**](#Isolation) | Isolation technology of the container. (Windows only) | [optional]
+**maskedPaths** | **kotlin.collections.MutableList<kotlin.String>** | The list of paths to be masked inside the container (this overrides the default set of paths). | [optional]
+**readonlyPaths** | **kotlin.collections.MutableList<kotlin.String>** | The list of paths to be set as read-only inside the container (this overrides the default set of paths). | [optional]
-
+
## Enum: CgroupnsMode
Name | Value
---- | -----
cgroupnsMode | private, host
-
+
## Enum: Isolation
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/HostConfigAllOf.md b/api-model-v1-41/docs/HostConfigAllOf.md
index d07c01b7..0fca5c44 100644
--- a/api-model-v1-41/docs/HostConfigAllOf.md
+++ b/api-model-v1-41/docs/HostConfigAllOf.md
@@ -4,54 +4,54 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**binds** | **kotlin.collections.List<kotlin.String>** | A list of volume bindings for this container. Each volume binding is a string in one of these forms: - `host-src:container-dest[:options]` to bind-mount a host path into the container. Both `host-src`, and `container-dest` must be an _absolute_ path. - `volume-name:container-dest[:options]` to bind-mount a volume managed by a volume driver into the container. `container-dest` must be an _absolute_ path. `options` is an optional, comma-delimited list of: - `nocopy` disables automatic copying of data from the container path to the volume. The `nocopy` flag only applies to named volumes. - `[ro|rw]` mounts a volume read-only or read-write, respectively. If omitted or set to `rw`, volumes are mounted read-write. - `[z|Z]` applies SELinux labels to allow or deny multiple containers to read and write to the same volume. - `z`: a _shared_ content label is applied to the content. This label indicates that multiple containers can share the volume content, for both reading and writing. - `Z`: a _private unshared_ label is applied to the content. This label indicates that only the current container can use a private volume. Labeling systems such as SELinux require proper labels to be placed on volume content that is mounted into a container. Without a label, the security system can prevent a container's processes from using the content. By default, the labels set by the host operating system are not modified. - `[[r]shared|[r]slave|[r]private]` specifies mount [propagation behavior](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt). This only applies to bind-mounted volumes, not internal volumes or named volumes. Mount propagation requires the source mount point (the location where the source directory is mounted in the host operating system) to have the correct propagation properties. For shared volumes, the source mount point must be set to `shared`. For slave volumes, the mount must be set to either `shared` or `slave`. | [optional]
+**binds** | **kotlin.collections.MutableList<kotlin.String>** | A list of volume bindings for this container. Each volume binding is a string in one of these forms: - `host-src:container-dest[:options]` to bind-mount a host path into the container. Both `host-src`, and `container-dest` must be an _absolute_ path. - `volume-name:container-dest[:options]` to bind-mount a volume managed by a volume driver into the container. `container-dest` must be an _absolute_ path. `options` is an optional, comma-delimited list of: - `nocopy` disables automatic copying of data from the container path to the volume. The `nocopy` flag only applies to named volumes. - `[ro|rw]` mounts a volume read-only or read-write, respectively. If omitted or set to `rw`, volumes are mounted read-write. - `[z|Z]` applies SELinux labels to allow or deny multiple containers to read and write to the same volume. - `z`: a _shared_ content label is applied to the content. This label indicates that multiple containers can share the volume content, for both reading and writing. - `Z`: a _private unshared_ label is applied to the content. This label indicates that only the current container can use a private volume. Labeling systems such as SELinux require proper labels to be placed on volume content that is mounted into a container. Without a label, the security system can prevent a container's processes from using the content. By default, the labels set by the host operating system are not modified. - `[[r]shared|[r]slave|[r]private]` specifies mount [propagation behavior](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt). This only applies to bind-mounted volumes, not internal volumes or named volumes. Mount propagation requires the source mount point (the location where the source directory is mounted in the host operating system) to have the correct propagation properties. For shared volumes, the source mount point must be set to `shared`. For slave volumes, the mount must be set to either `shared` or `slave`. | [optional]
**containerIDFile** | **kotlin.String** | Path to a file where the container ID is written | [optional]
**logConfig** | [**HostConfigAllOfLogConfig**](HostConfigAllOfLogConfig.md) | | [optional]
**networkMode** | **kotlin.String** | Network mode to use for this container. Supported standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken as a custom network's name to which this container should connect to. | [optional]
-**portBindings** | **kotlin.collections.Map<kotlin.String, kotlin.collections.List<PortBinding>>** | PortMap describes the mapping of container ports to host ports, using the container's port-number and protocol as key in the format `<port>/<protocol>`, for example, `80/udp`. If a container's port is mapped for multiple protocols, separate entries are added to the mapping table. | [optional]
+**portBindings** | **kotlin.collections.MutableMap<kotlin.String, kotlin.collections.MutableList<PortBinding>>** | PortMap describes the mapping of container ports to host ports, using the container's port-number and protocol as key in the format `<port>/<protocol>`, for example, `80/udp`. If a container's port is mapped for multiple protocols, separate entries are added to the mapping table. | [optional]
**restartPolicy** | [**RestartPolicy**](RestartPolicy.md) | | [optional]
**autoRemove** | **kotlin.Boolean** | Automatically remove the container when the container's process exits. This has no effect if `RestartPolicy` is set. | [optional]
**volumeDriver** | **kotlin.String** | Driver that this container uses to mount volumes. | [optional]
-**volumesFrom** | **kotlin.collections.List<kotlin.String>** | A list of volumes to inherit from another container, specified in the form `<container name>[:<ro|rw>]`. | [optional]
-**mounts** | [**kotlin.collections.List<Mount>**](Mount.md) | Specification for mounts to be added to the container. | [optional]
-**capAdd** | **kotlin.collections.List<kotlin.String>** | A list of kernel capabilities to add to the container. Conflicts with option 'Capabilities'. | [optional]
-**capDrop** | **kotlin.collections.List<kotlin.String>** | A list of kernel capabilities to drop from the container. Conflicts with option 'Capabilities'. | [optional]
-**cgroupnsMode** | [**inline**](#CgroupnsModeEnum) | cgroup namespace mode for the container. Possible values are: - `\"private\"`: the container runs in its own private cgroup namespace - `\"host\"`: use the host system's cgroup namespace If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration. | [optional]
-**dns** | **kotlin.collections.List<kotlin.String>** | A list of DNS servers for the container to use. | [optional]
-**dnsOptions** | **kotlin.collections.List<kotlin.String>** | A list of DNS options. | [optional]
-**dnsSearch** | **kotlin.collections.List<kotlin.String>** | A list of DNS search domains. | [optional]
-**extraHosts** | **kotlin.collections.List<kotlin.String>** | A list of hostnames/IP mappings to add to the container's `/etc/hosts` file. Specified in the form `[\"hostname:IP\"]`. | [optional]
-**groupAdd** | **kotlin.collections.List<kotlin.String>** | A list of additional groups that the container process will run as. | [optional]
+**volumesFrom** | **kotlin.collections.MutableList<kotlin.String>** | A list of volumes to inherit from another container, specified in the form `<container name>[:<ro|rw>]`. | [optional]
+**mounts** | [**kotlin.collections.MutableList<Mount>**](Mount.md) | Specification for mounts to be added to the container. | [optional]
+**capAdd** | **kotlin.collections.MutableList<kotlin.String>** | A list of kernel capabilities to add to the container. Conflicts with option 'Capabilities'. | [optional]
+**capDrop** | **kotlin.collections.MutableList<kotlin.String>** | A list of kernel capabilities to drop from the container. Conflicts with option 'Capabilities'. | [optional]
+**cgroupnsMode** | [**inline**](#CgroupnsMode) | cgroup namespace mode for the container. Possible values are: - `\"private\"`: the container runs in its own private cgroup namespace - `\"host\"`: use the host system's cgroup namespace If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration. | [optional]
+**dns** | **kotlin.collections.MutableList<kotlin.String>** | A list of DNS servers for the container to use. | [optional]
+**dnsOptions** | **kotlin.collections.MutableList<kotlin.String>** | A list of DNS options. | [optional]
+**dnsSearch** | **kotlin.collections.MutableList<kotlin.String>** | A list of DNS search domains. | [optional]
+**extraHosts** | **kotlin.collections.MutableList<kotlin.String>** | A list of hostnames/IP mappings to add to the container's `/etc/hosts` file. Specified in the form `[\"hostname:IP\"]`. | [optional]
+**groupAdd** | **kotlin.collections.MutableList<kotlin.String>** | A list of additional groups that the container process will run as. | [optional]
**ipcMode** | **kotlin.String** | IPC sharing mode for the container. Possible values are: - `\"none\"`: own private IPC namespace, with /dev/shm not mounted - `\"private\"`: own private IPC namespace - `\"shareable\"`: own private IPC namespace, with a possibility to share it with other containers - `\"container:<name|id>\"`: join another (shareable) container's IPC namespace - `\"host\"`: use the host system's IPC namespace If not specified, daemon default is used, which can either be `\"private\"` or `\"shareable\"`, depending on daemon version and configuration. | [optional]
**cgroup** | **kotlin.String** | Cgroup to use for the container. | [optional]
-**links** | **kotlin.collections.List<kotlin.String>** | A list of links for the container in the form `container_name:alias`. | [optional]
+**links** | **kotlin.collections.MutableList<kotlin.String>** | A list of links for the container in the form `container_name:alias`. | [optional]
**oomScoreAdj** | **kotlin.Int** | An integer value containing the score given to the container in order to tune OOM killer preferences. | [optional]
**pidMode** | **kotlin.String** | Set the PID (Process) Namespace mode for the container. It can be either: - `\"container:<name|id>\"`: joins another container's PID namespace - `\"host\"`: use the host's PID namespace inside the container | [optional]
**privileged** | **kotlin.Boolean** | Gives the container full access to the host. | [optional]
**publishAllPorts** | **kotlin.Boolean** | Allocates an ephemeral host port for all of a container's exposed ports. Ports are de-allocated when the container stops and allocated when the container starts. The allocated port might be changed when restarting the container. The port is selected from the ephemeral port range that depends on the kernel. For example, on Linux the range is defined by `/proc/sys/net/ipv4/ip_local_port_range`. | [optional]
**readonlyRootfs** | **kotlin.Boolean** | Mount the container's root filesystem as read only. | [optional]
-**securityOpt** | **kotlin.collections.List<kotlin.String>** | A list of string values to customize labels for MLS systems, such as SELinux. | [optional]
-**storageOpt** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Storage driver options for this container, in the form `{\"size\": \"120G\"}`. | [optional]
-**tmpfs** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | A map of container directories which should be replaced by tmpfs mounts, and their corresponding mount options. For example: ``` { \"/run\": \"rw,noexec,nosuid,size=65536k\" } ``` | [optional]
+**securityOpt** | **kotlin.collections.MutableList<kotlin.String>** | A list of string values to customize labels for MLS systems, such as SELinux. | [optional]
+**storageOpt** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Storage driver options for this container, in the form `{\"size\": \"120G\"}`. | [optional]
+**tmpfs** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | A map of container directories which should be replaced by tmpfs mounts, and their corresponding mount options. For example: ``` { \"/run\": \"rw,noexec,nosuid,size=65536k\" } ``` | [optional]
**utSMode** | **kotlin.String** | UTS namespace to use for the container. | [optional]
**usernsMode** | **kotlin.String** | Sets the usernamespace mode for the container when usernamespace remapping option is enabled. | [optional]
**shmSize** | **kotlin.Int** | Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. | [optional]
-**sysctls** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` | [optional]
+**sysctls** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` | [optional]
**runtime** | **kotlin.String** | Runtime to use with this container. | [optional]
-**consoleSize** | **kotlin.collections.List<kotlin.Int>** | Initial console size, as an `[height, width]` array. (Windows only) | [optional]
-**isolation** | [**inline**](#IsolationEnum) | Isolation technology of the container. (Windows only) | [optional]
-**maskedPaths** | **kotlin.collections.List<kotlin.String>** | The list of paths to be masked inside the container (this overrides the default set of paths). | [optional]
-**readonlyPaths** | **kotlin.collections.List<kotlin.String>** | The list of paths to be set as read-only inside the container (this overrides the default set of paths). | [optional]
+**consoleSize** | **kotlin.collections.MutableList<kotlin.Int>** | Initial console size, as an `[height, width]` array. (Windows only) | [optional]
+**isolation** | [**inline**](#Isolation) | Isolation technology of the container. (Windows only) | [optional]
+**maskedPaths** | **kotlin.collections.MutableList<kotlin.String>** | The list of paths to be masked inside the container (this overrides the default set of paths). | [optional]
+**readonlyPaths** | **kotlin.collections.MutableList<kotlin.String>** | The list of paths to be set as read-only inside the container (this overrides the default set of paths). | [optional]
-
+
## Enum: CgroupnsMode
Name | Value
---- | -----
cgroupnsMode | private, host
-
+
## Enum: Isolation
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/HostConfigAllOfLogConfig.md b/api-model-v1-41/docs/HostConfigAllOfLogConfig.md
index 104143ae..30acf532 100644
--- a/api-model-v1-41/docs/HostConfigAllOfLogConfig.md
+++ b/api-model-v1-41/docs/HostConfigAllOfLogConfig.md
@@ -4,11 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**type** | [**inline**](#TypeEnum) | | [optional]
-**config** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | | [optional]
+**type** | [**inline**](#Type) | | [optional]
+**config** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | | [optional]
-
+
## Enum: Type
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/IPAM.md b/api-model-v1-41/docs/IPAM.md
index 882e80ca..0b7268b9 100644
--- a/api-model-v1-41/docs/IPAM.md
+++ b/api-model-v1-41/docs/IPAM.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**driver** | **kotlin.String** | Name of the IPAM driver to use. | [optional]
-**config** | **kotlin.collections.List<kotlin.collections.Map<kotlin.String, kotlin.String>>** | List of IPAM configuration options, specified as a map: ``` {\"Subnet\": <CIDR>, \"IPRange\": <CIDR>, \"Gateway\": <IP address>, \"AuxAddress\": <device_name:IP address>} ``` | [optional]
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Driver-specific options, specified as a map. | [optional]
+**config** | **kotlin.collections.MutableList<kotlin.collections.MutableMap<kotlin.String, kotlin.String>>** | List of IPAM configuration options, specified as a map: ``` {\"Subnet\": <CIDR>, \"IPRange\": <CIDR>, \"Gateway\": <IP address>, \"AuxAddress\": <device_name:IP address>} ``` | [optional]
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Driver-specific options, specified as a map. | [optional]
diff --git a/api-model-v1-41/docs/Image.md b/api-model-v1-41/docs/Image.md
index 1a5dd841..71c8fd76 100644
--- a/api-model-v1-41/docs/Image.md
+++ b/api-model-v1-41/docs/Image.md
@@ -13,12 +13,12 @@ Name | Type | Description | Notes
**author** | **kotlin.String** | |
**architecture** | **kotlin.String** | |
**os** | **kotlin.String** | |
-**size** | **kotlin.Long** | |
+**propertySize** | **kotlin.Long** | |
**virtualSize** | **kotlin.Long** | |
**graphDriver** | [**GraphDriverData**](GraphDriverData.md) | |
**rootFS** | [**ImageRootFS**](ImageRootFS.md) | |
-**repoTags** | **kotlin.collections.List<kotlin.String>** | | [optional]
-**repoDigests** | **kotlin.collections.List<kotlin.String>** | | [optional]
+**repoTags** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
+**repoDigests** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
**containerConfig** | [**ContainerConfig**](ContainerConfig.md) | | [optional]
**config** | [**ContainerConfig**](ContainerConfig.md) | | [optional]
**osVersion** | **kotlin.String** | | [optional]
diff --git a/api-model-v1-41/docs/ImagePruneResponse.md b/api-model-v1-41/docs/ImagePruneResponse.md
index 78ffbaa8..d041d483 100644
--- a/api-model-v1-41/docs/ImagePruneResponse.md
+++ b/api-model-v1-41/docs/ImagePruneResponse.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**imagesDeleted** | [**kotlin.collections.List<ImageDeleteResponseItem>**](ImageDeleteResponseItem.md) | Images that were deleted | [optional]
+**imagesDeleted** | [**kotlin.collections.MutableList<ImageDeleteResponseItem>**](ImageDeleteResponseItem.md) | Images that were deleted | [optional]
**spaceReclaimed** | **kotlin.Long** | Disk space reclaimed in bytes | [optional]
diff --git a/api-model-v1-41/docs/ImageRootFS.md b/api-model-v1-41/docs/ImageRootFS.md
index a04d3672..c724cbb1 100644
--- a/api-model-v1-41/docs/ImageRootFS.md
+++ b/api-model-v1-41/docs/ImageRootFS.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **kotlin.String** | |
-**layers** | **kotlin.collections.List<kotlin.String>** | | [optional]
+**layers** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
**baseLayer** | **kotlin.String** | | [optional]
diff --git a/api-model-v1-41/docs/ImageSummary.md b/api-model-v1-41/docs/ImageSummary.md
index 105ca393..5c6fcebf 100644
--- a/api-model-v1-41/docs/ImageSummary.md
+++ b/api-model-v1-41/docs/ImageSummary.md
@@ -6,13 +6,13 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **kotlin.String** | |
**parentId** | **kotlin.String** | |
-**repoTags** | **kotlin.collections.List<kotlin.String>** | |
-**repoDigests** | **kotlin.collections.List<kotlin.String>** | |
+**repoTags** | **kotlin.collections.MutableList<kotlin.String>** | |
+**repoDigests** | **kotlin.collections.MutableList<kotlin.String>** | |
**created** | **kotlin.Int** | |
-**size** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
+**propertySize** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
**sharedSize** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
**virtualSize** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | |
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | |
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | |
**containers** | **kotlin.Int** | |
diff --git a/api-model-v1-41/docs/IndexInfo.md b/api-model-v1-41/docs/IndexInfo.md
index 3d18e482..7018edfd 100644
--- a/api-model-v1-41/docs/IndexInfo.md
+++ b/api-model-v1-41/docs/IndexInfo.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | Name of the registry, such as \"docker.io\". | [optional]
-**mirrors** | **kotlin.collections.List<kotlin.String>** | List of mirrors, expressed as URIs. | [optional]
+**mirrors** | **kotlin.collections.MutableList<kotlin.String>** | List of mirrors, expressed as URIs. | [optional]
**secure** | **kotlin.Boolean** | Indicates if the registry is part of the list of insecure registries. If `false`, the registry is insecure. Insecure registries accept un-encrypted (HTTP) and/or untrusted (HTTPS with certificates from unknown CAs) communication. > **Warning**: Insecure registries can be useful when running a local > registry. However, because its use creates security vulnerabilities > it should ONLY be enabled for testing purposes. For increased > security, users should add their CA to their system's list of > trusted CAs instead of enabling this option. | [optional]
**official** | **kotlin.Boolean** | Indicates whether this is an official registry (i.e., Docker Hub / docker.io) | [optional]
diff --git a/api-model-v1-41/docs/Mount.md b/api-model-v1-41/docs/Mount.md
index f091403c..d87a4245 100644
--- a/api-model-v1-41/docs/Mount.md
+++ b/api-model-v1-41/docs/Mount.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**target** | **kotlin.String** | Container path. | [optional]
**source** | **kotlin.String** | Mount source (e.g. a volume name, a host path). | [optional]
-**type** | [**inline**](#TypeEnum) | The mount type. Available types: - `bind` Mounts a file or directory from the host into the container. Must exist prior to creating the container. - `volume` Creates a volume with the given name and options (or uses a pre-existing volume with the same name and options). These are **not** removed when the container is removed. - `tmpfs` Create a tmpfs with the given options. The mount source cannot be specified for tmpfs. - `npipe` Mounts a named pipe from the host into the container. Must exist prior to creating the container. | [optional]
+**type** | [**inline**](#Type) | The mount type. Available types: - `bind` Mounts a file or directory from the host into the container. Must exist prior to creating the container. - `volume` Creates a volume with the given name and options (or uses a pre-existing volume with the same name and options). These are **not** removed when the container is removed. - `tmpfs` Create a tmpfs with the given options. The mount source cannot be specified for tmpfs. - `npipe` Mounts a named pipe from the host into the container. Must exist prior to creating the container. | [optional]
**readOnly** | **kotlin.Boolean** | Whether the mount should be read-only. | [optional]
**consistency** | **kotlin.String** | The consistency requirement for the mount: `default`, `consistent`, `cached`, or `delegated`. | [optional]
**bindOptions** | [**MountBindOptions**](MountBindOptions.md) | | [optional]
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
**tmpfsOptions** | [**MountTmpfsOptions**](MountTmpfsOptions.md) | | [optional]
-
+
## Enum: Type
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/MountBindOptions.md b/api-model-v1-41/docs/MountBindOptions.md
index df7a2e84..39f8da54 100644
--- a/api-model-v1-41/docs/MountBindOptions.md
+++ b/api-model-v1-41/docs/MountBindOptions.md
@@ -4,11 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**propagation** | [**inline**](#PropagationEnum) | A propagation mode with the value `[r]private`, `[r]shared`, or `[r]slave`. | [optional]
+**propagation** | [**inline**](#Propagation) | A propagation mode with the value `[r]private`, `[r]shared`, or `[r]slave`. | [optional]
**nonRecursive** | **kotlin.Boolean** | Disable recursive bind mount. | [optional]
-
+
## Enum: Propagation
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/MountVolumeOptions.md b/api-model-v1-41/docs/MountVolumeOptions.md
index 7fd0d794..2fdfdecf 100644
--- a/api-model-v1-41/docs/MountVolumeOptions.md
+++ b/api-model-v1-41/docs/MountVolumeOptions.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**noCopy** | **kotlin.Boolean** | Populate volume with data from the target. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
**driverConfig** | [**MountVolumeOptionsDriverConfig**](MountVolumeOptionsDriverConfig.md) | | [optional]
diff --git a/api-model-v1-41/docs/MountVolumeOptionsDriverConfig.md b/api-model-v1-41/docs/MountVolumeOptionsDriverConfig.md
index 8e4d278d..084ee2c5 100644
--- a/api-model-v1-41/docs/MountVolumeOptionsDriverConfig.md
+++ b/api-model-v1-41/docs/MountVolumeOptionsDriverConfig.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | Name of the driver to use to create the volume. | [optional]
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | key/value map of driver specific options. | [optional]
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | key/value map of driver specific options. | [optional]
diff --git a/api-model-v1-41/docs/Network.md b/api-model-v1-41/docs/Network.md
index 0de7b514..1af62551 100644
--- a/api-model-v1-41/docs/Network.md
+++ b/api-model-v1-41/docs/Network.md
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
**`internal`** | **kotlin.Boolean** | | [optional]
**attachable** | **kotlin.Boolean** | | [optional]
**ingress** | **kotlin.Boolean** | | [optional]
-**containers** | [**kotlin.collections.Map<kotlin.String, NetworkContainer>**](NetworkContainer.md) | | [optional]
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | | [optional]
+**containers** | [**kotlin.collections.MutableMap<kotlin.String, NetworkContainer>**](NetworkContainer.md) | | [optional]
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | | [optional]
diff --git a/api-model-v1-41/docs/NetworkAttachmentConfig.md b/api-model-v1-41/docs/NetworkAttachmentConfig.md
index cc959fa3..55eae4cb 100644
--- a/api-model-v1-41/docs/NetworkAttachmentConfig.md
+++ b/api-model-v1-41/docs/NetworkAttachmentConfig.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**target** | **kotlin.String** | The target network for attachment. Must be a network name or ID. | [optional]
-**aliases** | **kotlin.collections.List<kotlin.String>** | Discoverable alternate names for the service on this network. | [optional]
-**driverOpts** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Driver attachment options for the network target. | [optional]
+**aliases** | **kotlin.collections.MutableList<kotlin.String>** | Discoverable alternate names for the service on this network. | [optional]
+**driverOpts** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Driver attachment options for the network target. | [optional]
diff --git a/api-model-v1-41/docs/NetworkCreateRequest.md b/api-model-v1-41/docs/NetworkCreateRequest.md
index acc23145..ece9d411 100644
--- a/api-model-v1-41/docs/NetworkCreateRequest.md
+++ b/api-model-v1-41/docs/NetworkCreateRequest.md
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
**ingress** | **kotlin.Boolean** | Ingress network is the network which provides the routing-mesh in swarm mode. | [optional]
**IPAM** | [**IPAM**](IPAM.md) | | [optional]
**enableIPv6** | **kotlin.Boolean** | Enable IPv6 on the network. | [optional]
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Network specific options to be used by the drivers. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Network specific options to be used by the drivers. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
diff --git a/api-model-v1-41/docs/NetworkPruneResponse.md b/api-model-v1-41/docs/NetworkPruneResponse.md
index 4880fb9e..3f4d1a9c 100644
--- a/api-model-v1-41/docs/NetworkPruneResponse.md
+++ b/api-model-v1-41/docs/NetworkPruneResponse.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**networksDeleted** | **kotlin.collections.List<kotlin.String>** | Networks that were deleted | [optional]
+**networksDeleted** | **kotlin.collections.MutableList<kotlin.String>** | Networks that were deleted | [optional]
diff --git a/api-model-v1-41/docs/NetworkSettings.md b/api-model-v1-41/docs/NetworkSettings.md
index 4305f380..f8df75d6 100644
--- a/api-model-v1-41/docs/NetworkSettings.md
+++ b/api-model-v1-41/docs/NetworkSettings.md
@@ -9,10 +9,10 @@ Name | Type | Description | Notes
**hairpinMode** | **kotlin.Boolean** | Indicates if hairpin NAT should be enabled on the virtual interface. | [optional]
**linkLocalIPv6Address** | **kotlin.String** | IPv6 unicast address using the link-local prefix. | [optional]
**linkLocalIPv6PrefixLen** | **kotlin.Int** | Prefix length of the IPv6 unicast address. | [optional]
-**ports** | **kotlin.collections.Map<kotlin.String, kotlin.collections.List<PortBinding>>** | PortMap describes the mapping of container ports to host ports, using the container's port-number and protocol as key in the format `<port>/<protocol>`, for example, `80/udp`. If a container's port is mapped for multiple protocols, separate entries are added to the mapping table. | [optional]
+**ports** | **kotlin.collections.MutableMap<kotlin.String, kotlin.collections.MutableList<PortBinding>>** | PortMap describes the mapping of container ports to host ports, using the container's port-number and protocol as key in the format `<port>/<protocol>`, for example, `80/udp`. If a container's port is mapped for multiple protocols, separate entries are added to the mapping table. | [optional]
**sandboxKey** | **kotlin.String** | SandboxKey identifies the sandbox | [optional]
-**secondaryIPAddresses** | [**kotlin.collections.List<Address>**](Address.md) | | [optional]
-**secondaryIPv6Addresses** | [**kotlin.collections.List<Address>**](Address.md) | | [optional]
+**secondaryIPAddresses** | [**kotlin.collections.MutableList<Address>**](Address.md) | | [optional]
+**secondaryIPv6Addresses** | [**kotlin.collections.MutableList<Address>**](Address.md) | | [optional]
**endpointID** | **kotlin.String** | EndpointID uniquely represents a service endpoint in a Sandbox. <p><br /></p> > **Deprecated**: This field is only propagated when attached to the > default \"bridge\" network. Use the information from the \"bridge\" > network inside the `Networks` map instead, which contains the same > information. This field was deprecated in Docker 1.9 and is scheduled > to be removed in Docker 17.12.0 | [optional]
**gateway** | **kotlin.String** | Gateway address for the default \"bridge\" network. <p><br /></p> > **Deprecated**: This field is only propagated when attached to the > default \"bridge\" network. Use the information from the \"bridge\" > network inside the `Networks` map instead, which contains the same > information. This field was deprecated in Docker 1.9 and is scheduled > to be removed in Docker 17.12.0 | [optional]
**globalIPv6Address** | **kotlin.String** | Global IPv6 address for the default \"bridge\" network. <p><br /></p> > **Deprecated**: This field is only propagated when attached to the > default \"bridge\" network. Use the information from the \"bridge\" > network inside the `Networks` map instead, which contains the same > information. This field was deprecated in Docker 1.9 and is scheduled > to be removed in Docker 17.12.0 | [optional]
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
**ipPrefixLen** | **kotlin.Int** | Mask length of the IPv4 address. <p><br /></p> > **Deprecated**: This field is only propagated when attached to the > default \"bridge\" network. Use the information from the \"bridge\" > network inside the `Networks` map instead, which contains the same > information. This field was deprecated in Docker 1.9 and is scheduled > to be removed in Docker 17.12.0 | [optional]
**ipv6Gateway** | **kotlin.String** | IPv6 gateway address for this network. <p><br /></p> > **Deprecated**: This field is only propagated when attached to the > default \"bridge\" network. Use the information from the \"bridge\" > network inside the `Networks` map instead, which contains the same > information. This field was deprecated in Docker 1.9 and is scheduled > to be removed in Docker 17.12.0 | [optional]
**macAddress** | **kotlin.String** | MAC address for the container on the default \"bridge\" network. <p><br /></p> > **Deprecated**: This field is only propagated when attached to the > default \"bridge\" network. Use the information from the \"bridge\" > network inside the `Networks` map instead, which contains the same > information. This field was deprecated in Docker 1.9 and is scheduled > to be removed in Docker 17.12.0 | [optional]
-**networks** | [**kotlin.collections.Map<kotlin.String, EndpointSettings>**](EndpointSettings.md) | Information about all networks that the container is connected to. | [optional]
+**networks** | [**kotlin.collections.MutableMap<kotlin.String, EndpointSettings>**](EndpointSettings.md) | Information about all networks that the container is connected to. | [optional]
diff --git a/api-model-v1-41/docs/NetworkingConfig.md b/api-model-v1-41/docs/NetworkingConfig.md
index b37627d8..f0d46fa8 100644
--- a/api-model-v1-41/docs/NetworkingConfig.md
+++ b/api-model-v1-41/docs/NetworkingConfig.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**endpointsConfig** | [**kotlin.collections.Map<kotlin.String, EndpointSettings>**](EndpointSettings.md) | A mapping of network name to endpoint configuration for that network. | [optional]
+**endpointsConfig** | [**kotlin.collections.MutableMap<kotlin.String, EndpointSettings>**](EndpointSettings.md) | A mapping of network name to endpoint configuration for that network. | [optional]
diff --git a/api-model-v1-41/docs/NodeSpec.md b/api-model-v1-41/docs/NodeSpec.md
index f318edc2..2ff9a542 100644
--- a/api-model-v1-41/docs/NodeSpec.md
+++ b/api-model-v1-41/docs/NodeSpec.md
@@ -5,19 +5,19 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | Name for the node. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
-**role** | [**inline**](#RoleEnum) | Role of the node. | [optional]
-**availability** | [**inline**](#AvailabilityEnum) | Availability of the node. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**role** | [**inline**](#Role) | Role of the node. | [optional]
+**availability** | [**inline**](#Availability) | Availability of the node. | [optional]
-
+
## Enum: Role
Name | Value
---- | -----
role | worker, manager
-
+
## Enum: Availability
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/OCIDescriptor.md b/api-model-v1-41/docs/OCIDescriptor.md
index 26014af3..f31d04e6 100644
--- a/api-model-v1-41/docs/OCIDescriptor.md
+++ b/api-model-v1-41/docs/OCIDescriptor.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**mediaType** | **kotlin.String** | The media type of the object this schema refers to. | [optional]
**digest** | **kotlin.String** | The digest of the targeted content. | [optional]
-**size** | **kotlin.Long** | The size in bytes of the blob. | [optional]
+**propertySize** | **kotlin.Long** | The size in bytes of the blob. | [optional]
diff --git a/api-model-v1-41/docs/OCIPlatform.md b/api-model-v1-41/docs/OCIPlatform.md
index 00be2078..76d3ec98 100644
--- a/api-model-v1-41/docs/OCIPlatform.md
+++ b/api-model-v1-41/docs/OCIPlatform.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**architecture** | **kotlin.String** | The CPU architecture, for example `amd64` or `ppc64`. | [optional]
**os** | **kotlin.String** | The operating system, for example `linux` or `windows`. | [optional]
**osVersion** | **kotlin.String** | Optional field specifying the operating system version, for example on Windows `10.0.19041.1165`. | [optional]
-**osFeatures** | **kotlin.collections.List<kotlin.String>** | Optional field specifying an array of strings, each listing a required OS feature (for example on Windows `win32k`). | [optional]
+**osFeatures** | **kotlin.collections.MutableList<kotlin.String>** | Optional field specifying an array of strings, each listing a required OS feature (for example on Windows `win32k`). | [optional]
**variant** | **kotlin.String** | Optional field specifying a variant of the CPU, for example `v7` to specify ARMv7 when architecture is `arm`. | [optional]
diff --git a/api-model-v1-41/docs/PluginConfig.md b/api-model-v1-41/docs/PluginConfig.md
index 13e13457..b1c55fba 100644
--- a/api-model-v1-41/docs/PluginConfig.md
+++ b/api-model-v1-41/docs/PluginConfig.md
@@ -7,15 +7,15 @@ Name | Type | Description | Notes
**description** | **kotlin.String** | |
**documentation** | **kotlin.String** | |
**`interface`** | [**PluginConfigInterface**](PluginConfigInterface.md) | |
-**entrypoint** | **kotlin.collections.List<kotlin.String>** | |
+**entrypoint** | **kotlin.collections.MutableList<kotlin.String>** | |
**workDir** | **kotlin.String** | |
**network** | [**PluginConfigNetwork**](PluginConfigNetwork.md) | |
**linux** | [**PluginConfigLinux**](PluginConfigLinux.md) | |
**propagatedMount** | **kotlin.String** | |
**ipcHost** | **kotlin.Boolean** | |
**pidHost** | **kotlin.Boolean** | |
-**mounts** | [**kotlin.collections.List<PluginMount>**](PluginMount.md) | |
-**env** | [**kotlin.collections.List<PluginEnv>**](PluginEnv.md) | |
+**mounts** | [**kotlin.collections.MutableList<PluginMount>**](PluginMount.md) | |
+**env** | [**kotlin.collections.MutableList<PluginEnv>**](PluginEnv.md) | |
**args** | [**PluginConfigArgs**](PluginConfigArgs.md) | |
**dockerVersion** | **kotlin.String** | Docker Version used to create the plugin | [optional]
**user** | [**PluginConfigUser**](PluginConfigUser.md) | | [optional]
diff --git a/api-model-v1-41/docs/PluginConfigArgs.md b/api-model-v1-41/docs/PluginConfigArgs.md
index 85fb163b..d1c4ec86 100644
--- a/api-model-v1-41/docs/PluginConfigArgs.md
+++ b/api-model-v1-41/docs/PluginConfigArgs.md
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | |
**description** | **kotlin.String** | |
-**settable** | **kotlin.collections.List<kotlin.String>** | |
-**value** | **kotlin.collections.List<kotlin.String>** | |
+**settable** | **kotlin.collections.MutableList<kotlin.String>** | |
+**`value`** | **kotlin.collections.MutableList<kotlin.String>** | |
diff --git a/api-model-v1-41/docs/PluginConfigInterface.md b/api-model-v1-41/docs/PluginConfigInterface.md
index 61fffa76..1dadceb1 100644
--- a/api-model-v1-41/docs/PluginConfigInterface.md
+++ b/api-model-v1-41/docs/PluginConfigInterface.md
@@ -4,12 +4,12 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**types** | [**kotlin.collections.List<PluginInterfaceType>**](PluginInterfaceType.md) | |
+**types** | [**kotlin.collections.MutableList<PluginInterfaceType>**](PluginInterfaceType.md) | |
**socket** | **kotlin.String** | |
-**protocolScheme** | [**inline**](#ProtocolSchemeEnum) | Protocol to use for clients connecting to the plugin. | [optional]
+**protocolScheme** | [**inline**](#ProtocolScheme) | Protocol to use for clients connecting to the plugin. | [optional]
-
+
## Enum: ProtocolScheme
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/PluginConfigLinux.md b/api-model-v1-41/docs/PluginConfigLinux.md
index c50cd234..a343e2ad 100644
--- a/api-model-v1-41/docs/PluginConfigLinux.md
+++ b/api-model-v1-41/docs/PluginConfigLinux.md
@@ -4,9 +4,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**capabilities** | **kotlin.collections.List<kotlin.String>** | |
+**capabilities** | **kotlin.collections.MutableList<kotlin.String>** | |
**allowAllDevices** | **kotlin.Boolean** | |
-**devices** | [**kotlin.collections.List<PluginDevice>**](PluginDevice.md) | |
+**devices** | [**kotlin.collections.MutableList<PluginDevice>**](PluginDevice.md) | |
diff --git a/api-model-v1-41/docs/PluginConfigRootfs.md b/api-model-v1-41/docs/PluginConfigRootfs.md
index 72d9b6ea..b216d3e8 100644
--- a/api-model-v1-41/docs/PluginConfigRootfs.md
+++ b/api-model-v1-41/docs/PluginConfigRootfs.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **kotlin.String** | | [optional]
-**diffIds** | **kotlin.collections.List<kotlin.String>** | | [optional]
+**diffIds** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
diff --git a/api-model-v1-41/docs/PluginDevice.md b/api-model-v1-41/docs/PluginDevice.md
index 12cdc57d..55c5bc33 100644
--- a/api-model-v1-41/docs/PluginDevice.md
+++ b/api-model-v1-41/docs/PluginDevice.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | |
**description** | **kotlin.String** | |
-**settable** | **kotlin.collections.List<kotlin.String>** | |
+**settable** | **kotlin.collections.MutableList<kotlin.String>** | |
**path** | **kotlin.String** | |
diff --git a/api-model-v1-41/docs/PluginEnv.md b/api-model-v1-41/docs/PluginEnv.md
index f246900e..49ccca71 100644
--- a/api-model-v1-41/docs/PluginEnv.md
+++ b/api-model-v1-41/docs/PluginEnv.md
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | |
**description** | **kotlin.String** | |
-**settable** | **kotlin.collections.List<kotlin.String>** | |
-**value** | **kotlin.String** | |
+**settable** | **kotlin.collections.MutableList<kotlin.String>** | |
+**`value`** | **kotlin.String** | |
diff --git a/api-model-v1-41/docs/PluginMount.md b/api-model-v1-41/docs/PluginMount.md
index 0e37972f..c6dff2af 100644
--- a/api-model-v1-41/docs/PluginMount.md
+++ b/api-model-v1-41/docs/PluginMount.md
@@ -6,11 +6,11 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | |
**description** | **kotlin.String** | |
-**settable** | **kotlin.collections.List<kotlin.String>** | |
+**settable** | **kotlin.collections.MutableList<kotlin.String>** | |
**source** | **kotlin.String** | |
**destination** | **kotlin.String** | |
**type** | **kotlin.String** | |
-**options** | **kotlin.collections.List<kotlin.String>** | |
+**options** | **kotlin.collections.MutableList<kotlin.String>** | |
diff --git a/api-model-v1-41/docs/PluginPrivilege.md b/api-model-v1-41/docs/PluginPrivilege.md
index 93ab7751..4e580989 100644
--- a/api-model-v1-41/docs/PluginPrivilege.md
+++ b/api-model-v1-41/docs/PluginPrivilege.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | | [optional]
**description** | **kotlin.String** | | [optional]
-**value** | **kotlin.collections.List<kotlin.String>** | | [optional]
+**`value`** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
diff --git a/api-model-v1-41/docs/PluginSettings.md b/api-model-v1-41/docs/PluginSettings.md
index d3e50757..8d1985c2 100644
--- a/api-model-v1-41/docs/PluginSettings.md
+++ b/api-model-v1-41/docs/PluginSettings.md
@@ -4,10 +4,10 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**mounts** | [**kotlin.collections.List<PluginMount>**](PluginMount.md) | |
-**env** | **kotlin.collections.List<kotlin.String>** | |
-**args** | **kotlin.collections.List<kotlin.String>** | |
-**devices** | [**kotlin.collections.List<PluginDevice>**](PluginDevice.md) | |
+**mounts** | [**kotlin.collections.MutableList<PluginMount>**](PluginMount.md) | |
+**env** | **kotlin.collections.MutableList<kotlin.String>** | |
+**args** | **kotlin.collections.MutableList<kotlin.String>** | |
+**devices** | [**kotlin.collections.MutableList<PluginDevice>**](PluginDevice.md) | |
diff --git a/api-model-v1-41/docs/PluginsInfo.md b/api-model-v1-41/docs/PluginsInfo.md
index 15bd737b..233e9342 100644
--- a/api-model-v1-41/docs/PluginsInfo.md
+++ b/api-model-v1-41/docs/PluginsInfo.md
@@ -4,10 +4,10 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**volume** | **kotlin.collections.List<kotlin.String>** | Names of available volume-drivers, and network-driver plugins. | [optional]
-**network** | **kotlin.collections.List<kotlin.String>** | Names of available network-drivers, and network-driver plugins. | [optional]
-**authorization** | **kotlin.collections.List<kotlin.String>** | Names of available authorization plugins. | [optional]
-**log** | **kotlin.collections.List<kotlin.String>** | Names of available logging-drivers, and logging-driver plugins. | [optional]
+**volume** | **kotlin.collections.MutableList<kotlin.String>** | Names of available volume-drivers, and network-driver plugins. | [optional]
+**network** | **kotlin.collections.MutableList<kotlin.String>** | Names of available network-drivers, and network-driver plugins. | [optional]
+**authorization** | **kotlin.collections.MutableList<kotlin.String>** | Names of available authorization plugins. | [optional]
+**log** | **kotlin.collections.MutableList<kotlin.String>** | Names of available logging-drivers, and logging-driver plugins. | [optional]
diff --git a/api-model-v1-41/docs/Port.md b/api-model-v1-41/docs/Port.md
index 3bc6e75f..0b6c8598 100644
--- a/api-model-v1-41/docs/Port.md
+++ b/api-model-v1-41/docs/Port.md
@@ -5,12 +5,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**privatePort** | **kotlin.Int** | Port on the container |
-**type** | [**inline**](#TypeEnum) | |
+**type** | [**inline**](#Type) | |
**IP** | **kotlin.String** | Host IP address that the container's port is mapped to | [optional]
**publicPort** | **kotlin.Int** | Port exposed on the host | [optional]
-
+
## Enum: Type
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/ProcessConfig.md b/api-model-v1-41/docs/ProcessConfig.md
index a83e844d..5ad4c154 100644
--- a/api-model-v1-41/docs/ProcessConfig.md
+++ b/api-model-v1-41/docs/ProcessConfig.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**user** | **kotlin.String** | | [optional]
**tty** | **kotlin.Boolean** | | [optional]
**entrypoint** | **kotlin.String** | | [optional]
-**arguments** | **kotlin.collections.List<kotlin.String>** | | [optional]
+**arguments** | **kotlin.collections.MutableList<kotlin.String>** | | [optional]
diff --git a/api-model-v1-41/docs/RegistryServiceConfig.md b/api-model-v1-41/docs/RegistryServiceConfig.md
index 302fb7be..052a1274 100644
--- a/api-model-v1-41/docs/RegistryServiceConfig.md
+++ b/api-model-v1-41/docs/RegistryServiceConfig.md
@@ -4,11 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**allowNondistributableArtifactsCIDRs** | **kotlin.collections.List<kotlin.String>** | List of IP ranges to which nondistributable artifacts can be pushed, using the CIDR syntax [RFC 4632](https://tools.ietf.org/html/4632). Some images (for example, Windows base images) contain artifacts whose distribution is restricted by license. When these images are pushed to a registry, restricted artifacts are not included. This configuration override this behavior, and enables the daemon to push nondistributable artifacts to all registries whose resolved IP address is within the subnet described by the CIDR syntax. This option is useful when pushing images containing nondistributable artifacts to a registry on an air-gapped network so hosts on that network can pull the images without connecting to another server. > **Warning**: Nondistributable artifacts typically have restrictions > on how and where they can be distributed and shared. Only use this > feature to push artifacts to private registries and ensure that you > are in compliance with any terms that cover redistributing > nondistributable artifacts. | [optional]
-**allowNondistributableArtifactsHostnames** | **kotlin.collections.List<kotlin.String>** | List of registry hostnames to which nondistributable artifacts can be pushed, using the format `<hostname>[:<port>]` or `<IP address>[:<port>]`. Some images (for example, Windows base images) contain artifacts whose distribution is restricted by license. When these images are pushed to a registry, restricted artifacts are not included. This configuration override this behavior for the specified registries. This option is useful when pushing images containing nondistributable artifacts to a registry on an air-gapped network so hosts on that network can pull the images without connecting to another server. > **Warning**: Nondistributable artifacts typically have restrictions > on how and where they can be distributed and shared. Only use this > feature to push artifacts to private registries and ensure that you > are in compliance with any terms that cover redistributing > nondistributable artifacts. | [optional]
-**insecureRegistryCIDRs** | **kotlin.collections.List<kotlin.String>** | List of IP ranges of insecure registries, using the CIDR syntax ([RFC 4632](https://tools.ietf.org/html/4632)). Insecure registries accept un-encrypted (HTTP) and/or untrusted (HTTPS with certificates from unknown CAs) communication. By default, local registries (`127.0.0.0/8`) are configured as insecure. All other registries are secure. Communicating with an insecure registry is not possible if the daemon assumes that registry is secure. This configuration override this behavior, insecure communication with registries whose resolved IP address is within the subnet described by the CIDR syntax. Registries can also be marked insecure by hostname. Those registries are listed under `IndexConfigs` and have their `Secure` field set to `false`. > **Warning**: Using this option can be useful when running a local > registry, but introduces security vulnerabilities. This option > should therefore ONLY be used for testing purposes. For increased > security, users should add their CA to their system's list of trusted > CAs instead of enabling this option. | [optional]
-**indexConfigs** | [**kotlin.collections.Map<kotlin.String, IndexInfo>**](IndexInfo.md) | | [optional]
-**mirrors** | **kotlin.collections.List<kotlin.String>** | List of registry URLs that act as a mirror for the official (`docker.io`) registry. | [optional]
+**allowNondistributableArtifactsCIDRs** | **kotlin.collections.MutableList<kotlin.String>** | List of IP ranges to which nondistributable artifacts can be pushed, using the CIDR syntax [RFC 4632](https://tools.ietf.org/html/4632). Some images (for example, Windows base images) contain artifacts whose distribution is restricted by license. When these images are pushed to a registry, restricted artifacts are not included. This configuration override this behavior, and enables the daemon to push nondistributable artifacts to all registries whose resolved IP address is within the subnet described by the CIDR syntax. This option is useful when pushing images containing nondistributable artifacts to a registry on an air-gapped network so hosts on that network can pull the images without connecting to another server. > **Warning**: Nondistributable artifacts typically have restrictions > on how and where they can be distributed and shared. Only use this > feature to push artifacts to private registries and ensure that you > are in compliance with any terms that cover redistributing > nondistributable artifacts. | [optional]
+**allowNondistributableArtifactsHostnames** | **kotlin.collections.MutableList<kotlin.String>** | List of registry hostnames to which nondistributable artifacts can be pushed, using the format `<hostname>[:<port>]` or `<IP address>[:<port>]`. Some images (for example, Windows base images) contain artifacts whose distribution is restricted by license. When these images are pushed to a registry, restricted artifacts are not included. This configuration override this behavior for the specified registries. This option is useful when pushing images containing nondistributable artifacts to a registry on an air-gapped network so hosts on that network can pull the images without connecting to another server. > **Warning**: Nondistributable artifacts typically have restrictions > on how and where they can be distributed and shared. Only use this > feature to push artifacts to private registries and ensure that you > are in compliance with any terms that cover redistributing > nondistributable artifacts. | [optional]
+**insecureRegistryCIDRs** | **kotlin.collections.MutableList<kotlin.String>** | List of IP ranges of insecure registries, using the CIDR syntax ([RFC 4632](https://tools.ietf.org/html/4632)). Insecure registries accept un-encrypted (HTTP) and/or untrusted (HTTPS with certificates from unknown CAs) communication. By default, local registries (`127.0.0.0/8`) are configured as insecure. All other registries are secure. Communicating with an insecure registry is not possible if the daemon assumes that registry is secure. This configuration override this behavior, insecure communication with registries whose resolved IP address is within the subnet described by the CIDR syntax. Registries can also be marked insecure by hostname. Those registries are listed under `IndexConfigs` and have their `Secure` field set to `false`. > **Warning**: Using this option can be useful when running a local > registry, but introduces security vulnerabilities. This option > should therefore ONLY be used for testing purposes. For increased > security, users should add their CA to their system's list of trusted > CAs instead of enabling this option. | [optional]
+**indexConfigs** | [**kotlin.collections.MutableMap<kotlin.String, IndexInfo>**](IndexInfo.md) | | [optional]
+**mirrors** | **kotlin.collections.MutableList<kotlin.String>** | List of registry URLs that act as a mirror for the official (`docker.io`) registry. | [optional]
diff --git a/api-model-v1-41/docs/ResourceObject.md b/api-model-v1-41/docs/ResourceObject.md
index da4e7033..ef6d3b71 100644
--- a/api-model-v1-41/docs/ResourceObject.md
+++ b/api-model-v1-41/docs/ResourceObject.md
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**nanoCPUs** | **kotlin.Long** | | [optional]
**memoryBytes** | **kotlin.Long** | | [optional]
-**genericResources** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional]
+**genericResources** | [**kotlin.collections.MutableList<kotlin.Any>**](kotlin.Any.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional]
diff --git a/api-model-v1-41/docs/Resources.md b/api-model-v1-41/docs/Resources.md
index 4fea9775..3a1a75a3 100644
--- a/api-model-v1-41/docs/Resources.md
+++ b/api-model-v1-41/docs/Resources.md
@@ -8,20 +8,20 @@ Name | Type | Description | Notes
**memory** | **kotlin.Long** | Memory limit in bytes. | [optional]
**cgroupParent** | **kotlin.String** | Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. | [optional]
**blkioWeight** | **kotlin.Int** | Block IO weight (relative weight). | [optional]
-**blkioWeightDevice** | [**kotlin.collections.List<ResourcesBlkioWeightDevice>**](ResourcesBlkioWeightDevice.md) | Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` | [optional]
-**blkioDeviceReadBps** | [**kotlin.collections.List<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
-**blkioDeviceWriteBps** | [**kotlin.collections.List<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
-**blkioDeviceReadIOps** | [**kotlin.collections.List<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
-**blkioDeviceWriteIOps** | [**kotlin.collections.List<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (IO per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
+**blkioWeightDevice** | [**kotlin.collections.MutableList<ResourcesBlkioWeightDevice>**](ResourcesBlkioWeightDevice.md) | Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` | [optional]
+**blkioDeviceReadBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
+**blkioDeviceWriteBps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
+**blkioDeviceReadIOps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
+**blkioDeviceWriteIOps** | [**kotlin.collections.MutableList<ThrottleDevice>**](ThrottleDevice.md) | Limit write rate (IO per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` | [optional]
**cpuPeriod** | **kotlin.Long** | The length of a CPU period in microseconds. | [optional]
**cpuQuota** | **kotlin.Long** | Microseconds of CPU time that the container can get in a CPU period. | [optional]
**cpuRealtimePeriod** | **kotlin.Long** | The length of a CPU real-time period in microseconds. Set to 0 to allocate no time allocated to real-time tasks. | [optional]
**cpuRealtimeRuntime** | **kotlin.Long** | The length of a CPU real-time runtime in microseconds. Set to 0 to allocate no time allocated to real-time tasks. | [optional]
**cpusetCpus** | **kotlin.String** | CPUs in which to allow execution (e.g., `0-3`, `0,1`). | [optional]
**cpusetMems** | **kotlin.String** | Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems. | [optional]
-**devices** | [**kotlin.collections.List<DeviceMapping>**](DeviceMapping.md) | A list of devices to add to the container. | [optional]
-**deviceCgroupRules** | **kotlin.collections.List<kotlin.String>** | a list of cgroup rules to apply to the container | [optional]
-**deviceRequests** | [**kotlin.collections.List<DeviceRequest>**](DeviceRequest.md) | A list of requests for devices to be sent to device drivers. | [optional]
+**devices** | [**kotlin.collections.MutableList<DeviceMapping>**](DeviceMapping.md) | A list of devices to add to the container. | [optional]
+**deviceCgroupRules** | **kotlin.collections.MutableList<kotlin.String>** | a list of cgroup rules to apply to the container | [optional]
+**deviceRequests** | [**kotlin.collections.MutableList<DeviceRequest>**](DeviceRequest.md) | A list of requests for devices to be sent to device drivers. | [optional]
**kernelMemory** | **kotlin.Long** | Kernel memory limit in bytes. <p><br /></p> > **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. | [optional]
**kernelMemoryTCP** | **kotlin.Long** | Hard limit for kernel TCP buffer memory (in bytes). | [optional]
**memoryReservation** | **kotlin.Long** | Memory soft limit in bytes. | [optional]
@@ -29,9 +29,9 @@ Name | Type | Description | Notes
**memorySwappiness** | **kotlin.Long** | Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100. | [optional]
**nanoCpus** | **kotlin.Long** | CPU quota in units of 10<sup>-9</sup> CPUs. | [optional]
**oomKillDisable** | **kotlin.Boolean** | Disable OOM Killer for the container. | [optional]
-**init** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional]
+**`init`** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional]
**pidsLimit** | **kotlin.Long** | Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change. | [optional]
-**ulimits** | [**kotlin.collections.List<ResourcesUlimits>**](ResourcesUlimits.md) | A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` | [optional]
+**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimits>**](ResourcesUlimits.md) | A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` | [optional]
**cpuCount** | **kotlin.Long** | The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional]
**cpuPercent** | **kotlin.Long** | The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. | [optional]
**ioMaximumIOps** | **kotlin.Long** | Maximum IOps for the container system drive (Windows only) | [optional]
diff --git a/api-model-v1-41/docs/RestartPolicy.md b/api-model-v1-41/docs/RestartPolicy.md
index b0e3950f..175cf3e3 100644
--- a/api-model-v1-41/docs/RestartPolicy.md
+++ b/api-model-v1-41/docs/RestartPolicy.md
@@ -4,11 +4,11 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**name** | [**inline**](#NameEnum) | - Empty string means not to restart - `no` Do not automatically restart - `always` Always restart - `unless-stopped` Restart always except when the user has manually stopped the container - `on-failure` Restart only when the container exit code is non-zero | [optional]
+**name** | [**inline**](#Name) | - Empty string means not to restart - `no` Do not automatically restart - `always` Always restart - `unless-stopped` Restart always except when the user has manually stopped the container - `on-failure` Restart only when the container exit code is non-zero | [optional]
**maximumRetryCount** | **kotlin.Int** | If `on-failure` is used, the number of times to retry before giving up. | [optional]
-
+
## Enum: Name
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/Runtime.md b/api-model-v1-41/docs/Runtime.md
index 36487203..2d06eca7 100644
--- a/api-model-v1-41/docs/Runtime.md
+++ b/api-model-v1-41/docs/Runtime.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**path** | **kotlin.String** | Name and, optional, path, of the OCI executable binary. If the path is omitted, the daemon searches the host's `$PATH` for the binary and uses the first result. | [optional]
-**runtimeArgs** | **kotlin.collections.List<kotlin.String>** | List of command-line arguments to pass to the runtime when invoked. | [optional]
+**runtimeArgs** | **kotlin.collections.MutableList<kotlin.String>** | List of command-line arguments to pass to the runtime when invoked. | [optional]
diff --git a/api-model-v1-41/docs/SecretSpec.md b/api-model-v1-41/docs/SecretSpec.md
index b6116ec3..38118de3 100644
--- a/api-model-v1-41/docs/SecretSpec.md
+++ b/api-model-v1-41/docs/SecretSpec.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | User-defined name of the secret. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
-**data** | **kotlin.String** | Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) data to store as secret. This field is only used to _create_ a secret, and is not returned by other endpoints. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**`data`** | **kotlin.String** | Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) data to store as secret. This field is only used to _create_ a secret, and is not returned by other endpoints. | [optional]
**driver** | [**Driver**](Driver.md) | | [optional]
**templating** | [**Driver**](Driver.md) | | [optional]
diff --git a/api-model-v1-41/docs/ServiceEndpoint.md b/api-model-v1-41/docs/ServiceEndpoint.md
index fe0470fe..ca527f64 100644
--- a/api-model-v1-41/docs/ServiceEndpoint.md
+++ b/api-model-v1-41/docs/ServiceEndpoint.md
@@ -5,8 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**spec** | [**EndpointSpec**](EndpointSpec.md) | | [optional]
-**ports** | [**kotlin.collections.List<EndpointPortConfig>**](EndpointPortConfig.md) | | [optional]
-**virtualIPs** | [**kotlin.collections.List<ServiceEndpointVirtualIPs>**](ServiceEndpointVirtualIPs.md) | | [optional]
+**ports** | [**kotlin.collections.MutableList<EndpointPortConfig>**](EndpointPortConfig.md) | | [optional]
+**virtualIPs** | [**kotlin.collections.MutableList<ServiceEndpointVirtualIPs>**](ServiceEndpointVirtualIPs.md) | | [optional]
diff --git a/api-model-v1-41/docs/ServiceSpec.md b/api-model-v1-41/docs/ServiceSpec.md
index 55251900..9b593122 100644
--- a/api-model-v1-41/docs/ServiceSpec.md
+++ b/api-model-v1-41/docs/ServiceSpec.md
@@ -5,12 +5,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | Name of the service. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
**taskTemplate** | [**TaskSpec**](TaskSpec.md) | | [optional]
**mode** | [**ServiceSpecMode**](ServiceSpecMode.md) | | [optional]
**updateConfig** | [**ServiceSpecUpdateConfig**](ServiceSpecUpdateConfig.md) | | [optional]
**rollbackConfig** | [**ServiceSpecRollbackConfig**](ServiceSpecRollbackConfig.md) | | [optional]
-**networks** | [**kotlin.collections.List<NetworkAttachmentConfig>**](NetworkAttachmentConfig.md) | Specifies which networks the service should attach to. | [optional]
+**networks** | [**kotlin.collections.MutableList<NetworkAttachmentConfig>**](NetworkAttachmentConfig.md) | Specifies which networks the service should attach to. | [optional]
**endpointSpec** | [**EndpointSpec**](EndpointSpec.md) | | [optional]
diff --git a/api-model-v1-41/docs/ServiceSpecRollbackConfig.md b/api-model-v1-41/docs/ServiceSpecRollbackConfig.md
index 00eb640f..4dcd754b 100644
--- a/api-model-v1-41/docs/ServiceSpecRollbackConfig.md
+++ b/api-model-v1-41/docs/ServiceSpecRollbackConfig.md
@@ -6,20 +6,20 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**parallelism** | **kotlin.Long** | Maximum number of tasks to be rolled back in one iteration (0 means unlimited parallelism). | [optional]
**delay** | **kotlin.Long** | Amount of time between rollback iterations, in nanoseconds. | [optional]
-**failureAction** | [**inline**](#FailureActionEnum) | Action to take if an rolled back task fails to run, or stops running during the rollback. | [optional]
+**failureAction** | [**inline**](#FailureAction) | Action to take if an rolled back task fails to run, or stops running during the rollback. | [optional]
**monitor** | **kotlin.Long** | Amount of time to monitor each rolled back task for failures, in nanoseconds. | [optional]
**maxFailureRatio** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | The fraction of tasks that may fail during a rollback before the failure action is invoked, specified as a floating point number between 0 and 1. | [optional]
-**order** | [**inline**](#OrderEnum) | The order of operations when rolling back a task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down. | [optional]
+**order** | [**inline**](#Order) | The order of operations when rolling back a task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down. | [optional]
-
+
## Enum: FailureAction
Name | Value
---- | -----
failureAction | continue, pause
-
+
## Enum: Order
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/ServiceSpecUpdateConfig.md b/api-model-v1-41/docs/ServiceSpecUpdateConfig.md
index 347065a7..26fd825d 100644
--- a/api-model-v1-41/docs/ServiceSpecUpdateConfig.md
+++ b/api-model-v1-41/docs/ServiceSpecUpdateConfig.md
@@ -6,20 +6,20 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**parallelism** | **kotlin.Long** | Maximum number of tasks to be updated in one iteration (0 means unlimited parallelism). | [optional]
**delay** | **kotlin.Long** | Amount of time between updates, in nanoseconds. | [optional]
-**failureAction** | [**inline**](#FailureActionEnum) | Action to take if an updated task fails to run, or stops running during the update. | [optional]
+**failureAction** | [**inline**](#FailureAction) | Action to take if an updated task fails to run, or stops running during the update. | [optional]
**monitor** | **kotlin.Long** | Amount of time to monitor each updated task for failures, in nanoseconds. | [optional]
**maxFailureRatio** | [**java.math.BigDecimal**](java.math.BigDecimal.md) | The fraction of tasks that may fail during an update before the failure action is invoked, specified as a floating point number between 0 and 1. | [optional]
-**order** | [**inline**](#OrderEnum) | The order of operations when rolling out an updated task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down. | [optional]
+**order** | [**inline**](#Order) | The order of operations when rolling out an updated task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down. | [optional]
-
+
## Enum: FailureAction
Name | Value
---- | -----
failureAction | continue, pause, rollback
-
+
## Enum: Order
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/ServiceUpdateResponse.md b/api-model-v1-41/docs/ServiceUpdateResponse.md
index 70d64abb..6de72db5 100644
--- a/api-model-v1-41/docs/ServiceUpdateResponse.md
+++ b/api-model-v1-41/docs/ServiceUpdateResponse.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**warnings** | **kotlin.collections.List<kotlin.String>** | Optional warning messages | [optional]
+**warnings** | **kotlin.collections.MutableList<kotlin.String>** | Optional warning messages | [optional]
diff --git a/api-model-v1-41/docs/ServiceUpdateStatus.md b/api-model-v1-41/docs/ServiceUpdateStatus.md
index 9934f363..50b28450 100644
--- a/api-model-v1-41/docs/ServiceUpdateStatus.md
+++ b/api-model-v1-41/docs/ServiceUpdateStatus.md
@@ -4,13 +4,13 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**state** | [**inline**](#StateEnum) | | [optional]
+**state** | [**inline**](#State) | | [optional]
**startedAt** | **kotlin.String** | | [optional]
**completedAt** | **kotlin.String** | | [optional]
**message** | **kotlin.String** | | [optional]
-
+
## Enum: State
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/Swarm.md b/api-model-v1-41/docs/Swarm.md
index 2912c660..b0eb5255 100644
--- a/api-model-v1-41/docs/Swarm.md
+++ b/api-model-v1-41/docs/Swarm.md
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
**tlSInfo** | [**TLSInfo**](TLSInfo.md) | | [optional]
**rootRotationInProgress** | **kotlin.Boolean** | Whether there is currently a root CA rotation in progress for the swarm | [optional]
**dataPathPort** | **kotlin.Int** | DataPathPort specifies the data path port number for data traffic. Acceptable port range is 1024 to 49151. If no port is set or is set to 0, the default port (4789) is used. | [optional]
-**defaultAddrPool** | **kotlin.collections.List<kotlin.String>** | Default Address Pool specifies default subnet pools for global scope networks. | [optional]
+**defaultAddrPool** | **kotlin.collections.MutableList<kotlin.String>** | Default Address Pool specifies default subnet pools for global scope networks. | [optional]
**subnetSize** | **kotlin.Int** | SubnetSize specifies the subnet size of the networks created from the default subnet pool. | [optional]
**joinTokens** | [**JoinTokens**](JoinTokens.md) | | [optional]
diff --git a/api-model-v1-41/docs/SwarmInfo.md b/api-model-v1-41/docs/SwarmInfo.md
index c3a74a34..9dea5c10 100644
--- a/api-model-v1-41/docs/SwarmInfo.md
+++ b/api-model-v1-41/docs/SwarmInfo.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**localNodeState** | [**LocalNodeState**](LocalNodeState.md) | | [optional]
**controlAvailable** | **kotlin.Boolean** | | [optional]
**error** | **kotlin.String** | | [optional]
-**remoteManagers** | [**kotlin.collections.List<PeerNode>**](PeerNode.md) | List of ID's and addresses of other managers in the swarm. | [optional]
+**remoteManagers** | [**kotlin.collections.MutableList<PeerNode>**](PeerNode.md) | List of ID's and addresses of other managers in the swarm. | [optional]
**nodes** | **kotlin.Int** | Total number of nodes in the swarm. | [optional]
**managers** | **kotlin.Int** | Total number of managers in the swarm. | [optional]
**cluster** | [**ClusterInfo**](ClusterInfo.md) | | [optional]
diff --git a/api-model-v1-41/docs/SwarmInitRequest.md b/api-model-v1-41/docs/SwarmInitRequest.md
index 953330e9..9c3d9c68 100644
--- a/api-model-v1-41/docs/SwarmInitRequest.md
+++ b/api-model-v1-41/docs/SwarmInitRequest.md
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
**advertiseAddr** | **kotlin.String** | Externally reachable address advertised to other nodes. This can either be an address/port combination in the form `192.168.1.1:4567`, or an interface followed by a port number, like `eth0:4567`. If the port number is omitted, the port number from the listen address is used. If `AdvertiseAddr` is not specified, it will be automatically detected when possible. | [optional]
**dataPathAddr** | **kotlin.String** | Address or interface to use for data path traffic (format: `<ip|interface>`), for example, `192.168.1.1`, or an interface, like `eth0`. If `DataPathAddr` is unspecified, the same address as `AdvertiseAddr` is used. The `DataPathAddr` specifies the address that global scope network drivers will publish towards other nodes in order to reach the containers running on this node. Using this parameter it is possible to separate the container data traffic from the management traffic of the cluster. | [optional]
**dataPathPort** | **kotlin.Int** | DataPathPort specifies the data path port number for data traffic. Acceptable port range is 1024 to 49151. if no port is set or is set to 0, default port 4789 will be used. | [optional]
-**defaultAddrPool** | **kotlin.collections.List<kotlin.String>** | Default Address Pool specifies default subnet pools for global scope networks. | [optional]
+**defaultAddrPool** | **kotlin.collections.MutableList<kotlin.String>** | Default Address Pool specifies default subnet pools for global scope networks. | [optional]
**forceNewCluster** | **kotlin.Boolean** | Force creation of a new swarm. | [optional]
**subnetSize** | **kotlin.Int** | SubnetSize specifies the subnet size of the networks created from the default subnet pool. | [optional]
**spec** | [**SwarmSpec**](SwarmSpec.md) | | [optional]
diff --git a/api-model-v1-41/docs/SwarmJoinRequest.md b/api-model-v1-41/docs/SwarmJoinRequest.md
index ead4a099..5dd4fa1e 100644
--- a/api-model-v1-41/docs/SwarmJoinRequest.md
+++ b/api-model-v1-41/docs/SwarmJoinRequest.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**listenAddr** | **kotlin.String** | Listen address used for inter-manager communication if the node gets promoted to manager, as well as determining the networking interface used for the VXLAN Tunnel Endpoint (VTEP). | [optional]
**advertiseAddr** | **kotlin.String** | Externally reachable address advertised to other nodes. This can either be an address/port combination in the form `192.168.1.1:4567`, or an interface followed by a port number, like `eth0:4567`. If the port number is omitted, the port number from the listen address is used. If `AdvertiseAddr` is not specified, it will be automatically detected when possible. | [optional]
**dataPathAddr** | **kotlin.String** | Address or interface to use for data path traffic (format: `<ip|interface>`), for example, `192.168.1.1`, or an interface, like `eth0`. If `DataPathAddr` is unspecified, the same address as `AdvertiseAddr` is used. The `DataPathAddr` specifies the address that global scope network drivers will publish towards other nodes in order to reach the containers running on this node. Using this parameter it is possible to separate the container data traffic from the management traffic of the cluster. | [optional]
-**remoteAddrs** | **kotlin.collections.List<kotlin.String>** | Addresses of manager nodes already participating in the swarm. | [optional]
+**remoteAddrs** | **kotlin.collections.MutableList<kotlin.String>** | Addresses of manager nodes already participating in the swarm. | [optional]
**joinToken** | **kotlin.String** | Secret token for joining this swarm. | [optional]
diff --git a/api-model-v1-41/docs/SwarmSpec.md b/api-model-v1-41/docs/SwarmSpec.md
index 2485cc94..5a6a4a9f 100644
--- a/api-model-v1-41/docs/SwarmSpec.md
+++ b/api-model-v1-41/docs/SwarmSpec.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | Name of the swarm. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
**orchestration** | [**SwarmSpecOrchestration**](SwarmSpecOrchestration.md) | | [optional]
**raft** | [**SwarmSpecRaft**](SwarmSpecRaft.md) | | [optional]
**dispatcher** | [**SwarmSpecDispatcher**](SwarmSpecDispatcher.md) | | [optional]
diff --git a/api-model-v1-41/docs/SwarmSpecCAConfig.md b/api-model-v1-41/docs/SwarmSpecCAConfig.md
index 355ae40d..172ee698 100644
--- a/api-model-v1-41/docs/SwarmSpecCAConfig.md
+++ b/api-model-v1-41/docs/SwarmSpecCAConfig.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**nodeCertExpiry** | **kotlin.Long** | The duration node certificates are issued for. | [optional]
-**externalCAs** | [**kotlin.collections.List<SwarmSpecCAConfigExternalCAs>**](SwarmSpecCAConfigExternalCAs.md) | Configuration for forwarding signing requests to an external certificate authority. | [optional]
+**externalCAs** | [**kotlin.collections.MutableList<SwarmSpecCAConfigExternalCAs>**](SwarmSpecCAConfigExternalCAs.md) | Configuration for forwarding signing requests to an external certificate authority. | [optional]
**signingCACert** | **kotlin.String** | The desired signing CA certificate for all swarm node TLS leaf certificates, in PEM format. | [optional]
**signingCAKey** | **kotlin.String** | The desired signing CA key for all swarm node TLS leaf certificates, in PEM format. | [optional]
**forceRotate** | **kotlin.Int** | An integer whose purpose is to force swarm to generate a new signing CA certificate and key, if none have been specified in `SigningCACert` and `SigningCAKey` | [optional]
diff --git a/api-model-v1-41/docs/SwarmSpecCAConfigExternalCAs.md b/api-model-v1-41/docs/SwarmSpecCAConfigExternalCAs.md
index e9c51b57..bed08464 100644
--- a/api-model-v1-41/docs/SwarmSpecCAConfigExternalCAs.md
+++ b/api-model-v1-41/docs/SwarmSpecCAConfigExternalCAs.md
@@ -4,13 +4,13 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**protocol** | [**inline**](#ProtocolEnum) | Protocol for communication with the external CA (currently only `cfssl` is supported). | [optional]
+**protocol** | [**inline**](#Protocol) | Protocol for communication with the external CA (currently only `cfssl` is supported). | [optional]
**URL** | **kotlin.String** | URL where certificate signing requests should be sent. | [optional]
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | An object with key/value pairs that are interpreted as protocol-specific options for the external CA driver. | [optional]
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | An object with key/value pairs that are interpreted as protocol-specific options for the external CA driver. | [optional]
**caCert** | **kotlin.String** | The root CA certificate (in PEM format) this external CA uses to issue TLS certificates (assumed to be to the current swarm root CA certificate if not provided). | [optional]
-
+
## Enum: Protocol
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/SwarmSpecTaskDefaultsLogDriver.md b/api-model-v1-41/docs/SwarmSpecTaskDefaultsLogDriver.md
index 6ad5aa4e..0f0df03c 100644
--- a/api-model-v1-41/docs/SwarmSpecTaskDefaultsLogDriver.md
+++ b/api-model-v1-41/docs/SwarmSpecTaskDefaultsLogDriver.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | The log driver to use as a default for new tasks. | [optional]
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Driver-specific options for the selectd log driver, specified as key/value pairs. | [optional]
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Driver-specific options for the selectd log driver, specified as key/value pairs. | [optional]
diff --git a/api-model-v1-41/docs/SystemDataUsageResponse.md b/api-model-v1-41/docs/SystemDataUsageResponse.md
index 749b7930..919d9273 100644
--- a/api-model-v1-41/docs/SystemDataUsageResponse.md
+++ b/api-model-v1-41/docs/SystemDataUsageResponse.md
@@ -5,10 +5,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**layersSize** | **kotlin.Long** | | [optional]
-**images** | [**kotlin.collections.List<ImageSummary>**](ImageSummary.md) | | [optional]
-**containers** | [**kotlin.collections.List<ContainerSummary>**](ContainerSummary.md) | | [optional]
-**volumes** | [**kotlin.collections.List<Volume>**](Volume.md) | | [optional]
-**buildCache** | [**kotlin.collections.List<BuildCache>**](BuildCache.md) | | [optional]
+**images** | [**kotlin.collections.MutableList<ImageSummary>**](ImageSummary.md) | | [optional]
+**containers** | [**kotlin.collections.MutableList<ContainerSummary>**](ContainerSummary.md) | | [optional]
+**volumes** | [**kotlin.collections.MutableList<Volume>**](Volume.md) | | [optional]
+**buildCache** | [**kotlin.collections.MutableList<BuildCache>**](BuildCache.md) | | [optional]
diff --git a/api-model-v1-41/docs/SystemInfo.md b/api-model-v1-41/docs/SystemInfo.md
index e7fa6335..a9c819e7 100644
--- a/api-model-v1-41/docs/SystemInfo.md
+++ b/api-model-v1-41/docs/SystemInfo.md
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
**containersStopped** | **kotlin.Int** | Number of containers with status `\"stopped\"`. | [optional]
**images** | **kotlin.Int** | Total number of images on the host. Both _tagged_ and _untagged_ (dangling) images are counted. | [optional]
**driver** | **kotlin.String** | Name of the storage driver in use. | [optional]
-**driverStatus** | **kotlin.collections.List<kotlin.collections.List<kotlin.String>>** | Information specific to the storage driver, provided as \"label\" / \"value\" pairs. This information is provided by the storage driver, and formatted in a way consistent with the output of `docker info` on the command line. <p><br /></p> > **Note**: The information returned in this field, including the > formatting of values and labels, should not be considered stable, > and may change without notice. | [optional]
+**driverStatus** | **kotlin.collections.MutableList<kotlin.collections.MutableList<kotlin.String>>** | Information specific to the storage driver, provided as \"label\" / \"value\" pairs. This information is provided by the storage driver, and formatted in a way consistent with the output of `docker info` on the command line. <p><br /></p> > **Note**: The information returned in this field, including the > formatting of values and labels, should not be considered stable, > and may change without notice. | [optional]
**dockerRootDir** | **kotlin.String** | Root directory of persistent Docker state. Defaults to `/var/lib/docker` on Linux, and `C:\\ProgramData\\docker` on Windows. | [optional]
**plugins** | [**PluginsInfo**](PluginsInfo.md) | | [optional]
**memoryLimit** | **kotlin.Boolean** | Indicates if the host has memory limit support enabled. | [optional]
@@ -31,8 +31,8 @@ Name | Type | Description | Notes
**ngoroutines** | **kotlin.Int** | The number of goroutines that currently exist. This information is only returned if debug-mode is enabled. | [optional]
**systemTime** | **kotlin.String** | Current system-time in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. | [optional]
**loggingDriver** | **kotlin.String** | The logging driver to use as a default for new containers. | [optional]
-**cgroupDriver** | [**inline**](#CgroupDriverEnum) | The driver to use for managing cgroups. | [optional]
-**cgroupVersion** | [**inline**](#CgroupVersionEnum) | The version of the cgroup. | [optional]
+**cgroupDriver** | [**inline**](#CgroupDriver) | The driver to use for managing cgroups. | [optional]
+**cgroupVersion** | [**inline**](#CgroupVersion) | The version of the cgroup. | [optional]
**neventsListener** | **kotlin.Int** | Number of event listeners subscribed. | [optional]
**kernelVersion** | **kotlin.String** | Kernel version of the host. On Linux, this information obtained from `uname`. On Windows this information is queried from the <kbd>HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows NT\\\\CurrentVersion\\\\</kbd> registry value, for example _\"10.0 14393 (14393.1198.amd64fre.rs1_release_sec.170427-1353)\"_. | [optional]
**operatingSystem** | **kotlin.String** | Name of the host's operating system, for example: \"Ubuntu 16.04.2 LTS\" or \"Windows Server 2016 Datacenter\" | [optional]
@@ -43,46 +43,46 @@ Name | Type | Description | Notes
**memTotal** | **kotlin.Long** | Total amount of physical memory available on the host, in bytes. | [optional]
**indexServerAddress** | **kotlin.String** | Address / URL of the index server that is used for image search, and as a default for user authentication for Docker Hub and Docker Cloud. | [optional]
**registryConfig** | [**RegistryServiceConfig**](RegistryServiceConfig.md) | | [optional]
-**genericResources** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional]
+**genericResources** | [**kotlin.collections.MutableList<kotlin.Any>**](kotlin.Any.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional]
**httpProxy** | **kotlin.String** | HTTP-proxy configured for the daemon. This value is obtained from the [`HTTP_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html) environment variable. Credentials ([user info component](https://tools.ietf.org/html/rfc3986#section-3.2.1)) in the proxy URL are masked in the API response. Containers do not automatically inherit this configuration. | [optional]
**httpsProxy** | **kotlin.String** | HTTPS-proxy configured for the daemon. This value is obtained from the [`HTTPS_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html) environment variable. Credentials ([user info component](https://tools.ietf.org/html/rfc3986#section-3.2.1)) in the proxy URL are masked in the API response. Containers do not automatically inherit this configuration. | [optional]
**noProxy** | **kotlin.String** | Comma-separated list of domain extensions for which no proxy should be used. This value is obtained from the [`NO_PROXY`](https://www.gnu.org/software/wget/manual/html_node/Proxies.html) environment variable. Containers do not automatically inherit this configuration. | [optional]
**name** | **kotlin.String** | Hostname of the host. | [optional]
-**labels** | **kotlin.collections.List<kotlin.String>** | User-defined labels (key/value metadata) as set on the daemon. <p><br /></p> > **Note**: When part of a Swarm, nodes can both have _daemon_ labels, > set through the daemon configuration, and _node_ labels, set from a > manager node in the Swarm. Node labels are not included in this > field. Node labels can be retrieved using the `/nodes/(id)` endpoint > on a manager node in the Swarm. | [optional]
+**labels** | **kotlin.collections.MutableList<kotlin.String>** | User-defined labels (key/value metadata) as set on the daemon. <p><br /></p> > **Note**: When part of a Swarm, nodes can both have _daemon_ labels, > set through the daemon configuration, and _node_ labels, set from a > manager node in the Swarm. Node labels are not included in this > field. Node labels can be retrieved using the `/nodes/(id)` endpoint > on a manager node in the Swarm. | [optional]
**experimentalBuild** | **kotlin.Boolean** | Indicates if experimental features are enabled on the daemon. | [optional]
**serverVersion** | **kotlin.String** | Version string of the daemon. > **Note**: the [standalone Swarm API](https://docs.docker.com/swarm/swarm-api/) > returns the Swarm version instead of the daemon version, for example > `swarm/1.2.8`. | [optional]
**clusterStore** | **kotlin.String** | URL of the distributed storage backend. The storage backend is used for multihost networking (to store network and endpoint information) and by the node discovery mechanism. <p><br /></p> > **Deprecated**: This field is only propagated when using standalone Swarm > mode, and overlay networking using an external k/v store. Overlay > networks with Swarm mode enabled use the built-in raft store, and > this field will be empty. | [optional]
**clusterAdvertise** | **kotlin.String** | The network endpoint that the Engine advertises for the purpose of node discovery. ClusterAdvertise is a `host:port` combination on which the daemon is reachable by other hosts. <p><br /></p> > **Deprecated**: This field is only propagated when using standalone Swarm > mode, and overlay networking using an external k/v store. Overlay > networks with Swarm mode enabled use the built-in raft store, and > this field will be empty. | [optional]
-**runtimes** | [**kotlin.collections.Map<kotlin.String, Runtime>**](Runtime.md) | List of [OCI compliant](https://github.com/opencontainers/runtime-spec) runtimes configured on the daemon. Keys hold the \"name\" used to reference the runtime. The Docker daemon relies on an OCI compliant runtime (invoked via the `containerd` daemon) as its interface to the Linux kernel namespaces, cgroups, and SELinux. The default runtime is `runc`, and automatically configured. Additional runtimes can be configured by the user and will be listed here. | [optional]
+**runtimes** | [**kotlin.collections.MutableMap<kotlin.String, Runtime>**](Runtime.md) | List of [OCI compliant](https://github.com/opencontainers/runtime-spec) runtimes configured on the daemon. Keys hold the \"name\" used to reference the runtime. The Docker daemon relies on an OCI compliant runtime (invoked via the `containerd` daemon) as its interface to the Linux kernel namespaces, cgroups, and SELinux. The default runtime is `runc`, and automatically configured. Additional runtimes can be configured by the user and will be listed here. | [optional]
**defaultRuntime** | **kotlin.String** | Name of the default OCI runtime that is used when starting containers. The default can be overridden per-container at create time. | [optional]
**swarm** | [**SwarmInfo**](SwarmInfo.md) | | [optional]
**liveRestoreEnabled** | **kotlin.Boolean** | Indicates if live restore is enabled. If enabled, containers are kept running when the daemon is shutdown or upon daemon start if running containers are detected. | [optional]
-**isolation** | [**inline**](#IsolationEnum) | Represents the isolation technology to use as a default for containers. The supported values are platform-specific. If no isolation value is specified on daemon start, on Windows client, the default is `hyperv`, and on Windows server, the default is `process`. This option is currently not used on other platforms. | [optional]
+**isolation** | [**inline**](#Isolation) | Represents the isolation technology to use as a default for containers. The supported values are platform-specific. If no isolation value is specified on daemon start, on Windows client, the default is `hyperv`, and on Windows server, the default is `process`. This option is currently not used on other platforms. | [optional]
**initBinary** | **kotlin.String** | Name and, optional, path of the `docker-init` binary. If the path is omitted, the daemon searches the host's `$PATH` for the binary and uses the first result. | [optional]
**containerdCommit** | [**Commit**](Commit.md) | | [optional]
**runcCommit** | [**Commit**](Commit.md) | | [optional]
**initCommit** | [**Commit**](Commit.md) | | [optional]
-**securityOptions** | **kotlin.collections.List<kotlin.String>** | List of security features that are enabled on the daemon, such as apparmor, seccomp, SELinux, user-namespaces (userns), and rootless. Additional configuration options for each security feature may be present, and are included as a comma-separated list of key/value pairs. | [optional]
+**securityOptions** | **kotlin.collections.MutableList<kotlin.String>** | List of security features that are enabled on the daemon, such as apparmor, seccomp, SELinux, user-namespaces (userns), and rootless. Additional configuration options for each security feature may be present, and are included as a comma-separated list of key/value pairs. | [optional]
**productLicense** | **kotlin.String** | Reports a summary of the product license on the daemon. If a commercial license has been applied to the daemon, information such as number of nodes, and expiration are included. | [optional]
-**defaultAddressPools** | [**kotlin.collections.List<SystemInfoDefaultAddressPools>**](SystemInfoDefaultAddressPools.md) | List of custom default address pools for local networks, which can be specified in the daemon.json file or dockerd option. Example: a Base \"10.10.0.0/16\" with Size 24 will define the set of 256 10.10.[0-255].0/24 address pools. | [optional]
-**warnings** | **kotlin.collections.List<kotlin.String>** | List of warnings / informational messages about missing features, or issues related to the daemon configuration. These messages can be printed by the client as information to the user. | [optional]
+**defaultAddressPools** | [**kotlin.collections.MutableList<SystemInfoDefaultAddressPools>**](SystemInfoDefaultAddressPools.md) | List of custom default address pools for local networks, which can be specified in the daemon.json file or dockerd option. Example: a Base \"10.10.0.0/16\" with Size 24 will define the set of 256 10.10.[0-255].0/24 address pools. | [optional]
+**warnings** | **kotlin.collections.MutableList<kotlin.String>** | List of warnings / informational messages about missing features, or issues related to the daemon configuration. These messages can be printed by the client as information to the user. | [optional]
-
+
## Enum: CgroupDriver
Name | Value
---- | -----
cgroupDriver | cgroupfs, systemd, none
-
+
## Enum: CgroupVersion
Name | Value
---- | -----
cgroupVersion | 1, 2
-
+
## Enum: Isolation
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/SystemInfoDefaultAddressPools.md b/api-model-v1-41/docs/SystemInfoDefaultAddressPools.md
index ee6a4872..83939a12 100644
--- a/api-model-v1-41/docs/SystemInfoDefaultAddressPools.md
+++ b/api-model-v1-41/docs/SystemInfoDefaultAddressPools.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**base** | **kotlin.String** | The network address in CIDR format | [optional]
-**size** | **kotlin.Int** | The network pool size | [optional]
+**propertySize** | **kotlin.Int** | The network pool size | [optional]
diff --git a/api-model-v1-41/docs/SystemVersion.md b/api-model-v1-41/docs/SystemVersion.md
index 60c694f6..ec211bc4 100644
--- a/api-model-v1-41/docs/SystemVersion.md
+++ b/api-model-v1-41/docs/SystemVersion.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**platform** | [**SystemVersionPlatform**](SystemVersionPlatform.md) | | [optional]
-**components** | [**kotlin.collections.List<SystemVersionComponents>**](SystemVersionComponents.md) | Information about system components | [optional]
+**components** | [**kotlin.collections.MutableList<SystemVersionComponents>**](SystemVersionComponents.md) | Information about system components | [optional]
**version** | **kotlin.String** | The version of the daemon | [optional]
**apiVersion** | **kotlin.String** | The default (and highest) API version that is supported by the daemon | [optional]
**minAPIVersion** | **kotlin.String** | The minimum API version that is supported by the daemon | [optional]
diff --git a/api-model-v1-41/docs/Task.md b/api-model-v1-41/docs/Task.md
index d38af942..0ce2dcc2 100644
--- a/api-model-v1-41/docs/Task.md
+++ b/api-model-v1-41/docs/Task.md
@@ -9,12 +9,12 @@ Name | Type | Description | Notes
**createdAt** | **kotlin.String** | | [optional]
**updatedAt** | **kotlin.String** | | [optional]
**name** | **kotlin.String** | Name of the task. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
**spec** | [**TaskSpec**](TaskSpec.md) | | [optional]
**serviceID** | **kotlin.String** | The ID of the service this task is part of. | [optional]
**slot** | **kotlin.Int** | | [optional]
**nodeID** | **kotlin.String** | The ID of the node that this task is on. | [optional]
-**assignedGenericResources** | [**kotlin.collections.List<kotlin.Any>**](kotlin.Any.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional]
+**assignedGenericResources** | [**kotlin.collections.MutableList<kotlin.Any>**](kotlin.Any.md) | User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`). | [optional]
**status** | [**TaskStatus**](TaskStatus.md) | | [optional]
**desiredState** | [**TaskState**](TaskState.md) | | [optional]
**jobIteration** | [**ObjectVersion**](ObjectVersion.md) | | [optional]
diff --git a/api-model-v1-41/docs/TaskSpec.md b/api-model-v1-41/docs/TaskSpec.md
index 4a3e62c9..b008cdde 100644
--- a/api-model-v1-41/docs/TaskSpec.md
+++ b/api-model-v1-41/docs/TaskSpec.md
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
**placement** | [**TaskSpecPlacement**](TaskSpecPlacement.md) | | [optional]
**forceUpdate** | **kotlin.Int** | A counter that triggers an update even if no relevant parameters have been changed. | [optional]
**runtime** | **kotlin.String** | Runtime is the type of runtime specified for the task executor. | [optional]
-**networks** | [**kotlin.collections.List<NetworkAttachmentConfig>**](NetworkAttachmentConfig.md) | Specifies which networks the service should attach to. | [optional]
+**networks** | [**kotlin.collections.MutableList<NetworkAttachmentConfig>**](NetworkAttachmentConfig.md) | Specifies which networks the service should attach to. | [optional]
**logDriver** | [**TaskSpecLogDriver**](TaskSpecLogDriver.md) | | [optional]
diff --git a/api-model-v1-41/docs/TaskSpecContainerSpec.md b/api-model-v1-41/docs/TaskSpecContainerSpec.md
index 7a90a81e..9df6c027 100644
--- a/api-model-v1-41/docs/TaskSpecContainerSpec.md
+++ b/api-model-v1-41/docs/TaskSpecContainerSpec.md
@@ -5,35 +5,35 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**image** | **kotlin.String** | The image name to use for the container | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value data. | [optional]
-**command** | **kotlin.collections.List<kotlin.String>** | The command to be run in the image. | [optional]
-**args** | **kotlin.collections.List<kotlin.String>** | Arguments to the command. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value data. | [optional]
+**command** | **kotlin.collections.MutableList<kotlin.String>** | The command to be run in the image. | [optional]
+**args** | **kotlin.collections.MutableList<kotlin.String>** | Arguments to the command. | [optional]
**hostname** | **kotlin.String** | The hostname to use for the container, as a valid [RFC 1123](https://tools.ietf.org/html/rfc1123) hostname. | [optional]
-**env** | **kotlin.collections.List<kotlin.String>** | A list of environment variables in the form `VAR=value`. | [optional]
+**env** | **kotlin.collections.MutableList<kotlin.String>** | A list of environment variables in the form `VAR=value`. | [optional]
**dir** | **kotlin.String** | The working directory for commands to run in. | [optional]
**user** | **kotlin.String** | The user inside the container. | [optional]
-**groups** | **kotlin.collections.List<kotlin.String>** | A list of additional groups that the container process will run as. | [optional]
+**groups** | **kotlin.collections.MutableList<kotlin.String>** | A list of additional groups that the container process will run as. | [optional]
**privileges** | [**TaskSpecContainerSpecPrivileges**](TaskSpecContainerSpecPrivileges.md) | | [optional]
**TTY** | **kotlin.Boolean** | Whether a pseudo-TTY should be allocated. | [optional]
**openStdin** | **kotlin.Boolean** | Open `stdin` | [optional]
**readOnly** | **kotlin.Boolean** | Mount the container's root filesystem as read only. | [optional]
-**mounts** | [**kotlin.collections.List<Mount>**](Mount.md) | Specification for mounts to be added to containers created as part of the service. | [optional]
+**mounts** | [**kotlin.collections.MutableList<Mount>**](Mount.md) | Specification for mounts to be added to containers created as part of the service. | [optional]
**stopSignal** | **kotlin.String** | Signal to stop the container. | [optional]
**stopGracePeriod** | **kotlin.Long** | Amount of time to wait for the container to terminate before forcefully killing it. | [optional]
**healthCheck** | [**HealthConfig**](HealthConfig.md) | | [optional]
-**hosts** | **kotlin.collections.List<kotlin.String>** | A list of hostname/IP mappings to add to the container's `hosts` file. The format of extra hosts is specified in the [hosts(5)](http://man7.org/linux/man-pages/man5/hosts.5.html) man page: IP_address canonical_hostname [aliases] | [optional]
+**hosts** | **kotlin.collections.MutableList<kotlin.String>** | A list of hostname/IP mappings to add to the container's `hosts` file. The format of extra hosts is specified in the [hosts(5)](http://man7.org/linux/man-pages/man5/hosts.5.html) man page: IP_address canonical_hostname [aliases] | [optional]
**dnSConfig** | [**TaskSpecContainerSpecDNSConfig**](TaskSpecContainerSpecDNSConfig.md) | | [optional]
-**secrets** | [**kotlin.collections.List<TaskSpecContainerSpecSecrets>**](TaskSpecContainerSpecSecrets.md) | Secrets contains references to zero or more secrets that will be exposed to the service. | [optional]
-**configs** | [**kotlin.collections.List<TaskSpecContainerSpecConfigs>**](TaskSpecContainerSpecConfigs.md) | Configs contains references to zero or more configs that will be exposed to the service. | [optional]
-**isolation** | [**inline**](#IsolationEnum) | Isolation technology of the containers running the service. (Windows only) | [optional]
-**init** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional]
-**sysctls** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Set kernel namedspaced parameters (sysctls) in the container. The Sysctls option on services accepts the same sysctls as the are supported on containers. Note that while the same sysctls are supported, no guarantees or checks are made about their suitability for a clustered environment, and it's up to the user to determine whether a given sysctl will work properly in a Service. | [optional]
-**capabilityAdd** | **kotlin.collections.List<kotlin.String>** | A list of kernel capabilities to add to the default set for the container. | [optional]
-**capabilityDrop** | **kotlin.collections.List<kotlin.String>** | A list of kernel capabilities to drop from the default set for the container. | [optional]
-**ulimits** | [**kotlin.collections.List<ResourcesUlimits>**](ResourcesUlimits.md) | A list of resource limits to set in the container. For example: `{\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048}`\" | [optional]
+**secrets** | [**kotlin.collections.MutableList<TaskSpecContainerSpecSecrets>**](TaskSpecContainerSpecSecrets.md) | Secrets contains references to zero or more secrets that will be exposed to the service. | [optional]
+**configs** | [**kotlin.collections.MutableList<TaskSpecContainerSpecConfigs>**](TaskSpecContainerSpecConfigs.md) | Configs contains references to zero or more configs that will be exposed to the service. | [optional]
+**isolation** | [**inline**](#Isolation) | Isolation technology of the containers running the service. (Windows only) | [optional]
+**`init`** | **kotlin.Boolean** | Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. | [optional]
+**sysctls** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | Set kernel namedspaced parameters (sysctls) in the container. The Sysctls option on services accepts the same sysctls as the are supported on containers. Note that while the same sysctls are supported, no guarantees or checks are made about their suitability for a clustered environment, and it's up to the user to determine whether a given sysctl will work properly in a Service. | [optional]
+**capabilityAdd** | **kotlin.collections.MutableList<kotlin.String>** | A list of kernel capabilities to add to the default set for the container. | [optional]
+**capabilityDrop** | **kotlin.collections.MutableList<kotlin.String>** | A list of kernel capabilities to drop from the default set for the container. | [optional]
+**ulimits** | [**kotlin.collections.MutableList<ResourcesUlimits>**](ResourcesUlimits.md) | A list of resource limits to set in the container. For example: `{\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048}`\" | [optional]
-
+
## Enum: Isolation
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/TaskSpecContainerSpecDNSConfig.md b/api-model-v1-41/docs/TaskSpecContainerSpecDNSConfig.md
index afc9ac5d..75bff49a 100644
--- a/api-model-v1-41/docs/TaskSpecContainerSpecDNSConfig.md
+++ b/api-model-v1-41/docs/TaskSpecContainerSpecDNSConfig.md
@@ -4,9 +4,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**nameservers** | **kotlin.collections.List<kotlin.String>** | The IP addresses of the name servers. | [optional]
-**search** | **kotlin.collections.List<kotlin.String>** | A search list for host-name lookup. | [optional]
-**options** | **kotlin.collections.List<kotlin.String>** | A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.). | [optional]
+**nameservers** | **kotlin.collections.MutableList<kotlin.String>** | The IP addresses of the name servers. | [optional]
+**search** | **kotlin.collections.MutableList<kotlin.String>** | A search list for host-name lookup. | [optional]
+**options** | **kotlin.collections.MutableList<kotlin.String>** | A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.). | [optional]
diff --git a/api-model-v1-41/docs/TaskSpecLogDriver.md b/api-model-v1-41/docs/TaskSpecLogDriver.md
index e9758751..a0cfb139 100644
--- a/api-model-v1-41/docs/TaskSpecLogDriver.md
+++ b/api-model-v1-41/docs/TaskSpecLogDriver.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | | [optional]
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | | [optional]
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | | [optional]
diff --git a/api-model-v1-41/docs/TaskSpecPlacement.md b/api-model-v1-41/docs/TaskSpecPlacement.md
index 50e66b7f..2839b8c5 100644
--- a/api-model-v1-41/docs/TaskSpecPlacement.md
+++ b/api-model-v1-41/docs/TaskSpecPlacement.md
@@ -4,10 +4,10 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**constraints** | **kotlin.collections.List<kotlin.String>** | An array of constraint expressions to limit the set of nodes where a task can be scheduled. Constraint expressions can either use a _match_ (`==`) or _exclude_ (`!=`) rule. Multiple constraints find nodes that satisfy every expression (AND match). Constraints can match node or Docker Engine labels as follows: node attribute | matches | example ---------------------|--------------------------------|----------------------------------------------- `node.id` | Node ID | `node.id==2ivku8v2gvtg4` `node.hostname` | Node hostname | `node.hostname!=node-2` `node.role` | Node role (`manager`/`worker`) | `node.role==manager` `node.platform.os` | Node operating system | `node.platform.os==windows` `node.platform.arch` | Node architecture | `node.platform.arch==x86_64` `node.labels` | User-defined node labels | `node.labels.security==high` `engine.labels` | Docker Engine's labels | `engine.labels.operatingsystem==ubuntu-14.04` `engine.labels` apply to Docker Engine labels like operating system, drivers, etc. Swarm administrators add `node.labels` for operational purposes by using the [`node update endpoint`](#operation/NodeUpdate). | [optional]
-**preferences** | [**kotlin.collections.List<TaskSpecPlacementPreferences>**](TaskSpecPlacementPreferences.md) | Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence. | [optional]
+**constraints** | **kotlin.collections.MutableList<kotlin.String>** | An array of constraint expressions to limit the set of nodes where a task can be scheduled. Constraint expressions can either use a _match_ (`==`) or _exclude_ (`!=`) rule. Multiple constraints find nodes that satisfy every expression (AND match). Constraints can match node or Docker Engine labels as follows: node attribute | matches | example ---------------------|--------------------------------|----------------------------------------------- `node.id` | Node ID | `node.id==2ivku8v2gvtg4` `node.hostname` | Node hostname | `node.hostname!=node-2` `node.role` | Node role (`manager`/`worker`) | `node.role==manager` `node.platform.os` | Node operating system | `node.platform.os==windows` `node.platform.arch` | Node architecture | `node.platform.arch==x86_64` `node.labels` | User-defined node labels | `node.labels.security==high` `engine.labels` | Docker Engine's labels | `engine.labels.operatingsystem==ubuntu-14.04` `engine.labels` apply to Docker Engine labels like operating system, drivers, etc. Swarm administrators add `node.labels` for operational purposes by using the [`node update endpoint`](#operation/NodeUpdate). | [optional]
+**preferences** | [**kotlin.collections.MutableList<TaskSpecPlacementPreferences>**](TaskSpecPlacementPreferences.md) | Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence. | [optional]
**maxReplicas** | **kotlin.Long** | Maximum number of replicas for per node (default value is 0, which is unlimited) | [optional]
-**platforms** | [**kotlin.collections.List<Platform>**](Platform.md) | Platforms stores all the platforms that the service's image can run on. This field is used in the platform filter for scheduling. If empty, then the platform filter is off, meaning there are no scheduling restrictions. | [optional]
+**platforms** | [**kotlin.collections.MutableList<Platform>**](Platform.md) | Platforms stores all the platforms that the service's image can run on. This field is used in the platform filter for scheduling. If empty, then the platform filter is off, meaning there are no scheduling restrictions. | [optional]
diff --git a/api-model-v1-41/docs/TaskSpecPluginSpec.md b/api-model-v1-41/docs/TaskSpecPluginSpec.md
index 8035a40a..7adb8c81 100644
--- a/api-model-v1-41/docs/TaskSpecPluginSpec.md
+++ b/api-model-v1-41/docs/TaskSpecPluginSpec.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**name** | **kotlin.String** | The name or 'alias' to use for the plugin. | [optional]
**remote** | **kotlin.String** | The plugin image reference to use. | [optional]
**disabled** | **kotlin.Boolean** | Disable the plugin once scheduled. | [optional]
-**pluginPrivilege** | [**kotlin.collections.List<PluginPrivilege>**](PluginPrivilege.md) | | [optional]
+**pluginPrivilege** | [**kotlin.collections.MutableList<PluginPrivilege>**](PluginPrivilege.md) | | [optional]
diff --git a/api-model-v1-41/docs/TaskSpecRestartPolicy.md b/api-model-v1-41/docs/TaskSpecRestartPolicy.md
index 4f8cc350..f29f3922 100644
--- a/api-model-v1-41/docs/TaskSpecRestartPolicy.md
+++ b/api-model-v1-41/docs/TaskSpecRestartPolicy.md
@@ -4,13 +4,13 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**condition** | [**inline**](#ConditionEnum) | Condition for restart. | [optional]
+**condition** | [**inline**](#Condition) | Condition for restart. | [optional]
**delay** | **kotlin.Long** | Delay between restart attempts. | [optional]
**maxAttempts** | **kotlin.Long** | Maximum attempts to restart a given container before giving up (default value is 0, which is ignored). | [optional]
**window** | **kotlin.Long** | Windows is the time window used to evaluate the restart policy (default value is 0, which is unbounded). | [optional]
-
+
## Enum: Condition
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/Volume.md b/api-model-v1-41/docs/Volume.md
index 462d006a..a27c6687 100644
--- a/api-model-v1-41/docs/Volume.md
+++ b/api-model-v1-41/docs/Volume.md
@@ -7,15 +7,15 @@ Name | Type | Description | Notes
**name** | **kotlin.String** | Name of the volume. |
**driver** | **kotlin.String** | Name of the volume driver used by the volume. |
**mountpoint** | **kotlin.String** | Mount path of the volume on the host. |
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. |
-**scope** | [**inline**](#ScopeEnum) | The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level. |
-**options** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | The driver specific options used when creating the volume. |
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. |
+**scope** | [**inline**](#Scope) | The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level. |
+**options** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | The driver specific options used when creating the volume. |
**createdAt** | **kotlin.String** | Date/Time the volume was created. | [optional]
-**status** | [**kotlin.collections.Map<kotlin.String, kotlin.Any>**](kotlin.Any.md) | Low-level details about the volume, provided by the volume driver. Details are returned as a map with key/value pairs: `{\"key\":\"value\",\"key2\":\"value2\"}`. The `Status` field is optional, and is omitted if the volume driver does not support this feature. | [optional]
+**status** | [**kotlin.collections.MutableMap<kotlin.String, kotlin.Any>**](kotlin.Any.md) | Low-level details about the volume, provided by the volume driver. Details are returned as a map with key/value pairs: `{\"key\":\"value\",\"key2\":\"value2\"}`. The `Status` field is optional, and is omitted if the volume driver does not support this feature. | [optional]
**usageData** | [**VolumeUsageData**](VolumeUsageData.md) | | [optional]
-
+
## Enum: Scope
Name | Value
---- | -----
diff --git a/api-model-v1-41/docs/VolumeConfig.md b/api-model-v1-41/docs/VolumeConfig.md
index ed94d00c..286b4c0b 100644
--- a/api-model-v1-41/docs/VolumeConfig.md
+++ b/api-model-v1-41/docs/VolumeConfig.md
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **kotlin.String** | The new volume's name. If not specified, Docker generates a name. | [optional]
**driver** | **kotlin.String** | Name of the volume driver to use. | [optional]
-**driverOpts** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | A mapping of driver options and values. These options are passed directly to the driver and are driver specific. | [optional]
-**labels** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
+**driverOpts** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | A mapping of driver options and values. These options are passed directly to the driver and are driver specific. | [optional]
+**labels** | **kotlin.collections.MutableMap<kotlin.String, kotlin.String>** | User-defined key/value metadata. | [optional]
diff --git a/api-model-v1-41/docs/VolumeListResponse.md b/api-model-v1-41/docs/VolumeListResponse.md
index 27809166..67337586 100644
--- a/api-model-v1-41/docs/VolumeListResponse.md
+++ b/api-model-v1-41/docs/VolumeListResponse.md
@@ -4,8 +4,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**volumes** | [**kotlin.collections.List<Volume>**](Volume.md) | List of volumes |
-**warnings** | **kotlin.collections.List<kotlin.String>** | Warnings that occurred when fetching the list of volumes. |
+**volumes** | [**kotlin.collections.MutableList<Volume>**](Volume.md) | List of volumes |
+**warnings** | **kotlin.collections.MutableList<kotlin.String>** | Warnings that occurred when fetching the list of volumes. |
diff --git a/api-model-v1-41/docs/VolumePruneResponse.md b/api-model-v1-41/docs/VolumePruneResponse.md
index bab150e0..bd4d15c5 100644
--- a/api-model-v1-41/docs/VolumePruneResponse.md
+++ b/api-model-v1-41/docs/VolumePruneResponse.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**volumesDeleted** | **kotlin.collections.List<kotlin.String>** | Volumes that were deleted | [optional]
+**volumesDeleted** | **kotlin.collections.MutableList<kotlin.String>** | Volumes that were deleted | [optional]
**spaceReclaimed** | **kotlin.Long** | Disk space reclaimed in bytes | [optional]
diff --git a/api-model-v1-41/docs/VolumeUsageData.md b/api-model-v1-41/docs/VolumeUsageData.md
index d191d54c..cf3e05e7 100644
--- a/api-model-v1-41/docs/VolumeUsageData.md
+++ b/api-model-v1-41/docs/VolumeUsageData.md
@@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**size** | **kotlin.Int** | Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\") |
+**propertySize** | **kotlin.Int** | Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\") |
**refCount** | **kotlin.Int** | The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available. |
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Address.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Address.kt
index a3406eed..1d83fce8 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Address.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Address.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,15 +25,19 @@ import com.squareup.moshi.JsonClass
/**
* Address represents an IPv4 or IPv6 IP address.
+ *
* @param addr IP address.
* @param prefixLen Mask length of the IP address.
*/
@JsonClass(generateAdapter = true)
data class Address(
+
/* IP address. */
@Json(name = "Addr")
var addr: kotlin.String? = null,
+
/* Mask length of the IP address. */
@Json(name = "PrefixLen")
var prefixLen: kotlin.Int? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/AuthConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/AuthConfig.kt
index 90ef58ff..cf027ee6 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/AuthConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/AuthConfig.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 username
* @param password
@@ -23,12 +33,17 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class AuthConfig(
+
@Json(name = "username")
var username: kotlin.String? = null,
+
@Json(name = "password")
var password: kotlin.String? = null,
+
@Json(name = "email")
var email: kotlin.String? = null,
+
@Json(name = "serveraddress")
var serveraddress: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildCache.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildCache.kt
index 5215f7da..154fd8fd 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildCache.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildCache.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 ID
* @param parent
@@ -22,34 +32,45 @@ import com.squareup.moshi.JsonClass
* @param description
* @param inUse
* @param shared
- * @param size Amount of disk space used by the build cache (in bytes).
+ * @param propertySize Amount of disk space used by the build cache (in bytes).
* @param createdAt Date and time at which the build cache was created in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
* @param lastUsedAt Date and time at which the build cache was last used in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
* @param usageCount
*/
@JsonClass(generateAdapter = true)
data class BuildCache(
+
@Json(name = "ID")
var ID: kotlin.String? = null,
+
@Json(name = "Parent")
var parent: kotlin.String? = null,
+
@Json(name = "Type")
var type: kotlin.String? = null,
+
@Json(name = "Description")
var description: kotlin.String? = null,
+
@Json(name = "InUse")
var inUse: kotlin.Boolean? = null,
+
@Json(name = "Shared")
var shared: kotlin.Boolean? = null,
+
/* Amount of disk space used by the build cache (in bytes). */
@Json(name = "Size")
- var size: kotlin.Int? = null,
+ var propertySize: kotlin.Int? = null,
+
/* Date and time at which the build cache was created in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. */
@Json(name = "CreatedAt")
var createdAt: kotlin.String? = null,
+
/* Date and time at which the build cache was last used in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. */
@Json(name = "LastUsedAt")
var lastUsedAt: kotlin.String? = null,
+
@Json(name = "UsageCount")
var usageCount: kotlin.Int? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildInfo.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildInfo.kt
index d5058cbc..3a527028 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildInfo.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildInfo.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 id
* @param stream
@@ -27,20 +37,29 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class BuildInfo(
+
@Json(name = "id")
var id: kotlin.String? = null,
+
@Json(name = "stream")
var stream: kotlin.String? = null,
+
@Json(name = "error")
var error: kotlin.String? = null,
+
@Json(name = "errorDetail")
var errorDetail: ErrorDetail? = null,
+
@Json(name = "status")
var status: kotlin.String? = null,
+
@Json(name = "progress")
var progress: kotlin.String? = null,
+
@Json(name = "progressDetail")
var progressDetail: ProgressDetail? = null,
+
@Json(name = "aux")
var aux: ImageID? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildPruneResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildPruneResponse.kt
index 53a3d961..878378bc 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildPruneResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/BuildPruneResponse.kt
@@ -1,29 +1,42 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 cachesDeleted
* @param spaceReclaimed Disk space reclaimed in bytes
*/
@JsonClass(generateAdapter = true)
data class BuildPruneResponse(
+
@Json(name = "CachesDeleted")
- var cachesDeleted: kotlin.collections.List? = null,
+ var cachesDeleted: kotlin.collections.MutableList? = null,
+
/* Disk space reclaimed in bytes */
@Json(name = "SpaceReclaimed")
var spaceReclaimed: kotlin.Long? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ClusterInfo.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ClusterInfo.kt
index 55589e95..db511c4d 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ClusterInfo.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ClusterInfo.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,6 +25,7 @@ import com.squareup.moshi.JsonClass
/**
* ClusterInfo represents information about the swarm as is returned by the \"/info\" endpoint. Join-tokens are not included.
+ *
* @param ID The ID of the swarm.
* @param version
* @param createdAt Date and time at which the swarm was initialised in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
@@ -29,31 +39,42 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class ClusterInfo(
+
/* The ID of the swarm. */
@Json(name = "ID")
var ID: kotlin.String? = null,
+
@Json(name = "Version")
var version: ObjectVersion? = null,
+
/* Date and time at which the swarm was initialised in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. */
@Json(name = "CreatedAt")
var createdAt: kotlin.String? = null,
+
/* Date and time at which the swarm was last updated in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. */
@Json(name = "UpdatedAt")
var updatedAt: kotlin.String? = null,
+
@Json(name = "Spec")
var spec: SwarmSpec? = null,
+
@Json(name = "TLSInfo")
var tlSInfo: TLSInfo? = null,
+
/* Whether there is currently a root CA rotation in progress for the swarm */
@Json(name = "RootRotationInProgress")
var rootRotationInProgress: kotlin.Boolean? = null,
+
/* DataPathPort specifies the data path port number for data traffic. Acceptable port range is 1024 to 49151. If no port is set or is set to 0, the default port (4789) is used. */
@Json(name = "DataPathPort")
var dataPathPort: kotlin.Int? = null,
+
/* Default Address Pool specifies default subnet pools for global scope networks. */
@Json(name = "DefaultAddrPool")
- var defaultAddrPool: kotlin.collections.List? = null,
+ var defaultAddrPool: kotlin.collections.MutableList? = null,
+
/* SubnetSize specifies the subnet size of the networks created from the default subnet pool. */
@Json(name = "SubnetSize")
var subnetSize: kotlin.Int? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Commit.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Commit.kt
index 251b8217..4a74d4ff 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Commit.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Commit.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,15 +25,19 @@ import com.squareup.moshi.JsonClass
/**
* Commit holds the Git-commit (SHA1) that a binary was built from, as reported in the version-string of external tools, such as `containerd`, or `runC`.
+ *
* @param ID Actual commit ID of external tool.
* @param expected Commit ID of external tool expected by dockerd as set at build time.
*/
@JsonClass(generateAdapter = true)
data class Commit(
+
/* Actual commit ID of external tool. */
@Json(name = "ID")
var ID: kotlin.String? = null,
+
/* Commit ID of external tool expected by dockerd as set at build time. */
@Json(name = "Expected")
var expected: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Config.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Config.kt
index 3e808862..5fc50ddc 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Config.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Config.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 ID
* @param version
@@ -24,14 +34,20 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class Config(
+
@Json(name = "ID")
var ID: kotlin.String? = null,
+
@Json(name = "Version")
var version: ObjectVersion? = null,
+
@Json(name = "CreatedAt")
var createdAt: kotlin.String? = null,
+
@Json(name = "UpdatedAt")
var updatedAt: kotlin.String? = null,
+
@Json(name = "Spec")
var spec: ConfigSpec? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ConfigSpec.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ConfigSpec.kt
index c56b4f95..e8a813fd 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ConfigSpec.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ConfigSpec.kt
@@ -1,37 +1,52 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 User-defined name of the config.
* @param labels User-defined key/value metadata.
- * @param data Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) config data.
+ * @param `data` Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) config data.
* @param templating
*/
@JsonClass(generateAdapter = true)
data class ConfigSpec(
+
/* User-defined name of the config. */
@Json(name = "Name")
var name: kotlin.String? = null,
+
/* User-defined key/value metadata. */
@Json(name = "Labels")
- var labels: kotlin.collections.Map? = null,
+ var labels: kotlin.collections.MutableMap? = null,
+
/* Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5)) config data. */
@Json(name = "Data")
- var data: kotlin.String? = null,
+ var `data`: kotlin.String? = null,
+
@Json(name = "Templating")
var templating: Driver? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerChangeResponseItem.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerChangeResponseItem.kt
index fbbb8748..398f53f8 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerChangeResponseItem.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerChangeResponseItem.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,15 +25,19 @@ import com.squareup.moshi.JsonClass
/**
* change item in response to ContainerChanges operation
+ *
* @param path Path to file that has changed
* @param kind Kind of change
*/
@JsonClass(generateAdapter = true)
data class ContainerChangeResponseItem(
+
/* Path to file that has changed */
@Json(name = "Path")
var path: kotlin.String,
+
/* Kind of change */
@Json(name = "Kind")
var kind: kotlin.Int
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerConfig.kt
index 34dc3dde..1ed964fb 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerConfig.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,6 +25,7 @@ import com.squareup.moshi.JsonClass
/**
* Configuration for a container that is portable between hosts
+ *
* @param hostname The hostname to use for the container, as a valid RFC 1123 hostname.
* @param domainname The domain name to use for the container.
* @param user The user that commands are run as inside the container.
@@ -44,78 +54,104 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class ContainerConfig(
+
/* The hostname to use for the container, as a valid RFC 1123 hostname. */
@Json(name = "Hostname")
var hostname: kotlin.String? = null,
+
/* The domain name to use for the container. */
@Json(name = "Domainname")
var domainname: kotlin.String? = null,
+
/* The user that commands are run as inside the container. */
@Json(name = "User")
var user: kotlin.String? = null,
+
/* Whether to attach to `stdin`. */
@Json(name = "AttachStdin")
- var attachStdin: kotlin.Boolean? = null,
+ var attachStdin: kotlin.Boolean? = false,
+
/* Whether to attach to `stdout`. */
@Json(name = "AttachStdout")
- var attachStdout: kotlin.Boolean? = null,
+ var attachStdout: kotlin.Boolean? = true,
+
/* Whether to attach to `stderr`. */
@Json(name = "AttachStderr")
- var attachStderr: kotlin.Boolean? = null,
+ var attachStderr: kotlin.Boolean? = true,
+
/* An object mapping ports to an empty object in the form: `{\"/\": {}}` */
@Json(name = "ExposedPorts")
- var exposedPorts: kotlin.collections.Map? = null,
+ var exposedPorts: kotlin.collections.MutableMap? = null,
+
/* Attach standard streams to a TTY, including `stdin` if it is not closed. */
@Json(name = "Tty")
- var tty: kotlin.Boolean? = null,
+ var tty: kotlin.Boolean? = false,
+
/* Open `stdin` */
@Json(name = "OpenStdin")
- var openStdin: kotlin.Boolean? = null,
+ var openStdin: kotlin.Boolean? = false,
+
/* Close `stdin` after one attached client disconnects */
@Json(name = "StdinOnce")
- var stdinOnce: kotlin.Boolean? = null,
+ var stdinOnce: kotlin.Boolean? = false,
+
/* A list of environment variables to set inside the container in the form `[\"VAR=value\", ...]`. A variable without `=` is removed from the environment, rather than to have an empty value. */
@Json(name = "Env")
- var env: kotlin.collections.List? = null,
+ var env: kotlin.collections.MutableList? = null,
+
/* Command to run specified as a string or an array of strings. */
@Json(name = "Cmd")
- var cmd: kotlin.collections.List? = null,
+ var cmd: kotlin.collections.MutableList? = null,
+
@Json(name = "Healthcheck")
var healthcheck: HealthConfig? = null,
+
/* Command is already escaped (Windows only) */
@Json(name = "ArgsEscaped")
var argsEscaped: kotlin.Boolean? = null,
+
/* The name of the image to use when creating the container/ */
@Json(name = "Image")
var image: kotlin.String? = null,
+
/* An object mapping mount point paths inside the container to empty objects. */
@Json(name = "Volumes")
- var volumes: kotlin.collections.Map? = null,
+ var volumes: kotlin.collections.MutableMap? = null,
+
/* The working directory for commands to run in. */
@Json(name = "WorkingDir")
var workingDir: kotlin.String? = null,
+
/* The entry point for the container as a string or an array of strings. If the array consists of exactly one empty string (`[\"\"]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`). */
@Json(name = "Entrypoint")
- var entrypoint: kotlin.collections.List? = null,
+ var entrypoint: kotlin.collections.MutableList? = null,
+
/* Disable networking for the container. */
@Json(name = "NetworkDisabled")
var networkDisabled: kotlin.Boolean? = null,
+
/* MAC address of the container. */
@Json(name = "MacAddress")
var macAddress: kotlin.String? = null,
+
/* `ONBUILD` metadata that were defined in the image's `Dockerfile`. */
@Json(name = "OnBuild")
- var onBuild: kotlin.collections.List? = null,
+ var onBuild: kotlin.collections.MutableList? = null,
+
/* User-defined key/value metadata. */
@Json(name = "Labels")
- var labels: kotlin.collections.Map? = null,
+ var labels: kotlin.collections.MutableMap? = null,
+
/* Signal to stop a container as a string or unsigned integer. */
@Json(name = "StopSignal")
- var stopSignal: kotlin.String? = null,
+ var stopSignal: kotlin.String? = "SIGTERM",
+
/* Timeout to stop a container in seconds. */
@Json(name = "StopTimeout")
var stopTimeout: kotlin.Int? = null,
+
/* Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell. */
@Json(name = "Shell")
- var shell: kotlin.collections.List? = null
+ var shell: kotlin.collections.MutableList? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequest.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequest.kt
index 26a8cb91..498964b6 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequest.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateRequest.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -18,84 +27,140 @@ import com.squareup.moshi.JsonClass
// - ContainerConfig (embedded)
// - HostConfig
// - NetworkingConfig
+/**
+ * Configuration for a container that is portable between hosts
+ *
+ * @param hostname The hostname to use for the container, as a valid RFC 1123 hostname.
+ * @param domainname The domain name to use for the container.
+ * @param user The user that commands are run as inside the container.
+ * @param attachStdin Whether to attach to `stdin`.
+ * @param attachStdout Whether to attach to `stdout`.
+ * @param attachStderr Whether to attach to `stderr`.
+ * @param exposedPorts An object mapping ports to an empty object in the form: `{\"/\": {}}`
+ * @param tty Attach standard streams to a TTY, including `stdin` if it is not closed.
+ * @param openStdin Open `stdin`
+ * @param stdinOnce Close `stdin` after one attached client disconnects
+ * @param env A list of environment variables to set inside the container in the form `[\"VAR=value\", ...]`. A variable without `=` is removed from the environment, rather than to have an empty value.
+ * @param cmd Command to run specified as a string or an array of strings.
+ * @param healthcheck
+ * @param argsEscaped Command is already escaped (Windows only)
+ * @param image The name of the image to use when creating the container/
+ * @param volumes An object mapping mount point paths inside the container to empty objects.
+ * @param workingDir The working directory for commands to run in.
+ * @param entrypoint The entry point for the container as a string or an array of strings. If the array consists of exactly one empty string (`[\"\"]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`).
+ * @param networkDisabled Disable networking for the container.
+ * @param macAddress MAC address of the container.
+ * @param onBuild `ONBUILD` metadata that were defined in the image's `Dockerfile`.
+ * @param labels User-defined key/value metadata.
+ * @param stopSignal Signal to stop a container as a string or unsigned integer.
+ * @param stopTimeout Timeout to stop a container in seconds.
+ * @param shell Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell.
+ */
@JsonClass(generateAdapter = true)
data class ContainerCreateRequest(
+
/* The hostname to use for the container, as a valid RFC 1123 hostname. */
@Json(name = "Hostname")
var hostname: kotlin.String? = null,
+
/* The domain name to use for the container. */
@Json(name = "Domainname")
var domainname: kotlin.String? = null,
+
/* The user that commands are run as inside the container. */
@Json(name = "User")
var user: kotlin.String? = null,
+
/* Whether to attach to `stdin`. */
@Json(name = "AttachStdin")
- var attachStdin: kotlin.Boolean? = null,
+ var attachStdin: kotlin.Boolean? = false,
+
/* Whether to attach to `stdout`. */
@Json(name = "AttachStdout")
- var attachStdout: kotlin.Boolean? = null,
+ var attachStdout: kotlin.Boolean? = true,
+
/* Whether to attach to `stderr`. */
@Json(name = "AttachStderr")
- var attachStderr: kotlin.Boolean? = null,
+ var attachStderr: kotlin.Boolean? = true,
+
/* An object mapping ports to an empty object in the form: `{\"/\": {}}` */
@Json(name = "ExposedPorts")
- var exposedPorts: kotlin.collections.Map? = null,
+ var exposedPorts: kotlin.collections.MutableMap? = null,
+
/* Attach standard streams to a TTY, including `stdin` if it is not closed. */
@Json(name = "Tty")
- var tty: kotlin.Boolean? = null,
+ var tty: kotlin.Boolean? = false,
+
/* Open `stdin` */
@Json(name = "OpenStdin")
- var openStdin: kotlin.Boolean? = null,
+ var openStdin: kotlin.Boolean? = false,
+
/* Close `stdin` after one attached client disconnects */
@Json(name = "StdinOnce")
- var stdinOnce: kotlin.Boolean? = null,
+ var stdinOnce: kotlin.Boolean? = false,
+
/* A list of environment variables to set inside the container in the form `[\"VAR=value\", ...]`. A variable without `=` is removed from the environment, rather than to have an empty value. */
@Json(name = "Env")
- var env: kotlin.collections.List? = null,
+ var env: kotlin.collections.MutableList? = null,
+
/* Command to run specified as a string or an array of strings. */
@Json(name = "Cmd")
- var cmd: kotlin.collections.List? = null,
+ var cmd: kotlin.collections.MutableList? = null,
+
@Json(name = "Healthcheck")
var healthcheck: HealthConfig? = null,
+
/* Command is already escaped (Windows only) */
@Json(name = "ArgsEscaped")
var argsEscaped: kotlin.Boolean? = null,
+
/* The name of the image to use when creating the container/ */
@Json(name = "Image")
var image: kotlin.String? = null,
+
/* An object mapping mount point paths inside the container to empty objects. */
@Json(name = "Volumes")
- var volumes: kotlin.collections.Map? = null,
+ var volumes: kotlin.collections.MutableMap? = null,
+
/* The working directory for commands to run in. */
@Json(name = "WorkingDir")
var workingDir: kotlin.String? = null,
+
/* The entry point for the container as a string or an array of strings. If the array consists of exactly one empty string (`[\"\"]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`). */
@Json(name = "Entrypoint")
- var entrypoint: kotlin.collections.List? = null,
+ var entrypoint: kotlin.collections.MutableList? = null,
+
/* Disable networking for the container. */
@Json(name = "NetworkDisabled")
var networkDisabled: kotlin.Boolean? = null,
+
/* MAC address of the container. */
@Json(name = "MacAddress")
var macAddress: kotlin.String? = null,
+
/* `ONBUILD` metadata that were defined in the image's `Dockerfile`. */
@Json(name = "OnBuild")
- var onBuild: kotlin.collections.List? = null,
+ var onBuild: kotlin.collections.MutableList? = null,
+
/* User-defined key/value metadata. */
@Json(name = "Labels")
- var labels: kotlin.collections.Map? = null,
+ var labels: kotlin.collections.MutableMap? = null,
+
/* Signal to stop a container as a string or unsigned integer. */
@Json(name = "StopSignal")
- var stopSignal: kotlin.String? = null,
+ var stopSignal: kotlin.String? = "SIGTERM",
+
/* Timeout to stop a container in seconds. */
@Json(name = "StopTimeout")
var stopTimeout: kotlin.Int? = null,
+
/* Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell. */
@Json(name = "Shell")
- var shell: kotlin.collections.List? = null,
+ var shell: kotlin.collections.MutableList? = null,
+
@Json(name = "HostConfig")
var hostConfig: HostConfig? = null,
+
@Json(name = "NetworkingConfig")
var networkingConfig: NetworkingConfig? = null,
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateResponse.kt
index a1d17d1e..c125b59e 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerCreateResponse.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,15 +25,19 @@ import com.squareup.moshi.JsonClass
/**
* OK response to ContainerCreate operation
+ *
* @param id The ID of the created container
* @param warnings Warnings encountered when creating the container
*/
@JsonClass(generateAdapter = true)
data class ContainerCreateResponse(
+
/* The ID of the created container */
@Json(name = "Id")
var id: kotlin.String,
+
/* Warnings encountered when creating the container */
@Json(name = "Warnings")
- var warnings: kotlin.collections.List?
+ var warnings: kotlin.collections.MutableList?
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerInspectResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerInspectResponse.kt
index 61a1ac40..e10cb8aa 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerInspectResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerInspectResponse.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 id The ID of the container
* @param created The time the container was created
@@ -44,62 +54,88 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class ContainerInspectResponse(
+
/* The ID of the container */
@Json(name = "Id")
var id: kotlin.String? = null,
+
/* The time the container was created */
@Json(name = "Created")
var created: kotlin.String? = null,
+
/* The path to the command being run */
@Json(name = "Path")
var path: kotlin.String? = null,
+
/* The arguments to the command being run */
@Json(name = "Args")
- var args: kotlin.collections.List? = null,
+ var args: kotlin.collections.MutableList? = null,
+
@Json(name = "State")
var state: ContainerState? = null,
+
/* The container's image ID */
@Json(name = "Image")
var image: kotlin.String? = null,
+
@Json(name = "ResolvConfPath")
var resolvConfPath: kotlin.String? = null,
+
@Json(name = "HostnamePath")
var hostnamePath: kotlin.String? = null,
+
@Json(name = "HostsPath")
var hostsPath: kotlin.String? = null,
+
@Json(name = "LogPath")
var logPath: kotlin.String? = null,
+
@Json(name = "Name")
var name: kotlin.String? = null,
+
@Json(name = "RestartCount")
var restartCount: kotlin.Int? = null,
+
@Json(name = "Driver")
var driver: kotlin.String? = null,
+
@Json(name = "Platform")
var platform: kotlin.String? = null,
+
@Json(name = "MountLabel")
var mountLabel: kotlin.String? = null,
+
@Json(name = "ProcessLabel")
var processLabel: kotlin.String? = null,
+
@Json(name = "AppArmorProfile")
var appArmorProfile: kotlin.String? = null,
+
/* IDs of exec instances that are running in the container. */
@Json(name = "ExecIDs")
- var execIDs: kotlin.collections.List? = null,
+ var execIDs: kotlin.collections.MutableList? = null,
+
@Json(name = "HostConfig")
var hostConfig: HostConfig? = null,
+
@Json(name = "GraphDriver")
var graphDriver: GraphDriverData? = null,
+
/* The size of files that have been created or changed by this container. */
@Json(name = "SizeRw")
var sizeRw: kotlin.Long? = null,
+
/* The total size of all the files in this container. */
@Json(name = "SizeRootFs")
var sizeRootFs: kotlin.Long? = null,
+
@Json(name = "Mounts")
- var mounts: kotlin.collections.List? = null,
+ var mounts: kotlin.collections.MutableList? = null,
+
@Json(name = "Config")
var config: ContainerConfig? = null,
+
@Json(name = "NetworkSettings")
var networkSettings: NetworkSettings? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerPruneResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerPruneResponse.kt
index eb868bd9..aa623454 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerPruneResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerPruneResponse.kt
@@ -1,30 +1,43 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 containersDeleted Container IDs that were deleted
* @param spaceReclaimed Disk space reclaimed in bytes
*/
@JsonClass(generateAdapter = true)
data class ContainerPruneResponse(
+
/* Container IDs that were deleted */
@Json(name = "ContainersDeleted")
- var containersDeleted: kotlin.collections.List? = null,
+ var containersDeleted: kotlin.collections.MutableList? = null,
+
/* Disk space reclaimed in bytes */
@Json(name = "SpaceReclaimed")
var spaceReclaimed: kotlin.Long? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerState.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerState.kt
index 65e0eda5..d7640419 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerState.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerState.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,6 +25,7 @@ import com.squareup.moshi.JsonClass
/**
* ContainerState stores container's running state. It's part of ContainerJSONBase and will be returned by the \"inspect\" command.
+ *
* @param status String representation of the container state. Can be one of \"created\", \"running\", \"paused\", \"restarting\", \"removing\", \"exited\", or \"dead\".
* @param running Whether this container is running. Note that a running container can be _paused_. The `Running` and `Paused` booleans are not mutually exclusive: When pausing a container (on Linux), the freezer cgroup is used to suspend all processes in the container. Freezing the process requires the process to be running. As a result, paused containers are both `Running` _and_ `Paused`. Use the `Status` field instead to determine if a container's state is \"running\".
* @param paused Whether this container is paused.
@@ -31,43 +41,57 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class ContainerState(
+
/* String representation of the container state. Can be one of \"created\", \"running\", \"paused\", \"restarting\", \"removing\", \"exited\", or \"dead\". */
@Json(name = "Status")
var status: ContainerState.Status? = null,
+
/* Whether this container is running. Note that a running container can be _paused_. The `Running` and `Paused` booleans are not mutually exclusive: When pausing a container (on Linux), the freezer cgroup is used to suspend all processes in the container. Freezing the process requires the process to be running. As a result, paused containers are both `Running` _and_ `Paused`. Use the `Status` field instead to determine if a container's state is \"running\". */
@Json(name = "Running")
var running: kotlin.Boolean? = null,
+
/* Whether this container is paused. */
@Json(name = "Paused")
var paused: kotlin.Boolean? = null,
+
/* Whether this container is restarting. */
@Json(name = "Restarting")
var restarting: kotlin.Boolean? = null,
+
/* Whether this container has been killed because it ran out of memory. */
@Json(name = "OOMKilled")
var ooMKilled: kotlin.Boolean? = null,
+
@Json(name = "Dead")
var dead: kotlin.Boolean? = null,
+
/* The process ID of this container */
@Json(name = "Pid")
var pid: kotlin.Int? = null,
+
/* The last exit code of this container */
@Json(name = "ExitCode")
var exitCode: kotlin.Int? = null,
+
@Json(name = "Error")
var error: kotlin.String? = null,
+
/* The time when this container was last started. */
@Json(name = "StartedAt")
var startedAt: kotlin.String? = null,
+
/* The time when this container last exited. */
@Json(name = "FinishedAt")
var finishedAt: kotlin.String? = null,
+
@Json(name = "Health")
var health: Health? = null
+
) {
/**
* String representation of the container state. Can be one of \"created\", \"running\", \"paused\", \"restarting\", \"removing\", \"exited\", or \"dead\".
+ *
* Values: Created,Running,Paused,Restarting,Removing,Exited,Dead
*/
enum class Status(val value: kotlin.String) {
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummary.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummary.kt
index 410129e2..b6d8153a 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummary.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummary.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 id The ID of this container
* @param names The names that this container has been given
@@ -34,46 +44,62 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class ContainerSummary(
+
/* The ID of this container */
@Json(name = "Id")
var id: kotlin.String? = null,
+
/* The names that this container has been given */
@Json(name = "Names")
- var names: kotlin.collections.List? = null,
+ var names: kotlin.collections.MutableList? = null,
+
/* The name of the image used when creating this container */
@Json(name = "Image")
var image: kotlin.String? = null,
+
/* The ID of the image that this container was created from */
@Json(name = "ImageID")
var imageID: kotlin.String? = null,
+
/* Command to run when starting the container */
@Json(name = "Command")
var command: kotlin.String? = null,
+
/* When the container was created */
@Json(name = "Created")
var created: kotlin.Long? = null,
+
/* The ports exposed by this container */
@Json(name = "Ports")
- var ports: kotlin.collections.List? = null,
+ var ports: kotlin.collections.MutableList? = null,
+
/* The size of files that have been created or changed by this container */
@Json(name = "SizeRw")
var sizeRw: kotlin.Long? = null,
+
/* The total size of all the files in this container */
@Json(name = "SizeRootFs")
var sizeRootFs: kotlin.Long? = null,
+
/* User-defined key/value metadata. */
@Json(name = "Labels")
- var labels: kotlin.collections.Map? = null,
+ var labels: kotlin.collections.MutableMap? = null,
+
/* The state of this container (e.g. `Exited`) */
@Json(name = "State")
var state: kotlin.String? = null,
+
/* Additional human-readable status of this container (e.g. `Exit 0`) */
@Json(name = "Status")
var status: kotlin.String? = null,
+
@Json(name = "HostConfig")
var hostConfig: ContainerSummaryHostConfig? = null,
+
@Json(name = "NetworkSettings")
var networkSettings: ContainerSummaryNetworkSettings? = null,
+
@Json(name = "Mounts")
- var mounts: kotlin.collections.List? = null
+ var mounts: kotlin.collections.MutableList? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryHostConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryHostConfig.kt
index b0cabcfb..c2335173 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryHostConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryHostConfig.kt
@@ -1,25 +1,37 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 networkMode
*/
@JsonClass(generateAdapter = true)
data class ContainerSummaryHostConfig(
+
@Json(name = "NetworkMode")
var networkMode: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryNetworkSettings.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryNetworkSettings.kt
index da08afa4..dbc880cc 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryNetworkSettings.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerSummaryNetworkSettings.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,10 +25,13 @@ import com.squareup.moshi.JsonClass
/**
* A summary of the container's network settings
+ *
* @param networks
*/
@JsonClass(generateAdapter = true)
data class ContainerSummaryNetworkSettings(
+
@Json(name = "Networks")
- var networks: kotlin.collections.Map? = null
+ var networks: kotlin.collections.MutableMap? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerTopResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerTopResponse.kt
index 978c3743..ff0e4947 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerTopResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerTopResponse.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,15 +25,19 @@ import com.squareup.moshi.JsonClass
/**
* OK response to ContainerTop operation
+ *
* @param titles The ps column titles
* @param processes Each process running in the container, where each is process is an array of values corresponding to the titles.
*/
@JsonClass(generateAdapter = true)
data class ContainerTopResponse(
+
/* The ps column titles */
@Json(name = "Titles")
- var titles: kotlin.collections.List? = null,
+ var titles: kotlin.collections.MutableList? = null,
+
/* Each process running in the container, where each is process is an array of values corresponding to the titles. */
@Json(name = "Processes")
- var processes: kotlin.collections.List>? = null
+ var processes: kotlin.collections.MutableList>? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequest.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequest.kt
index d2be52be..f37ab2eb 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequest.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateRequest.kt
@@ -1,9 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -12,104 +26,173 @@ import com.squareup.moshi.JsonClass
// Merged from:
// - Resources (embedded)
// - RestartPolicy
+/**
+ * A container's resources (cgroups config, ulimits, etc)
+ *
+ * @param cpuShares An integer value representing this container's relative CPU weight versus other containers.
+ * @param memory Memory limit in bytes.
+ * @param cgroupParent Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist.
+ * @param blkioWeight Block IO weight (relative weight).
+ * @param blkioWeightDevice Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ```
+ * @param blkioDeviceReadBps Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ```
+ * @param blkioDeviceWriteBps Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ```
+ * @param blkioDeviceReadIOps Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ```
+ * @param blkioDeviceWriteIOps Limit write rate (IO per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ```
+ * @param cpuPeriod The length of a CPU period in microseconds.
+ * @param cpuQuota Microseconds of CPU time that the container can get in a CPU period.
+ * @param cpuRealtimePeriod The length of a CPU real-time period in microseconds. Set to 0 to allocate no time allocated to real-time tasks.
+ * @param cpuRealtimeRuntime The length of a CPU real-time runtime in microseconds. Set to 0 to allocate no time allocated to real-time tasks.
+ * @param cpusetCpus CPUs in which to allow execution (e.g., `0-3`, `0,1`).
+ * @param cpusetMems Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems.
+ * @param devices A list of devices to add to the container.
+ * @param deviceCgroupRules a list of cgroup rules to apply to the container
+ * @param deviceRequests A list of requests for devices to be sent to device drivers.
+ * @param kernelMemory Kernel memory limit in bytes.
> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`.
+ * @param kernelMemoryTCP Hard limit for kernel TCP buffer memory (in bytes).
+ * @param memoryReservation Memory soft limit in bytes.
+ * @param memorySwap Total memory limit (memory + swap). Set as `-1` to enable unlimited swap.
+ * @param memorySwappiness Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100.
+ * @param nanoCpus CPU quota in units of 10-9 CPUs.
+ * @param oomKillDisable Disable OOM Killer for the container.
+ * @param `init` Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used.
+ * @param pidsLimit Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change.
+ * @param ulimits A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ```
+ * @param cpuCount The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last.
+ * @param cpuPercent The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last.
+ * @param ioMaximumIOps Maximum IOps for the container system drive (Windows only)
+ * @param ioMaximumBandwidth Maximum IO in bytes per second for the container system drive (Windows only).
+ */
@JsonClass(generateAdapter = true)
data class ContainerUpdateRequest(
+
/* An integer value representing this container's relative CPU weight versus other containers. */
@Json(name = "CpuShares")
var cpuShares: kotlin.Int? = null,
+
/* Memory limit in bytes. */
@Json(name = "Memory")
- var memory: kotlin.Long? = null,
+ var memory: kotlin.Long? = 0,
+
/* Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. */
@Json(name = "CgroupParent")
var cgroupParent: kotlin.String? = null,
+
/* Block IO weight (relative weight). */
@Json(name = "BlkioWeight")
var blkioWeight: kotlin.Int? = null,
+
/* Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` */
@Json(name = "BlkioWeightDevice")
- var blkioWeightDevice: kotlin.collections.List? = null,
+ var blkioWeightDevice: kotlin.collections.MutableList? = null,
+
/* Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */
@Json(name = "BlkioDeviceReadBps")
- var blkioDeviceReadBps: kotlin.collections.List? = null,
+ var blkioDeviceReadBps: kotlin.collections.MutableList? = null,
+
/* Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */
@Json(name = "BlkioDeviceWriteBps")
- var blkioDeviceWriteBps: kotlin.collections.List? = null,
+ var blkioDeviceWriteBps: kotlin.collections.MutableList? = null,
+
/* Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */
@Json(name = "BlkioDeviceReadIOps")
- var blkioDeviceReadIOps: kotlin.collections.List? = null,
+ var blkioDeviceReadIOps: kotlin.collections.MutableList? = null,
+
/* Limit write rate (IO per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */
@Json(name = "BlkioDeviceWriteIOps")
- var blkioDeviceWriteIOps: kotlin.collections.List? = null,
+ var blkioDeviceWriteIOps: kotlin.collections.MutableList? = null,
+
/* The length of a CPU period in microseconds. */
@Json(name = "CpuPeriod")
var cpuPeriod: kotlin.Long? = null,
+
/* Microseconds of CPU time that the container can get in a CPU period. */
@Json(name = "CpuQuota")
var cpuQuota: kotlin.Long? = null,
+
/* The length of a CPU real-time period in microseconds. Set to 0 to allocate no time allocated to real-time tasks. */
@Json(name = "CpuRealtimePeriod")
var cpuRealtimePeriod: kotlin.Long? = null,
+
/* The length of a CPU real-time runtime in microseconds. Set to 0 to allocate no time allocated to real-time tasks. */
@Json(name = "CpuRealtimeRuntime")
var cpuRealtimeRuntime: kotlin.Long? = null,
+
/* CPUs in which to allow execution (e.g., `0-3`, `0,1`). */
@Json(name = "CpusetCpus")
var cpusetCpus: kotlin.String? = null,
+
/* Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems. */
@Json(name = "CpusetMems")
var cpusetMems: kotlin.String? = null,
+
/* A list of devices to add to the container. */
@Json(name = "Devices")
- var devices: kotlin.collections.List? = null,
+ var devices: kotlin.collections.MutableList? = null,
+
/* a list of cgroup rules to apply to the container */
@Json(name = "DeviceCgroupRules")
- var deviceCgroupRules: kotlin.collections.List? = null,
+ var deviceCgroupRules: kotlin.collections.MutableList? = null,
+
/* A list of requests for devices to be sent to device drivers. */
@Json(name = "DeviceRequests")
- var deviceRequests: kotlin.collections.List? = null,
+ var deviceRequests: kotlin.collections.MutableList? = null,
+
/* Kernel memory limit in bytes.
> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. */
@Json(name = "KernelMemory")
var kernelMemory: kotlin.Long? = null,
+
/* Hard limit for kernel TCP buffer memory (in bytes). */
@Json(name = "KernelMemoryTCP")
var kernelMemoryTCP: kotlin.Long? = null,
+
/* Memory soft limit in bytes. */
@Json(name = "MemoryReservation")
var memoryReservation: kotlin.Long? = null,
+
/* Total memory limit (memory + swap). Set as `-1` to enable unlimited swap. */
@Json(name = "MemorySwap")
var memorySwap: kotlin.Long? = null,
+
/* Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100. */
@Json(name = "MemorySwappiness")
var memorySwappiness: kotlin.Long? = null,
+
/* CPU quota in units of 10-9 CPUs. */
@Json(name = "NanoCpus")
var nanoCpus: kotlin.Long? = null,
+
/* Disable OOM Killer for the container. */
@Json(name = "OomKillDisable")
var oomKillDisable: kotlin.Boolean? = null,
+
/* Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. */
@Json(name = "Init")
- var init: kotlin.Boolean? = null,
+ var `init`: kotlin.Boolean? = null,
+
/* Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change. */
@Json(name = "PidsLimit")
var pidsLimit: kotlin.Long? = null,
+
/* A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` */
@Json(name = "Ulimits")
- var ulimits: kotlin.collections.List? = null,
+ var ulimits: kotlin.collections.MutableList? = null,
+
/* The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. */
@Json(name = "CpuCount")
var cpuCount: kotlin.Long? = null,
+
/* The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. */
@Json(name = "CpuPercent")
var cpuPercent: kotlin.Long? = null,
+
/* Maximum IOps for the container system drive (Windows only) */
@Json(name = "IOMaximumIOps")
var ioMaximumIOps: kotlin.Long? = null,
+
/* Maximum IO in bytes per second for the container system drive (Windows only). */
@Json(name = "IOMaximumBandwidth")
var ioMaximumBandwidth: kotlin.Long? = null,
+
@Json(name = "RestartPolicy")
var restartPolicy: RestartPolicy? = null,
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateResponse.kt
index 63b6e61d..3781146d 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerUpdateResponse.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,10 +25,13 @@ import com.squareup.moshi.JsonClass
/**
* OK response to ContainerUpdate operation
+ *
* @param warnings
*/
@JsonClass(generateAdapter = true)
data class ContainerUpdateResponse(
+
@Json(name = "Warnings")
- var warnings: kotlin.collections.List? = null
+ var warnings: kotlin.collections.MutableList? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitResponse.kt
index 1fc86a7d..02bf3018 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitResponse.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,14 +25,18 @@ import com.squareup.moshi.JsonClass
/**
* OK response to ContainerWait operation
+ *
* @param statusCode Exit code of the container
* @param error
*/
@JsonClass(generateAdapter = true)
data class ContainerWaitResponse(
+
/* Exit code of the container */
@Json(name = "StatusCode")
var statusCode: java.math.BigDecimal,
+
@Json(name = "Error")
var error: ContainerWaitResponseError? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitResponseError.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitResponseError.kt
index a45a8517..50649249 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitResponseError.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ContainerWaitResponseError.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,11 +25,14 @@ import com.squareup.moshi.JsonClass
/**
* container waiting error, if any
+ *
* @param message Details of an error
*/
@JsonClass(generateAdapter = true)
data class ContainerWaitResponseError(
+
/* Details of an error */
@Json(name = "Message")
var message: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/CreateImageInfo.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/CreateImageInfo.kt
index adbf734d..a46b19d9 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/CreateImageInfo.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/CreateImageInfo.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 id
* @param error
@@ -24,14 +34,20 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class CreateImageInfo(
+
@Json(name = "id")
var id: kotlin.String? = null,
+
@Json(name = "error")
var error: kotlin.String? = null,
+
@Json(name = "status")
var status: kotlin.String? = null,
+
@Json(name = "progress")
var progress: kotlin.String? = null,
+
@Json(name = "progressDetail")
var progressDetail: ProgressDetail? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DeviceMapping.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DeviceMapping.kt
index 7d000652..27dd86a7 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DeviceMapping.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DeviceMapping.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,16 +25,21 @@ import com.squareup.moshi.JsonClass
/**
* A device mapping between the host and container
+ *
* @param pathOnHost
* @param pathInContainer
* @param cgroupPermissions
*/
@JsonClass(generateAdapter = true)
data class DeviceMapping(
+
@Json(name = "PathOnHost")
var pathOnHost: kotlin.String? = null,
+
@Json(name = "PathInContainer")
var pathInContainer: kotlin.String? = null,
+
@Json(name = "CgroupPermissions")
var cgroupPermissions: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DeviceRequest.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DeviceRequest.kt
index f45dddf5..e5ff64a6 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DeviceRequest.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DeviceRequest.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,6 +25,7 @@ import com.squareup.moshi.JsonClass
/**
* A request for devices to be sent to device drivers
+ *
* @param driver
* @param count
* @param deviceIDs
@@ -24,16 +34,22 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class DeviceRequest(
+
@Json(name = "Driver")
var driver: kotlin.String? = null,
+
@Json(name = "Count")
var count: kotlin.Int? = null,
+
@Json(name = "DeviceIDs")
- var deviceIDs: kotlin.collections.List? = null,
+ var deviceIDs: kotlin.collections.MutableList? = null,
+
/* A list of capabilities; an OR list of AND lists of capabilities. */
@Json(name = "Capabilities")
- var capabilities: kotlin.collections.List>? = null,
+ var capabilities: kotlin.collections.MutableList>? = null,
+
/* Driver-specific options, specified as a key/value pairs. These options are passed directly to the driver. */
@Json(name = "Options")
- var options: kotlin.collections.Map? = null
+ var options: kotlin.collections.MutableMap? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DistributionInspect.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DistributionInspect.kt
index 12ce9915..6a7df2e4 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DistributionInspect.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/DistributionInspect.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,14 +25,18 @@ import com.squareup.moshi.JsonClass
/**
* Describes the result obtained from contacting the registry to retrieve image metadata.
+ *
* @param descriptor
* @param platforms An array containing all platforms supported by the image.
*/
@JsonClass(generateAdapter = true)
data class DistributionInspect(
+
@Json(name = "Descriptor")
var descriptor: OCIDescriptor,
+
/* An array containing all platforms supported by the image. */
@Json(name = "Platforms")
- var platforms: kotlin.collections.List
+ var platforms: kotlin.collections.MutableList
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Driver.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Driver.kt
index f51758d5..3a3a74e3 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Driver.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Driver.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,15 +25,19 @@ import com.squareup.moshi.JsonClass
/**
* Driver represents a driver (network, logging, secrets).
+ *
* @param name Name of the driver.
* @param options Key/value map of driver-specific options.
*/
@JsonClass(generateAdapter = true)
data class Driver(
+
/* Name of the driver. */
@Json(name = "Name")
var name: kotlin.String,
+
/* Key/value map of driver-specific options. */
@Json(name = "Options")
- var options: kotlin.collections.Map? = null
+ var options: kotlin.collections.MutableMap? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointIPAMConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointIPAMConfig.kt
index 7c72d71f..7cd1f4bf 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointIPAMConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointIPAMConfig.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,16 +25,21 @@ import com.squareup.moshi.JsonClass
/**
* EndpointIPAMConfig represents an endpoint's IPAM configuration.
+ *
* @param ipv4Address
* @param ipv6Address
* @param linkLocalIPs
*/
@JsonClass(generateAdapter = true)
data class EndpointIPAMConfig(
+
@Json(name = "IPv4Address")
var ipv4Address: kotlin.String? = null,
+
@Json(name = "IPv6Address")
var ipv6Address: kotlin.String? = null,
+
@Json(name = "LinkLocalIPs")
- var linkLocalIPs: kotlin.collections.List? = null
+ var linkLocalIPs: kotlin.collections.MutableList? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointPortConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointPortConfig.kt
index 22f631eb..c16d7f0d 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointPortConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointPortConfig.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
* @param protocol
@@ -24,22 +34,29 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class EndpointPortConfig(
+
@Json(name = "Name")
var name: kotlin.String? = null,
+
@Json(name = "Protocol")
var protocol: EndpointPortConfig.Protocol? = null,
+
/* The port inside the container. */
@Json(name = "TargetPort")
var targetPort: kotlin.Int? = null,
+
/* The port on the swarm hosts. */
@Json(name = "PublishedPort")
var publishedPort: kotlin.Int? = null,
+
/* The mode in which port is published.
- \"ingress\" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - \"host\" bypasses the routing mesh and publish the port directly on the swarm node where that service is running. */
@Json(name = "PublishMode")
- var publishMode: EndpointPortConfig.PublishMode? = null
+ var publishMode: EndpointPortConfig.PublishMode? = PublishMode.Ingress
+
) {
/**
+ *
*
* Values: Tcp,Udp,Sctp
*/
@@ -50,6 +67,7 @@ data class EndpointPortConfig(
}
/**
* The mode in which port is published.
- \"ingress\" makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - \"host\" bypasses the routing mesh and publish the port directly on the swarm node where that service is running.
+ *
* Values: Ingress,Host
*/
enum class PublishMode(val value: kotlin.String) {
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointSettings.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointSettings.kt
index 1c4f9340..79a749fc 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointSettings.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointSettings.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,6 +25,7 @@ import com.squareup.moshi.JsonClass
/**
* Configuration for a network endpoint.
+ *
* @param ipAMConfig
* @param links
* @param aliases
@@ -32,40 +42,54 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class EndpointSettings(
+
@Json(name = "IPAMConfig")
var ipAMConfig: EndpointIPAMConfig? = null,
+
@Json(name = "Links")
- var links: kotlin.collections.List? = null,
+ var links: kotlin.collections.MutableList? = null,
+
@Json(name = "Aliases")
- var aliases: kotlin.collections.List? = null,
+ var aliases: kotlin.collections.MutableList? = null,
+
/* Unique ID of the network. */
@Json(name = "NetworkID")
var networkID: kotlin.String? = null,
+
/* Unique ID for the service endpoint in a Sandbox. */
@Json(name = "EndpointID")
var endpointID: kotlin.String? = null,
+
/* Gateway address for this network. */
@Json(name = "Gateway")
var gateway: kotlin.String? = null,
+
/* IPv4 address. */
@Json(name = "IPAddress")
var ipAddress: kotlin.String? = null,
+
/* Mask length of the IPv4 address. */
@Json(name = "IPPrefixLen")
var ipPrefixLen: kotlin.Int? = null,
+
/* IPv6 gateway address. */
@Json(name = "IPv6Gateway")
var ipv6Gateway: kotlin.String? = null,
+
/* Global IPv6 address. */
@Json(name = "GlobalIPv6Address")
var globalIPv6Address: kotlin.String? = null,
+
/* Mask length of the global IPv6 address. */
@Json(name = "GlobalIPv6PrefixLen")
var globalIPv6PrefixLen: kotlin.Long? = null,
+
/* MAC address for the endpoint on this network. */
@Json(name = "MacAddress")
var macAddress: kotlin.String? = null,
+
/* DriverOpts is a mapping of driver options and values. These options are passed directly to the driver and are driver specific. */
@Json(name = "DriverOpts")
- var driverOpts: kotlin.collections.Map? = null
+ var driverOpts: kotlin.collections.MutableMap? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointSpec.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointSpec.kt
index 525a2f3d..67a14236 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointSpec.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EndpointSpec.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,21 +25,26 @@ import com.squareup.moshi.JsonClass
/**
* Properties that can be configured to access and load balance a service.
+ *
* @param mode The mode of resolution to use for internal load balancing between tasks.
* @param ports List of exposed ports that this service is accessible on from the outside. Ports can only be provided if `vip` resolution mode is used.
*/
@JsonClass(generateAdapter = true)
data class EndpointSpec(
+
/* The mode of resolution to use for internal load balancing between tasks. */
@Json(name = "Mode")
- var mode: EndpointSpec.Mode? = null,
+ var mode: EndpointSpec.Mode? = Mode.Vip,
+
/* List of exposed ports that this service is accessible on from the outside. Ports can only be provided if `vip` resolution mode is used. */
@Json(name = "Ports")
- var ports: kotlin.collections.List? = null
+ var ports: kotlin.collections.MutableList? = null
+
) {
/**
* The mode of resolution to use for internal load balancing between tasks.
+ *
* Values: Vip,Dnsrr
*/
enum class Mode(val value: kotlin.String) {
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescription.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescription.kt
index 7776164a..1f9574da 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescription.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescription.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,16 +25,21 @@ import com.squareup.moshi.JsonClass
/**
* EngineDescription provides information about an engine.
+ *
* @param engineVersion
* @param labels
* @param plugins
*/
@JsonClass(generateAdapter = true)
data class EngineDescription(
+
@Json(name = "EngineVersion")
var engineVersion: kotlin.String? = null,
+
@Json(name = "Labels")
- var labels: kotlin.collections.Map? = null,
+ var labels: kotlin.collections.MutableMap? = null,
+
@Json(name = "Plugins")
- var plugins: kotlin.collections.List? = null
+ var plugins: kotlin.collections.MutableList? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPlugins.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPlugins.kt
index a57295ec..c055faf8 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPlugins.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EngineDescriptionPlugins.kt
@@ -1,28 +1,41 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 type
* @param name
*/
@JsonClass(generateAdapter = true)
data class EngineDescriptionPlugins(
+
@Json(name = "Type")
var type: kotlin.String? = null,
+
@Json(name = "Name")
var name: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ErrorDetail.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ErrorDetail.kt
index 59b5b4aa..f18efb80 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ErrorDetail.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ErrorDetail.kt
@@ -1,28 +1,41 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 code
* @param message
*/
@JsonClass(generateAdapter = true)
data class ErrorDetail(
+
@Json(name = "code")
var code: kotlin.Int? = null,
+
@Json(name = "message")
var message: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ErrorResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ErrorResponse.kt
index e6a2a7f1..7ae430e8 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ErrorResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ErrorResponse.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,11 +25,14 @@ import com.squareup.moshi.JsonClass
/**
* Represents an error.
+ *
* @param message The error message.
*/
@JsonClass(generateAdapter = true)
data class ErrorResponse(
+
/* The error message. */
@Json(name = "message")
var message: kotlin.String
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EventActor.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EventActor.kt
index 2c31af06..99533f49 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EventActor.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EventActor.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,15 +25,19 @@ import com.squareup.moshi.JsonClass
/**
* Actor describes something that generates events, like a container, network, or a volume.
+ *
* @param ID The ID of the object emitting the event
* @param attributes Various key/value attributes of the object, depending on its type.
*/
@JsonClass(generateAdapter = true)
data class EventActor(
+
/* The ID of the object emitting the event */
@Json(name = "ID")
var ID: kotlin.String? = null,
+
/* Various key/value attributes of the object, depending on its type. */
@Json(name = "Attributes")
- var attributes: kotlin.collections.Map? = null
+ var attributes: kotlin.collections.MutableMap? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EventMessage.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EventMessage.kt
index e059213f..93a4ba09 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EventMessage.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/EventMessage.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,6 +25,7 @@ import com.squareup.moshi.JsonClass
/**
* EventMessage represents the information an event contains.
+ *
* @param type The type of object emitting the event
* @param action The type of event
* @param actor
@@ -25,27 +35,35 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class EventMessage(
+
/* The type of object emitting the event */
@Json(name = "Type")
var type: EventMessage.Type? = null,
+
/* The type of event */
@Json(name = "Action")
var action: kotlin.String? = null,
+
@Json(name = "Actor")
var actor: EventActor? = null,
+
/* Scope of the event. Engine events are `local` scope. Cluster (Swarm) events are `swarm` scope. */
@Json(name = "scope")
var scope: EventMessage.Scope? = null,
+
/* Timestamp of event */
@Json(name = "time")
var time: kotlin.Long? = null,
+
/* Timestamp of event, with nanosecond accuracy */
@Json(name = "timeNano")
var timeNano: kotlin.Long? = null
+
) {
/**
* The type of object emitting the event
+ *
* Values: Builder,Config,Container,Daemon,Image,Network,Node,Plugin,Secret,Service,Volume
*/
enum class Type(val value: kotlin.String) {
@@ -63,6 +81,7 @@ data class EventMessage(
}
/**
* Scope of the event. Engine events are `local` scope. Cluster (Swarm) events are `swarm` scope.
+ *
* Values: Local,Swarm
*/
enum class Scope(val value: kotlin.String) {
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecConfig.kt
index 32108e4c..672ec4a4 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecConfig.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 attachStdin Attach to `stdin` of the exec command.
* @param attachStdout Attach to `stdout` of the exec command.
@@ -29,34 +39,45 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class ExecConfig(
+
/* Attach to `stdin` of the exec command. */
@Json(name = "AttachStdin")
var attachStdin: kotlin.Boolean? = null,
+
/* Attach to `stdout` of the exec command. */
@Json(name = "AttachStdout")
var attachStdout: kotlin.Boolean? = null,
+
/* Attach to `stderr` of the exec command. */
@Json(name = "AttachStderr")
var attachStderr: kotlin.Boolean? = null,
+
/* Override the key sequence for detaching a container. Format is a single character `[a-Z]` or `ctrl-` where `` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`. */
@Json(name = "DetachKeys")
var detachKeys: kotlin.String? = null,
+
/* Allocate a pseudo-TTY. */
@Json(name = "Tty")
var tty: kotlin.Boolean? = null,
+
/* A list of environment variables in the form `[\"VAR=value\", ...]`. */
@Json(name = "Env")
- var env: kotlin.collections.List? = null,
+ var env: kotlin.collections.MutableList? = null,
+
/* Command to run, as a string or array of strings. */
@Json(name = "Cmd")
- var cmd: kotlin.collections.List? = null,
+ var cmd: kotlin.collections.MutableList? = null,
+
/* Runs the exec process with extended privileges. */
@Json(name = "Privileged")
- var privileged: kotlin.Boolean? = null,
+ var privileged: kotlin.Boolean? = false,
+
/* The user, and optionally, group to run the exec process inside the container. Format is one of: `user`, `user:group`, `uid`, or `uid:gid`. */
@Json(name = "User")
var user: kotlin.String? = null,
+
/* The working directory for the exec process inside the container. */
@Json(name = "WorkingDir")
var workingDir: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecInspectResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecInspectResponse.kt
index 375cc3af..fc7db5b2 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecInspectResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecInspectResponse.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 canRemove
* @param detachKeys
@@ -30,27 +40,39 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class ExecInspectResponse(
+
@Json(name = "CanRemove")
var canRemove: kotlin.Boolean? = null,
+
@Json(name = "DetachKeys")
var detachKeys: kotlin.String? = null,
+
@Json(name = "ID")
var ID: kotlin.String? = null,
+
@Json(name = "Running")
var running: kotlin.Boolean? = null,
+
@Json(name = "ExitCode")
var exitCode: kotlin.Int? = null,
+
@Json(name = "ProcessConfig")
var processConfig: ProcessConfig? = null,
+
@Json(name = "OpenStdin")
var openStdin: kotlin.Boolean? = null,
+
@Json(name = "OpenStderr")
var openStderr: kotlin.Boolean? = null,
+
@Json(name = "OpenStdout")
var openStdout: kotlin.Boolean? = null,
+
@Json(name = "ContainerID")
var containerID: kotlin.String? = null,
+
/* The system process ID for the exec process. */
@Json(name = "Pid")
var pid: kotlin.Int? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecStartConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecStartConfig.kt
index 4b96a4eb..56825307 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecStartConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ExecStartConfig.kt
@@ -1,30 +1,43 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 detach Detach from the command.
* @param tty Allocate a pseudo-TTY.
*/
@JsonClass(generateAdapter = true)
data class ExecStartConfig(
+
/* Detach from the command. */
@Json(name = "Detach")
var detach: kotlin.Boolean? = null,
+
/* Allocate a pseudo-TTY. */
@Json(name = "Tty")
var tty: kotlin.Boolean? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GraphDriverData.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GraphDriverData.kt
index 678df031..af13adc5 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GraphDriverData.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/GraphDriverData.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,13 +25,17 @@ import com.squareup.moshi.JsonClass
/**
* Information about a container's graph driver.
+ *
* @param name
- * @param data
+ * @param `data`
*/
@JsonClass(generateAdapter = true)
data class GraphDriverData(
+
@Json(name = "Name")
var name: kotlin.String,
+
@Json(name = "Data")
- var data: kotlin.collections.Map?
+ var `data`: kotlin.collections.MutableMap?
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Health.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Health.kt
index 80fd5a85..321be5d1 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Health.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Health.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,25 +25,31 @@ import com.squareup.moshi.JsonClass
/**
* Health stores information about the container's healthcheck results.
+ *
* @param status Status is one of `none`, `starting`, `healthy` or `unhealthy` - \"none\" Indicates there is no healthcheck - \"starting\" Starting indicates that the container is not yet ready - \"healthy\" Healthy indicates that the container is running correctly - \"unhealthy\" Unhealthy indicates that the container has a problem
* @param failingStreak FailingStreak is the number of consecutive failures
* @param log Log contains the last few results (oldest first)
*/
@JsonClass(generateAdapter = true)
data class Health(
+
/* Status is one of `none`, `starting`, `healthy` or `unhealthy` - \"none\" Indicates there is no healthcheck - \"starting\" Starting indicates that the container is not yet ready - \"healthy\" Healthy indicates that the container is running correctly - \"unhealthy\" Unhealthy indicates that the container has a problem */
@Json(name = "Status")
var status: Health.Status? = null,
+
/* FailingStreak is the number of consecutive failures */
@Json(name = "FailingStreak")
var failingStreak: kotlin.Int? = null,
+
/* Log contains the last few results (oldest first) */
@Json(name = "Log")
- var log: kotlin.collections.List? = null
+ var log: kotlin.collections.MutableList? = null
+
) {
/**
* Status is one of `none`, `starting`, `healthy` or `unhealthy` - \"none\" Indicates there is no healthcheck - \"starting\" Starting indicates that the container is not yet ready - \"healthy\" Healthy indicates that the container is running correctly - \"unhealthy\" Unhealthy indicates that the container has a problem
+ *
* Values: None,Starting,Healthy,Unhealthy
*/
enum class Status(val value: kotlin.String) {
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HealthConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HealthConfig.kt
index edc21df0..ed1deda6 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HealthConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HealthConfig.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,6 +25,7 @@ import com.squareup.moshi.JsonClass
/**
* A test to perform to check that the container is healthy.
+ *
* @param test The test to perform. Possible values are: - `[]` inherit healthcheck from image or parent image - `[\"NONE\"]` disable healthcheck - `[\"CMD\", args...]` exec arguments directly - `[\"CMD-SHELL\", command]` run command with system's default shell
* @param interval The time to wait between checks in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit.
* @param timeout The time to wait before considering the check to have hung. It should be 0 or at least 1000000 (1 ms). 0 means inherit.
@@ -24,19 +34,25 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class HealthConfig(
+
/* The test to perform. Possible values are: - `[]` inherit healthcheck from image or parent image - `[\"NONE\"]` disable healthcheck - `[\"CMD\", args...]` exec arguments directly - `[\"CMD-SHELL\", command]` run command with system's default shell */
@Json(name = "Test")
- var test: kotlin.collections.List? = null,
+ var test: kotlin.collections.MutableList? = null,
+
/* The time to wait between checks in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit. */
@Json(name = "Interval")
var interval: kotlin.Int? = null,
+
/* The time to wait before considering the check to have hung. It should be 0 or at least 1000000 (1 ms). 0 means inherit. */
@Json(name = "Timeout")
var timeout: kotlin.Int? = null,
+
/* The number of consecutive failures needed to consider a container as unhealthy. 0 means inherit. */
@Json(name = "Retries")
var retries: kotlin.Int? = null,
+
/* Start period for the container to initialize before starting health-retries countdown in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit. */
@Json(name = "StartPeriod")
var startPeriod: kotlin.Int? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HealthcheckResult.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HealthcheckResult.kt
index bc614378..21a27dcd 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HealthcheckResult.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HealthcheckResult.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,6 +25,7 @@ import com.squareup.moshi.JsonClass
/**
* HealthcheckResult stores information about a single run of a healthcheck probe
+ *
* @param start Date and time at which this check started in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
* @param end Date and time at which this check ended in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds.
* @param exitCode ExitCode meanings: - `0` healthy - `1` unhealthy - `2` reserved (considered unhealthy) - other values: error running probe
@@ -23,16 +33,21 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class HealthcheckResult(
+
/* Date and time at which this check started in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. */
@Json(name = "Start")
var start: java.time.OffsetDateTime? = null,
+
/* Date and time at which this check ended in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format with nano-seconds. */
@Json(name = "End")
var end: kotlin.String? = null,
+
/* ExitCode meanings: - `0` healthy - `1` unhealthy - `2` reserved (considered unhealthy) - other values: error running probe */
@Json(name = "ExitCode")
var exitCode: kotlin.Int? = null,
+
/* Output from last check */
@Json(name = "Output")
var output: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HistoryResponseItem.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HistoryResponseItem.kt
index 38b2db52..d948c5b2 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HistoryResponseItem.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HistoryResponseItem.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,25 +25,33 @@ import com.squareup.moshi.JsonClass
/**
* individual image layer information in response to ImageHistory operation
+ *
* @param id
* @param created
* @param createdBy
* @param tags
- * @param size
+ * @param propertySize
* @param comment
*/
@JsonClass(generateAdapter = true)
data class HistoryResponseItem(
+
@Json(name = "Id")
var id: kotlin.String,
+
@Json(name = "Created")
var created: kotlin.Long,
+
@Json(name = "CreatedBy")
var createdBy: kotlin.String,
+
@Json(name = "Tags")
- var tags: kotlin.collections.List?,
+ var tags: kotlin.collections.MutableList?,
+
@Json(name = "Size")
- var size: kotlin.Long,
+ var propertySize: kotlin.Long,
+
@Json(name = "Comment")
var comment: kotlin.String
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfig.kt
index 192ff7f1..efb4500f 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfig.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,6 +25,7 @@ import com.squareup.moshi.JsonClass
/**
* Container configuration that depends on the host we are running on
+ *
* @param cpuShares An integer value representing this container's relative CPU weight versus other containers.
* @param memory Memory limit in bytes.
* @param cgroupParent Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist.
@@ -41,7 +51,7 @@ import com.squareup.moshi.JsonClass
* @param memorySwappiness Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100.
* @param nanoCpus CPU quota in units of 10-9 CPUs.
* @param oomKillDisable Disable OOM Killer for the container.
- * @param init Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used.
+ * @param `init` Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used.
* @param pidsLimit Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change.
* @param ulimits A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ```
* @param cpuCount The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last.
@@ -89,218 +99,290 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class HostConfig(
+
/* An integer value representing this container's relative CPU weight versus other containers. */
@Json(name = "CpuShares")
var cpuShares: kotlin.Int? = null,
+
/* Memory limit in bytes. */
@Json(name = "Memory")
- var memory: kotlin.Long? = null,
+ var memory: kotlin.Long? = 0,
+
/* Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist. */
@Json(name = "CgroupParent")
var cgroupParent: kotlin.String? = null,
+
/* Block IO weight (relative weight). */
@Json(name = "BlkioWeight")
var blkioWeight: kotlin.Int? = null,
+
/* Block IO weight (relative device weight) in the form: ``` [{\"Path\": \"device_path\", \"Weight\": weight}] ``` */
@Json(name = "BlkioWeightDevice")
- var blkioWeightDevice: kotlin.collections.List? = null,
+ var blkioWeightDevice: kotlin.collections.MutableList? = null,
+
/* Limit read rate (bytes per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */
@Json(name = "BlkioDeviceReadBps")
- var blkioDeviceReadBps: kotlin.collections.List? = null,
+ var blkioDeviceReadBps: kotlin.collections.MutableList? = null,
+
/* Limit write rate (bytes per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */
@Json(name = "BlkioDeviceWriteBps")
- var blkioDeviceWriteBps: kotlin.collections.List? = null,
+ var blkioDeviceWriteBps: kotlin.collections.MutableList? = null,
+
/* Limit read rate (IO per second) from a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */
@Json(name = "BlkioDeviceReadIOps")
- var blkioDeviceReadIOps: kotlin.collections.List? = null,
+ var blkioDeviceReadIOps: kotlin.collections.MutableList? = null,
+
/* Limit write rate (IO per second) to a device, in the form: ``` [{\"Path\": \"device_path\", \"Rate\": rate}] ``` */
@Json(name = "BlkioDeviceWriteIOps")
- var blkioDeviceWriteIOps: kotlin.collections.List? = null,
+ var blkioDeviceWriteIOps: kotlin.collections.MutableList? = null,
+
/* The length of a CPU period in microseconds. */
@Json(name = "CpuPeriod")
var cpuPeriod: kotlin.Long? = null,
+
/* Microseconds of CPU time that the container can get in a CPU period. */
@Json(name = "CpuQuota")
var cpuQuota: kotlin.Long? = null,
+
/* The length of a CPU real-time period in microseconds. Set to 0 to allocate no time allocated to real-time tasks. */
@Json(name = "CpuRealtimePeriod")
var cpuRealtimePeriod: kotlin.Long? = null,
+
/* The length of a CPU real-time runtime in microseconds. Set to 0 to allocate no time allocated to real-time tasks. */
@Json(name = "CpuRealtimeRuntime")
var cpuRealtimeRuntime: kotlin.Long? = null,
+
/* CPUs in which to allow execution (e.g., `0-3`, `0,1`). */
@Json(name = "CpusetCpus")
var cpusetCpus: kotlin.String? = null,
+
/* Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems. */
@Json(name = "CpusetMems")
var cpusetMems: kotlin.String? = null,
+
/* A list of devices to add to the container. */
@Json(name = "Devices")
- var devices: kotlin.collections.List? = null,
+ var devices: kotlin.collections.MutableList? = null,
+
/* a list of cgroup rules to apply to the container */
@Json(name = "DeviceCgroupRules")
- var deviceCgroupRules: kotlin.collections.List? = null,
+ var deviceCgroupRules: kotlin.collections.MutableList? = null,
+
/* A list of requests for devices to be sent to device drivers. */
@Json(name = "DeviceRequests")
- var deviceRequests: kotlin.collections.List? = null,
+ var deviceRequests: kotlin.collections.MutableList? = null,
+
/* Kernel memory limit in bytes.
> **Deprecated**: This field is deprecated as the kernel 5.4 deprecated > `kmem.limit_in_bytes`. */
@Json(name = "KernelMemory")
var kernelMemory: kotlin.Long? = null,
+
/* Hard limit for kernel TCP buffer memory (in bytes). */
@Json(name = "KernelMemoryTCP")
var kernelMemoryTCP: kotlin.Long? = null,
+
/* Memory soft limit in bytes. */
@Json(name = "MemoryReservation")
var memoryReservation: kotlin.Long? = null,
+
/* Total memory limit (memory + swap). Set as `-1` to enable unlimited swap. */
@Json(name = "MemorySwap")
var memorySwap: kotlin.Long? = null,
+
/* Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100. */
@Json(name = "MemorySwappiness")
var memorySwappiness: kotlin.Long? = null,
+
/* CPU quota in units of 10-9 CPUs. */
@Json(name = "NanoCpus")
var nanoCpus: kotlin.Long? = null,
+
/* Disable OOM Killer for the container. */
@Json(name = "OomKillDisable")
var oomKillDisable: kotlin.Boolean? = null,
+
/* Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used. */
@Json(name = "Init")
- var init: kotlin.Boolean? = null,
+ var `init`: kotlin.Boolean? = null,
+
/* Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change. */
@Json(name = "PidsLimit")
var pidsLimit: kotlin.Long? = null,
+
/* A list of resource limits to set in the container. For example: ``` {\"Name\": \"nofile\", \"Soft\": 1024, \"Hard\": 2048} ``` */
@Json(name = "Ulimits")
- var ulimits: kotlin.collections.List? = null,
+ var ulimits: kotlin.collections.MutableList? = null,
+
/* The number of usable CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. */
@Json(name = "CpuCount")
var cpuCount: kotlin.Long? = null,
+
/* The usable percentage of the available CPUs (Windows only). On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last. */
@Json(name = "CpuPercent")
var cpuPercent: kotlin.Long? = null,
+
/* Maximum IOps for the container system drive (Windows only) */
@Json(name = "IOMaximumIOps")
var ioMaximumIOps: kotlin.Long? = null,
+
/* Maximum IO in bytes per second for the container system drive (Windows only). */
@Json(name = "IOMaximumBandwidth")
var ioMaximumBandwidth: kotlin.Long? = null,
+
/* A list of volume bindings for this container. Each volume binding is a string in one of these forms: - `host-src:container-dest[:options]` to bind-mount a host path into the container. Both `host-src`, and `container-dest` must be an _absolute_ path. - `volume-name:container-dest[:options]` to bind-mount a volume managed by a volume driver into the container. `container-dest` must be an _absolute_ path. `options` is an optional, comma-delimited list of: - `nocopy` disables automatic copying of data from the container path to the volume. The `nocopy` flag only applies to named volumes. - `[ro|rw]` mounts a volume read-only or read-write, respectively. If omitted or set to `rw`, volumes are mounted read-write. - `[z|Z]` applies SELinux labels to allow or deny multiple containers to read and write to the same volume. - `z`: a _shared_ content label is applied to the content. This label indicates that multiple containers can share the volume content, for both reading and writing. - `Z`: a _private unshared_ label is applied to the content. This label indicates that only the current container can use a private volume. Labeling systems such as SELinux require proper labels to be placed on volume content that is mounted into a container. Without a label, the security system can prevent a container's processes from using the content. By default, the labels set by the host operating system are not modified. - `[[r]shared|[r]slave|[r]private]` specifies mount [propagation behavior](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt). This only applies to bind-mounted volumes, not internal volumes or named volumes. Mount propagation requires the source mount point (the location where the source directory is mounted in the host operating system) to have the correct propagation properties. For shared volumes, the source mount point must be set to `shared`. For slave volumes, the mount must be set to either `shared` or `slave`. */
@Json(name = "Binds")
- var binds: kotlin.collections.List? = null,
+ var binds: kotlin.collections.MutableList? = null,
+
/* Path to a file where the container ID is written */
@Json(name = "ContainerIDFile")
var containerIDFile: kotlin.String? = null,
+
@Json(name = "LogConfig")
var logConfig: HostConfigAllOfLogConfig? = null,
+
/* Network mode to use for this container. Supported standard values are: `bridge`, `host`, `none`, and `container:`. Any other value is taken as a custom network's name to which this container should connect to. */
@Json(name = "NetworkMode")
var networkMode: kotlin.String? = null,
+
/* PortMap describes the mapping of container ports to host ports, using the container's port-number and protocol as key in the format `/`, for example, `80/udp`. If a container's port is mapped for multiple protocols, separate entries are added to the mapping table. */
@Json(name = "PortBindings")
- var portBindings: kotlin.collections.Map>? = null,
+ var portBindings: kotlin.collections.MutableMap>? = null,
+
@Json(name = "RestartPolicy")
var restartPolicy: RestartPolicy? = null,
+
/* Automatically remove the container when the container's process exits. This has no effect if `RestartPolicy` is set. */
@Json(name = "AutoRemove")
var autoRemove: kotlin.Boolean? = null,
+
/* Driver that this container uses to mount volumes. */
@Json(name = "VolumeDriver")
var volumeDriver: kotlin.String? = null,
+
/* A list of volumes to inherit from another container, specified in the form `[:]`. */
@Json(name = "VolumesFrom")
- var volumesFrom: kotlin.collections.List? = null,
+ var volumesFrom: kotlin.collections.MutableList? = null,
+
/* Specification for mounts to be added to the container. */
@Json(name = "Mounts")
- var mounts: kotlin.collections.List? = null,
+ var mounts: kotlin.collections.MutableList? = null,
+
/* A list of kernel capabilities to add to the container. Conflicts with option 'Capabilities'. */
@Json(name = "CapAdd")
- var capAdd: kotlin.collections.List? = null,
+ var capAdd: kotlin.collections.MutableList? = null,
+
/* A list of kernel capabilities to drop from the container. Conflicts with option 'Capabilities'. */
@Json(name = "CapDrop")
- var capDrop: kotlin.collections.List? = null,
+ var capDrop: kotlin.collections.MutableList? = null,
+
/* cgroup namespace mode for the container. Possible values are: - `\"private\"`: the container runs in its own private cgroup namespace - `\"host\"`: use the host system's cgroup namespace If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration. */
@Json(name = "CgroupnsMode")
var cgroupnsMode: HostConfig.CgroupnsMode? = null,
+
/* A list of DNS servers for the container to use. */
@Json(name = "Dns")
- var dns: kotlin.collections.List? = null,
+ var dns: kotlin.collections.MutableList? = null,
+
/* A list of DNS options. */
@Json(name = "DnsOptions")
- var dnsOptions: kotlin.collections.List? = null,
+ var dnsOptions: kotlin.collections.MutableList? = null,
+
/* A list of DNS search domains. */
@Json(name = "DnsSearch")
- var dnsSearch: kotlin.collections.List? = null,
+ var dnsSearch: kotlin.collections.MutableList? = null,
+
/* A list of hostnames/IP mappings to add to the container's `/etc/hosts` file. Specified in the form `[\"hostname:IP\"]`. */
@Json(name = "ExtraHosts")
- var extraHosts: kotlin.collections.List? = null,
+ var extraHosts: kotlin.collections.MutableList? = null,
+
/* A list of additional groups that the container process will run as. */
@Json(name = "GroupAdd")
- var groupAdd: kotlin.collections.List? = null,
+ var groupAdd: kotlin.collections.MutableList? = null,
+
/* IPC sharing mode for the container. Possible values are: - `\"none\"`: own private IPC namespace, with /dev/shm not mounted - `\"private\"`: own private IPC namespace - `\"shareable\"`: own private IPC namespace, with a possibility to share it with other containers - `\"container:\"`: join another (shareable) container's IPC namespace - `\"host\"`: use the host system's IPC namespace If not specified, daemon default is used, which can either be `\"private\"` or `\"shareable\"`, depending on daemon version and configuration. */
@Json(name = "IpcMode")
var ipcMode: kotlin.String? = null,
+
/* Cgroup to use for the container. */
@Json(name = "Cgroup")
var cgroup: kotlin.String? = null,
+
/* A list of links for the container in the form `container_name:alias`. */
@Json(name = "Links")
- var links: kotlin.collections.List? = null,
+ var links: kotlin.collections.MutableList? = null,
+
/* An integer value containing the score given to the container in order to tune OOM killer preferences. */
@Json(name = "OomScoreAdj")
var oomScoreAdj: kotlin.Int? = null,
+
/* Set the PID (Process) Namespace mode for the container. It can be either: - `\"container:\"`: joins another container's PID namespace - `\"host\"`: use the host's PID namespace inside the container */
@Json(name = "PidMode")
var pidMode: kotlin.String? = null,
+
/* Gives the container full access to the host. */
@Json(name = "Privileged")
var privileged: kotlin.Boolean? = null,
+
/* Allocates an ephemeral host port for all of a container's exposed ports. Ports are de-allocated when the container stops and allocated when the container starts. The allocated port might be changed when restarting the container. The port is selected from the ephemeral port range that depends on the kernel. For example, on Linux the range is defined by `/proc/sys/net/ipv4/ip_local_port_range`. */
@Json(name = "PublishAllPorts")
var publishAllPorts: kotlin.Boolean? = null,
+
/* Mount the container's root filesystem as read only. */
@Json(name = "ReadonlyRootfs")
var readonlyRootfs: kotlin.Boolean? = null,
+
/* A list of string values to customize labels for MLS systems, such as SELinux. */
@Json(name = "SecurityOpt")
- var securityOpt: kotlin.collections.List? = null,
+ var securityOpt: kotlin.collections.MutableList? = null,
+
/* Storage driver options for this container, in the form `{\"size\": \"120G\"}`. */
@Json(name = "StorageOpt")
- var storageOpt: kotlin.collections.Map? = null,
+ var storageOpt: kotlin.collections.MutableMap? = null,
+
/* A map of container directories which should be replaced by tmpfs mounts, and their corresponding mount options. For example: ``` { \"/run\": \"rw,noexec,nosuid,size=65536k\" } ``` */
@Json(name = "Tmpfs")
- var tmpfs: kotlin.collections.Map? = null,
+ var tmpfs: kotlin.collections.MutableMap? = null,
+
/* UTS namespace to use for the container. */
@Json(name = "UTSMode")
var utSMode: kotlin.String? = null,
+
/* Sets the usernamespace mode for the container when usernamespace remapping option is enabled. */
@Json(name = "UsernsMode")
var usernsMode: kotlin.String? = null,
+
/* Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. */
@Json(name = "ShmSize")
var shmSize: kotlin.Int? = null,
+
/* A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` */
@Json(name = "Sysctls")
- var sysctls: kotlin.collections.Map? = null,
+ var sysctls: kotlin.collections.MutableMap? = null,
+
/* Runtime to use with this container. */
@Json(name = "Runtime")
var runtime: kotlin.String? = null,
+
/* Initial console size, as an `[height, width]` array. (Windows only) */
@Json(name = "ConsoleSize")
- var consoleSize: kotlin.collections.List? = null,
+ var consoleSize: kotlin.collections.MutableList? = null,
+
/* Isolation technology of the container. (Windows only) */
@Json(name = "Isolation")
var isolation: HostConfig.Isolation? = null,
+
/* The list of paths to be masked inside the container (this overrides the default set of paths). */
@Json(name = "MaskedPaths")
- var maskedPaths: kotlin.collections.List? = null,
+ var maskedPaths: kotlin.collections.MutableList? = null,
+
/* The list of paths to be set as read-only inside the container (this overrides the default set of paths). */
@Json(name = "ReadonlyPaths")
- var readonlyPaths: kotlin.collections.List? = null
+ var readonlyPaths: kotlin.collections.MutableList? = null
+
) {
/**
* cgroup namespace mode for the container. Possible values are: - `\"private\"`: the container runs in its own private cgroup namespace - `\"host\"`: use the host system's cgroup namespace If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration.
+ *
* Values: Private,Host
*/
enum class CgroupnsMode(val value: kotlin.String) {
@@ -309,6 +391,7 @@ data class HostConfig(
}
/**
* Isolation technology of the container. (Windows only)
+ *
* Values: Default,Process,Hyperv
*/
enum class Isolation(val value: kotlin.String) {
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOf.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOf.kt
index d5337fa7..f5769db3 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOf.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOf.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 binds A list of volume bindings for this container. Each volume binding is a string in one of these forms: - `host-src:container-dest[:options]` to bind-mount a host path into the container. Both `host-src`, and `container-dest` must be an _absolute_ path. - `volume-name:container-dest[:options]` to bind-mount a volume managed by a volume driver into the container. `container-dest` must be an _absolute_ path. `options` is an optional, comma-delimited list of: - `nocopy` disables automatic copying of data from the container path to the volume. The `nocopy` flag only applies to named volumes. - `[ro|rw]` mounts a volume read-only or read-write, respectively. If omitted or set to `rw`, volumes are mounted read-write. - `[z|Z]` applies SELinux labels to allow or deny multiple containers to read and write to the same volume. - `z`: a _shared_ content label is applied to the content. This label indicates that multiple containers can share the volume content, for both reading and writing. - `Z`: a _private unshared_ label is applied to the content. This label indicates that only the current container can use a private volume. Labeling systems such as SELinux require proper labels to be placed on volume content that is mounted into a container. Without a label, the security system can prevent a container's processes from using the content. By default, the labels set by the host operating system are not modified. - `[[r]shared|[r]slave|[r]private]` specifies mount [propagation behavior](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt). This only applies to bind-mounted volumes, not internal volumes or named volumes. Mount propagation requires the source mount point (the location where the source directory is mounted in the host operating system) to have the correct propagation properties. For shared volumes, the source mount point must be set to `shared`. For slave volumes, the mount must be set to either `shared` or `slave`.
* @param containerIDFile Path to a file where the container ID is written
@@ -57,122 +67,162 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class HostConfigAllOf(
+
/* A list of volume bindings for this container. Each volume binding is a string in one of these forms: - `host-src:container-dest[:options]` to bind-mount a host path into the container. Both `host-src`, and `container-dest` must be an _absolute_ path. - `volume-name:container-dest[:options]` to bind-mount a volume managed by a volume driver into the container. `container-dest` must be an _absolute_ path. `options` is an optional, comma-delimited list of: - `nocopy` disables automatic copying of data from the container path to the volume. The `nocopy` flag only applies to named volumes. - `[ro|rw]` mounts a volume read-only or read-write, respectively. If omitted or set to `rw`, volumes are mounted read-write. - `[z|Z]` applies SELinux labels to allow or deny multiple containers to read and write to the same volume. - `z`: a _shared_ content label is applied to the content. This label indicates that multiple containers can share the volume content, for both reading and writing. - `Z`: a _private unshared_ label is applied to the content. This label indicates that only the current container can use a private volume. Labeling systems such as SELinux require proper labels to be placed on volume content that is mounted into a container. Without a label, the security system can prevent a container's processes from using the content. By default, the labels set by the host operating system are not modified. - `[[r]shared|[r]slave|[r]private]` specifies mount [propagation behavior](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt). This only applies to bind-mounted volumes, not internal volumes or named volumes. Mount propagation requires the source mount point (the location where the source directory is mounted in the host operating system) to have the correct propagation properties. For shared volumes, the source mount point must be set to `shared`. For slave volumes, the mount must be set to either `shared` or `slave`. */
@Json(name = "Binds")
- var binds: kotlin.collections.List? = null,
+ var binds: kotlin.collections.MutableList? = null,
+
/* Path to a file where the container ID is written */
@Json(name = "ContainerIDFile")
var containerIDFile: kotlin.String? = null,
+
@Json(name = "LogConfig")
var logConfig: HostConfigAllOfLogConfig? = null,
+
/* Network mode to use for this container. Supported standard values are: `bridge`, `host`, `none`, and `container:`. Any other value is taken as a custom network's name to which this container should connect to. */
@Json(name = "NetworkMode")
var networkMode: kotlin.String? = null,
+
/* PortMap describes the mapping of container ports to host ports, using the container's port-number and protocol as key in the format `/`, for example, `80/udp`. If a container's port is mapped for multiple protocols, separate entries are added to the mapping table. */
@Json(name = "PortBindings")
- var portBindings: kotlin.collections.Map>? = null,
+ var portBindings: kotlin.collections.MutableMap>? = null,
+
@Json(name = "RestartPolicy")
var restartPolicy: RestartPolicy? = null,
+
/* Automatically remove the container when the container's process exits. This has no effect if `RestartPolicy` is set. */
@Json(name = "AutoRemove")
var autoRemove: kotlin.Boolean? = null,
+
/* Driver that this container uses to mount volumes. */
@Json(name = "VolumeDriver")
var volumeDriver: kotlin.String? = null,
+
/* A list of volumes to inherit from another container, specified in the form `[:]`. */
@Json(name = "VolumesFrom")
- var volumesFrom: kotlin.collections.List? = null,
+ var volumesFrom: kotlin.collections.MutableList? = null,
+
/* Specification for mounts to be added to the container. */
@Json(name = "Mounts")
- var mounts: kotlin.collections.List? = null,
+ var mounts: kotlin.collections.MutableList? = null,
+
/* A list of kernel capabilities to add to the container. Conflicts with option 'Capabilities'. */
@Json(name = "CapAdd")
- var capAdd: kotlin.collections.List? = null,
+ var capAdd: kotlin.collections.MutableList? = null,
+
/* A list of kernel capabilities to drop from the container. Conflicts with option 'Capabilities'. */
@Json(name = "CapDrop")
- var capDrop: kotlin.collections.List? = null,
+ var capDrop: kotlin.collections.MutableList? = null,
+
/* cgroup namespace mode for the container. Possible values are: - `\"private\"`: the container runs in its own private cgroup namespace - `\"host\"`: use the host system's cgroup namespace If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration. */
@Json(name = "CgroupnsMode")
var cgroupnsMode: HostConfigAllOf.CgroupnsMode? = null,
+
/* A list of DNS servers for the container to use. */
@Json(name = "Dns")
- var dns: kotlin.collections.List? = null,
+ var dns: kotlin.collections.MutableList? = null,
+
/* A list of DNS options. */
@Json(name = "DnsOptions")
- var dnsOptions: kotlin.collections.List? = null,
+ var dnsOptions: kotlin.collections.MutableList? = null,
+
/* A list of DNS search domains. */
@Json(name = "DnsSearch")
- var dnsSearch: kotlin.collections.List? = null,
+ var dnsSearch: kotlin.collections.MutableList? = null,
+
/* A list of hostnames/IP mappings to add to the container's `/etc/hosts` file. Specified in the form `[\"hostname:IP\"]`. */
@Json(name = "ExtraHosts")
- var extraHosts: kotlin.collections.List? = null,
+ var extraHosts: kotlin.collections.MutableList? = null,
+
/* A list of additional groups that the container process will run as. */
@Json(name = "GroupAdd")
- var groupAdd: kotlin.collections.List? = null,
+ var groupAdd: kotlin.collections.MutableList? = null,
+
/* IPC sharing mode for the container. Possible values are: - `\"none\"`: own private IPC namespace, with /dev/shm not mounted - `\"private\"`: own private IPC namespace - `\"shareable\"`: own private IPC namespace, with a possibility to share it with other containers - `\"container:\"`: join another (shareable) container's IPC namespace - `\"host\"`: use the host system's IPC namespace If not specified, daemon default is used, which can either be `\"private\"` or `\"shareable\"`, depending on daemon version and configuration. */
@Json(name = "IpcMode")
var ipcMode: kotlin.String? = null,
+
/* Cgroup to use for the container. */
@Json(name = "Cgroup")
var cgroup: kotlin.String? = null,
+
/* A list of links for the container in the form `container_name:alias`. */
@Json(name = "Links")
- var links: kotlin.collections.List? = null,
+ var links: kotlin.collections.MutableList? = null,
+
/* An integer value containing the score given to the container in order to tune OOM killer preferences. */
@Json(name = "OomScoreAdj")
var oomScoreAdj: kotlin.Int? = null,
+
/* Set the PID (Process) Namespace mode for the container. It can be either: - `\"container:\"`: joins another container's PID namespace - `\"host\"`: use the host's PID namespace inside the container */
@Json(name = "PidMode")
var pidMode: kotlin.String? = null,
+
/* Gives the container full access to the host. */
@Json(name = "Privileged")
var privileged: kotlin.Boolean? = null,
+
/* Allocates an ephemeral host port for all of a container's exposed ports. Ports are de-allocated when the container stops and allocated when the container starts. The allocated port might be changed when restarting the container. The port is selected from the ephemeral port range that depends on the kernel. For example, on Linux the range is defined by `/proc/sys/net/ipv4/ip_local_port_range`. */
@Json(name = "PublishAllPorts")
var publishAllPorts: kotlin.Boolean? = null,
+
/* Mount the container's root filesystem as read only. */
@Json(name = "ReadonlyRootfs")
var readonlyRootfs: kotlin.Boolean? = null,
+
/* A list of string values to customize labels for MLS systems, such as SELinux. */
@Json(name = "SecurityOpt")
- var securityOpt: kotlin.collections.List? = null,
+ var securityOpt: kotlin.collections.MutableList? = null,
+
/* Storage driver options for this container, in the form `{\"size\": \"120G\"}`. */
@Json(name = "StorageOpt")
- var storageOpt: kotlin.collections.Map? = null,
+ var storageOpt: kotlin.collections.MutableMap? = null,
+
/* A map of container directories which should be replaced by tmpfs mounts, and their corresponding mount options. For example: ``` { \"/run\": \"rw,noexec,nosuid,size=65536k\" } ``` */
@Json(name = "Tmpfs")
- var tmpfs: kotlin.collections.Map? = null,
+ var tmpfs: kotlin.collections.MutableMap? = null,
+
/* UTS namespace to use for the container. */
@Json(name = "UTSMode")
var utSMode: kotlin.String? = null,
+
/* Sets the usernamespace mode for the container when usernamespace remapping option is enabled. */
@Json(name = "UsernsMode")
var usernsMode: kotlin.String? = null,
+
/* Size of `/dev/shm` in bytes. If omitted, the system uses 64MB. */
@Json(name = "ShmSize")
var shmSize: kotlin.Int? = null,
+
/* A list of kernel parameters (sysctls) to set in the container. For example: ``` {\"net.ipv4.ip_forward\": \"1\"} ``` */
@Json(name = "Sysctls")
- var sysctls: kotlin.collections.Map? = null,
+ var sysctls: kotlin.collections.MutableMap? = null,
+
/* Runtime to use with this container. */
@Json(name = "Runtime")
var runtime: kotlin.String? = null,
+
/* Initial console size, as an `[height, width]` array. (Windows only) */
@Json(name = "ConsoleSize")
- var consoleSize: kotlin.collections.List? = null,
+ var consoleSize: kotlin.collections.MutableList? = null,
+
/* Isolation technology of the container. (Windows only) */
@Json(name = "Isolation")
var isolation: HostConfigAllOf.Isolation? = null,
+
/* The list of paths to be masked inside the container (this overrides the default set of paths). */
@Json(name = "MaskedPaths")
- var maskedPaths: kotlin.collections.List? = null,
+ var maskedPaths: kotlin.collections.MutableList? = null,
+
/* The list of paths to be set as read-only inside the container (this overrides the default set of paths). */
@Json(name = "ReadonlyPaths")
- var readonlyPaths: kotlin.collections.List? = null
+ var readonlyPaths: kotlin.collections.MutableList? = null
+
) {
/**
* cgroup namespace mode for the container. Possible values are: - `\"private\"`: the container runs in its own private cgroup namespace - `\"host\"`: use the host system's cgroup namespace If not specified, the daemon default is used, which can either be `\"private\"` or `\"host\"`, depending on daemon version, kernel support and configuration.
+ *
* Values: Private,Host
*/
enum class CgroupnsMode(val value: kotlin.String) {
@@ -181,6 +231,7 @@ data class HostConfigAllOf(
}
/**
* Isolation technology of the container. (Windows only)
+ *
* Values: Default,Process,Hyperv
*/
enum class Isolation(val value: kotlin.String) {
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt
index 91b156e5..1b9d587a 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,18 +25,23 @@ import com.squareup.moshi.JsonClass
/**
* The logging configuration for this container
+ *
* @param type
* @param config
*/
@JsonClass(generateAdapter = true)
data class HostConfigAllOfLogConfig(
+
@Json(name = "Type")
var type: HostConfigAllOfLogConfig.Type? = null,
+
@Json(name = "Config")
- var config: kotlin.collections.Map? = null
+ var config: kotlin.collections.MutableMap? = null
+
) {
/**
+ *
*
* Values: JsonMinusFile,Syslog,Journald,Gelf,Fluentd,Awslogs,Splunk,Etwlogs,None
*/
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/IPAM.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/IPAM.kt
index 74c1f126..17ccd450 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/IPAM.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/IPAM.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 driver Name of the IPAM driver to use.
* @param config List of IPAM configuration options, specified as a map: ``` {\"Subnet\": , \"IPRange\": , \"Gateway\": , \"AuxAddress\": } ```
@@ -22,13 +32,17 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class IPAM(
+
/* Name of the IPAM driver to use. */
@Json(name = "Driver")
- var driver: kotlin.String? = null,
+ var driver: kotlin.String? = "default",
+
/* List of IPAM configuration options, specified as a map: ``` {\"Subnet\": , \"IPRange\": , \"Gateway\": , \"AuxAddress\": } ``` */
@Json(name = "Config")
- var config: kotlin.collections.List>? = null,
+ var config: kotlin.collections.MutableList>? = null,
+
/* Driver-specific options, specified as a map. */
@Json(name = "Options")
- var options: kotlin.collections.Map? = null
+ var options: kotlin.collections.MutableMap? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/IdResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/IdResponse.kt
index c62af918..c9b50686 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/IdResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/IdResponse.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,11 +25,14 @@ import com.squareup.moshi.JsonClass
/**
* Response to an API call that returns just an Id
+ *
* @param id The id of the newly created object.
*/
@JsonClass(generateAdapter = true)
data class IdResponse(
+
/* The id of the newly created object. */
@Json(name = "Id")
var id: kotlin.String
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Image.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Image.kt
index 68cb7ab5..a6fdf1e3 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Image.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/Image.kt
@@ -1,20 +1,30 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 id
* @param parent
@@ -25,7 +35,7 @@ import com.squareup.moshi.JsonClass
* @param author
* @param architecture
* @param os
- * @param size
+ * @param propertySize
* @param virtualSize
* @param graphDriver
* @param rootFS
@@ -38,42 +48,62 @@ import com.squareup.moshi.JsonClass
*/
@JsonClass(generateAdapter = true)
data class Image(
+
@Json(name = "Id")
var id: kotlin.String,
+
@Json(name = "Parent")
var parent: kotlin.String,
+
@Json(name = "Comment")
var comment: kotlin.String,
+
@Json(name = "Created")
var created: kotlin.String,
+
@Json(name = "Container")
var container: kotlin.String,
+
@Json(name = "DockerVersion")
var dockerVersion: kotlin.String,
+
@Json(name = "Author")
var author: kotlin.String,
+
@Json(name = "Architecture")
var architecture: kotlin.String,
+
@Json(name = "Os")
var os: kotlin.String,
+
@Json(name = "Size")
- var size: kotlin.Long,
+ var propertySize: kotlin.Long,
+
@Json(name = "VirtualSize")
var virtualSize: kotlin.Long,
+
@Json(name = "GraphDriver")
var graphDriver: GraphDriverData,
+
@Json(name = "RootFS")
var rootFS: ImageRootFS,
+
@Json(name = "RepoTags")
- var repoTags: kotlin.collections.List? = null,
+ var repoTags: kotlin.collections.MutableList? = null,
+
@Json(name = "RepoDigests")
- var repoDigests: kotlin.collections.List? = null,
+ var repoDigests: kotlin.collections.MutableList? = null,
+
@Json(name = "ContainerConfig")
var containerConfig: ContainerConfig? = null,
+
@Json(name = "Config")
var config: ContainerConfig? = null,
+
@Json(name = "OsVersion")
var osVersion: kotlin.String? = null,
+
@Json(name = "Metadata")
var metadata: ImageMetadata? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageDeleteResponseItem.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageDeleteResponseItem.kt
index 4bbe82fa..adc7e0c9 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageDeleteResponseItem.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageDeleteResponseItem.kt
@@ -1,30 +1,43 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 untagged The image ID of an image that was untagged
* @param deleted The image ID of an image that was deleted
*/
@JsonClass(generateAdapter = true)
data class ImageDeleteResponseItem(
+
/* The image ID of an image that was untagged */
@Json(name = "Untagged")
var untagged: kotlin.String? = null,
+
/* The image ID of an image that was deleted */
@Json(name = "Deleted")
var deleted: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageID.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageID.kt
index 8cae1189..14ea8505 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageID.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageID.kt
@@ -1,14 +1,23 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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
@@ -16,10 +25,13 @@ import com.squareup.moshi.JsonClass
/**
* Image ID or Digest
+ *
* @param ID
*/
@JsonClass(generateAdapter = true)
data class ImageID(
+
@Json(name = "ID")
var ID: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageMetadata.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageMetadata.kt
index faa92ce0..d60ab232 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageMetadata.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImageMetadata.kt
@@ -1,25 +1,37 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 lastTagTime
*/
@JsonClass(generateAdapter = true)
data class ImageMetadata(
+
@Json(name = "LastTagTime")
var lastTagTime: kotlin.String? = null
+
)
diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImagePruneResponse.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImagePruneResponse.kt
index b5e860e7..7c967d3a 100644
--- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImagePruneResponse.kt
+++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ImagePruneResponse.kt
@@ -1,30 +1,43 @@
/**
-* Docker Engine API
-* The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
-*
-* The version of the OpenAPI document: 1.41
-*
-*
-* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
-* https://openapi-generator.tech
-* Do not edit the class manually.
-*/
+ * Docker Engine API
+ *
+ * The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API. Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls. # Errors The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format: ``` { \"message\": \"page not found\" } ``` # Versioning The API is usually changed in each release, so API calls are versioned to ensure that clients don't break. To lock to a specific version of the API, you prefix the URL with its version, for example, call `/v1.30/info` to use the v1.30 version of the `/info` endpoint. If the API version specified in the URL is not supported by the daemon, a HTTP `400 Bad Request` error message is returned. If you omit the version-prefix, the current version of the API (v1.41) is used. For example, calling `/info` is the same as calling `/v1.41/info`. Using the API without a version-prefix is deprecated and will be removed in a future release. Engine releases in the near future should support this version of the API, so your client will continue to work even if it is talking to a newer Engine. The API uses an open schema model, which means server may add extra properties to responses. Likewise, the server will ignore any extra query parameters and request body properties. When you write clients, you need to ignore additional properties in responses to ensure they do not break when talking to newer daemons. # Authentication Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5) (JSON) string with the following structure: ``` { \"username\": \"string\", \"password\": \"string\", \"email\": \"string\", \"serveraddress\": \"string\" } ``` The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required. If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials: ``` { \"identitytoken\": \"9cbaf023786cd7...\" } ```
+ *
+ * The version of the OpenAPI document: 1.41
+ *
+ *
+ * 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 imagesDeleted Images that were deleted
* @param spaceReclaimed Disk space reclaimed in bytes
*/
@JsonClass(generateAdapter = true)
data class ImagePruneResponse(
+
/* Images that were deleted */
@Json(name = "ImagesDeleted")
- var imagesDeleted: kotlin.collections.List