Ametista
User
The AmetistaUser
class is useful to
represent a base Ametista's system user
Author
N7ghtm4r3 - Tecknobit
See also
EquinoxItem
DTOConvertible
Constructors
Link copied to clipboard
constructor()
Constructor to init the AmetistaUser class
constructor(id: String, token: String, name: String, surname: String, email: String, password: String, language: String, role: AmetistaUser.Role)
Constructor to init the EquinoxUser
class
constructor(id: String, token: String, name: String, surname: String, email: String, password: String, profilePic: String, language: String, role: AmetistaUser.Role)
Constructor to init the EquinoxUser
class
constructor(jUser: JSONObject)
Constructor to init the AmetistaUser class
Properties
Link copied to clipboard
ADMIN_CODE_KEY
the key for
the "admin_code" field
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
IS_ADMIN_KEY
the key for the
"is_admin" field
Link copied to clipboard
MEMBERS_KEY
the key for the "members" field
Link copied to clipboard
Link copied to clipboard
role
the
role of the user
Link copied to clipboard
SESSION_KEY
the key for the "session" field
Link copied to clipboard