Packages

Docker Engine API client for Elixir.

Current section

Files

Jump to
ex_docker_api lib docker_engine_api model engine_description.ex
Raw

lib/docker_engine_api/model/engine_description.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.EngineDescription do
@moduledoc """
EngineDescription provides information about an engine.
"""
@derive JSON.Encoder
defstruct [
:EngineVersion,
:Labels,
:Plugins
]
@type t :: %__MODULE__{
:EngineVersion => String.t | nil,
:Labels => %{optional(String.t) => String.t} | nil,
:Plugins => [DockerEngineAPI.Model.EngineDescriptionPluginsInner.t] | nil
}
alias DockerEngineAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:Plugins, :list, DockerEngineAPI.Model.EngineDescriptionPluginsInner)
end
end