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

  """

  @derive [Poison.Encoder]
  defstruct [
    :KnownLeader,
    :LastContact,
    :LastIndex,
    :Matches,
    :NextToken,
    :RequestTime,
    :Truncations
  ]

  @type t :: %__MODULE__{
          :KnownLeader => boolean() | nil,
          :LastContact => integer() | nil,
          :LastIndex => integer() | nil,
          :Matches => %{optional(String.t()) => [NomadClient.Model.FuzzyMatch.t()]} | nil,
          :NextToken => String.t() | nil,
          :RequestTime => integer() | nil,
          :Truncations => %{optional(String.t()) => boolean()} | nil
        }
end

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