Current section
Files
Jump to
Current section
Files
lib/nomad_client/model/deployment_promote_request.ex
# NOTE: This file is auto generated by OpenAPI Generator 6.2.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule NomadClient.Model.DeploymentPromoteRequest do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:All,
:DeploymentID,
:Groups,
:Namespace,
:Region,
:SecretID
]
@type t :: %__MODULE__{
:All => boolean() | nil,
:DeploymentID => String.t() | nil,
:Groups => [String.t()] | nil,
:Namespace => String.t() | nil,
:Region => String.t() | nil,
:SecretID => String.t() | nil
}
end
defimpl Poison.Decoder, for: NomadClient.Model.DeploymentPromoteRequest do
def decode(value, _options) do
value
end
end