Current section
Files
Jump to
Current section
Files
lib/docker_engine_api/model/endpoint_resource.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.23.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DockerEngineAPI.Model.EndpointResource do
@moduledoc """
contains network resources allocated and used for a container in a network.
"""
@derive JSON.Encoder
defstruct [
:Name,
:EndpointID,
:MacAddress,
:IPv4Address,
:IPv6Address
]
@type t :: %__MODULE__{
:Name => String.t | nil,
:EndpointID => String.t | nil,
:MacAddress => String.t | nil,
:IPv4Address => String.t | nil,
:IPv6Address => String.t | nil
}
def decode(value) do
value
end
end