lib/nomad_client/model/search_response.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 NomadClient.Model.SearchResponse do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:Matches,
:Truncations
]
@type t :: %__MODULE__{
:Matches => %{optional(String.t()) => [String.t()]} | nil,
:Truncations => %{optional(String.t()) => boolean()} | nil
}
end
defimpl Poison.Decoder, for: NomadClient.Model.SearchResponse do
def decode(value, _options) do
value
end
end