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

  """

  @derive [Poison.Encoder]
  defstruct [
    :Attributes,
    :Detected,
    :Healthy,
    :HealthDescription,
    :UpdateTime
  ]

  @type t :: %__MODULE__{
          :Attributes => %{optional(String.t()) => String.t()} | nil,
          :Detected => boolean() | nil,
          :Healthy => boolean() | nil,
          :HealthDescription => String.t() | nil,
          :UpdateTime => DateTime.t() | nil
        }
end

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