Current section

Files

Jump to
nomad_client lib nomad model autopilot_configuration.ex
Raw

lib/nomad/model/autopilot_configuration.ex

# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.
defmodule Nomad.Model.AutopilotConfiguration do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:CleanupDeadServers,
:LastContactThreshold,
:MaxTrailingLogs,
:MinQuorum,
:ServerStabilizationTime,
:EnableRedundancyZones,
:DisableUpgradeMigration,
:EnableCustomUpgrades,
:CreateIndex,
:ModifyIndex
]
@type t :: %__MODULE__{
:CleanupDeadServers => boolean() | nil,
:LastContactThreshold => integer() | nil,
:MaxTrailingLogs => integer() | nil,
:MinQuorum => integer() | nil,
:ServerStabilizationTime => integer() | nil,
:EnableRedundancyZones => boolean() | nil,
:DisableUpgradeMigration => boolean() | nil,
:EnableCustomUpgrades => boolean() | nil,
:CreateIndex => integer() | nil,
:ModifyIndex => integer() | nil
}
end
defimpl Poison.Decoder, for: Nomad.Model.AutopilotConfiguration do
def decode(value, _options) do
value
end
end