geo-therminator/lib/geo_therminator/pump_api/auth/user.ex
2021-11-07 11:01:39 +02:00

15 lines
381 B
Elixir

defmodule GeoTherminator.PumpAPI.Auth.User do
import GeoTherminator.TypedStruct
deftypedstruct(%{
user_name: String.t(),
email: String.t(),
first_name: String.t(),
last_name: String.t(),
culture: String.t(),
eula_accepted: boolean(),
is_authenticated: boolean(),
time_zone: String.t(),
token: GeoTherminator.PumpAPI.Auth.Token.t()
})
end