# 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.AclToken do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:AccessorID,
:SecretID,
:Name,
:Type,
:Policies,
:Global,
:CreateTime,
:CreateIndex,
:ModifyIndex
]
@type t :: %__MODULE__{
:AccessorID => String.t() | nil,
:SecretID => String.t() | nil,
:Name => String.t() | nil,
:Type => String.t() | nil,
:Policies => [String.t()] | nil,
:Global => boolean() | nil,
:CreateTime => DateTime.t() | nil,
:CreateIndex => integer() | nil,
:ModifyIndex => integer() | nil
}
end
defimpl Poison.Decoder, for: NomadClient.Model.AclToken do
def decode(value, _options) do
value
end
end