lib/nomad_client/model/deployment_alloc_health_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.DeploymentAllocHealthRequest do
  @moduledoc """

  """

  @derive [Poison.Encoder]
  defstruct [
    :DeploymentID,
    :HealthyAllocationIDs,
    :Namespace,
    :Region,
    :SecretID,
    :UnhealthyAllocationIDs
  ]

  @type t :: %__MODULE__{
          :DeploymentID => String.t() | nil,
          :HealthyAllocationIDs => [String.t()] | nil,
          :Namespace => String.t() | nil,
          :Region => String.t() | nil,
          :SecretID => String.t() | nil,
          :UnhealthyAllocationIDs => [String.t()] | nil
        }
end

defimpl Poison.Decoder, for: NomadClient.Model.DeploymentAllocHealthRequest do
  def decode(value, _options) do
    value
  end
end