Current section

Files

Jump to
nomad_client lib nomad model acl_policy_list_stub.ex
Raw

lib/nomad/model/acl_policy_list_stub.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 Nomad.Model.AclPolicyListStub do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:Name,
:Description,
:CreateIndex,
:ModifyIndex
]
@type t :: %__MODULE__{
:Name => String.t() | nil,
:Description => String.t() | nil,
:CreateIndex => integer() | nil,
:ModifyIndex => integer() | nil
}
end
defimpl Poison.Decoder, for: Nomad.Model.AclPolicyListStub do
def decode(value, _options) do
value
end
end