Current section
Files
Jump to
Current section
Files
lib/byauth/client/model/user.ex
# (C) 2018 Bycrates AS
# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule Byauth.Client.Model.User do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:"id",
:"name",
:"first_name",
:"last_name",
:"email"
]
@type t :: %__MODULE__{
:"id" => integer(),
:"name" => String.t,
:"first_name" => String.t,
:"last_name" => String.t,
:"email" => String.t
}
end
defimpl Poison.Decoder, for: Byauth.Client.Model.User do
def decode(value, _options) do
value
end
end