Current section
Files
Jump to
Current section
Files
lib/docker_engine_api/model/healthcheck_result.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.HealthcheckResult do
@moduledoc """
HealthcheckResult stores information about a single run of a healthcheck probe
"""
@derive Jason.Encoder
defstruct [
:Start,
:End,
:ExitCode,
:Output
]
@type t :: %__MODULE__{
:Start => DateTime.t | nil,
:End => String.t | nil,
:ExitCode => integer() | nil,
:Output => String.t | nil
}
alias DockerEngineAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:Start, :datetime, nil)
end
end