lib/nomad_client/model/allocated_memory_resources.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.AllocatedMemoryResources do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:MemoryMB,
:MemoryMaxMB
]
@type t :: %__MODULE__{
:MemoryMB => integer() | nil,
:MemoryMaxMB => integer() | nil
}
end
defimpl Poison.Decoder, for: NomadClient.Model.AllocatedMemoryResources do
def decode(value, _options) do
value
end
end