16 lines
381 B
Elixir
16 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
|