Current section

Files

Jump to
testcontainers docker_engine_api model network_attachment_config.ex
Raw

docker_engine_api/model/network_attachment_config.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.0.1 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DockerEngineAPI.Model.NetworkAttachmentConfig do
@moduledoc """
Specifies how a service should be attached to a particular network.
"""
@derive Jason.Encoder
defstruct [
:Target,
:Aliases,
:DriverOpts
]
@type t :: %__MODULE__{
:Target => String.t | nil,
:Aliases => [String.t] | nil,
:DriverOpts => %{optional(String.t) => String.t} | nil
}
def decode(value) do
value
end
end