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