Current section
Files
Jump to
Current section
Files
lib/docker_engine_api/model/node_spec.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.NodeSpec do
@moduledoc """
"""
@derive Jason.Encoder
defstruct [
:Name,
:Labels,
:Role,
:Availability
]
@type t :: %__MODULE__{
:Name => String.t | nil,
:Labels => %{optional(String.t) => String.t} | nil,
:Role => String.t | nil,
:Availability => String.t | nil
}
def decode(value) do
value
end
end