Current section
Files
Jump to
Current section
Files
lib/docker_engine_api/model/mount_volume_options.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.12.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DockerEngineAPI.Model.MountVolumeOptions do
@moduledoc """
Optional configuration for the `volume` type.
"""
@derive JSON.Encoder
defstruct [
:NoCopy,
:Labels,
:DriverConfig,
:Subpath
]
@type t :: %__MODULE__{
:NoCopy => boolean() | nil,
:Labels => %{optional(String.t) => String.t} | nil,
:DriverConfig => DockerEngineAPI.Model.MountVolumeOptionsDriverConfig.t | nil,
:Subpath => String.t | nil
}
alias DockerEngineAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:DriverConfig, :struct, DockerEngineAPI.Model.MountVolumeOptionsDriverConfig)
end
end