Ametista
User
constructor()
Constructor to init the AmetistaUser class
constructor(id: String, token: String, name: String, surname: String, email: String, password: String, language: String, role: Role)
Constructor to init the EquinoxUser class
Parameters
id
The identifier of the user
token
The token which the user is allowed to operate on server
name
The name of the user
surname
The surname of the user
email
The email of the user
password
The password of the user
language
The language of the user
role
The role of the user
constructor(id: String, token: String, name: String, surname: String, email: String, password: String, profilePic: String, language: String, role: Role)
Constructor to init the EquinoxUser class
Parameters
id
The identifier of the user
token
The token which the user is allowed to operate on server
name
The name of the user
surname
The surname of the user
email
The email of the user
password
The password of the user
profilePic
The profile picture of the user
language
The language of the user
role
The role of the user