Current section
Files
Jump to
Current section
Files
lib/docker_engine_api/model/port_binding.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.PortBinding do
@moduledoc """
PortBinding represents a binding between a host IP address and a host port.
"""
@derive JSON.Encoder
defstruct [
:HostIp,
:HostPort
]
@type t :: %__MODULE__{
:HostIp => String.t | nil,
:HostPort => String.t | nil
}
def decode(value) do
value
end
end