Current section
Files
Jump to
Current section
Files
lib/foyer_api/model/attribute.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 FoyerAPI.Model.Attribute do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:name,
:confidence,
:value
]
@type t :: %__MODULE__{
:name => String.t | nil,
:confidence => float() | nil,
:value => [float()] | nil
}
end
defimpl Poison.Decoder, for: FoyerAPI.Model.Attribute do
def decode(value, _options) do
value
end
end