Equinox
User
The EquinoxUser
class is useful to
represent a base Equinox's system user
Author
N7ghtm4r3 - Tecknobit
Since
1.0.1
See also
Constructors
Link copied to clipboard
constructor()
Constructor to init the EquinoxUser class No-any params
required
constructor(id: String, token: String, name: String, surname: String, email: String, password: String, language: String)
Constructor to init the EquinoxUser class
constructor(id: String, token: String, name: String, surname: String, email: String, password: String, profilePic: String, language: String, theme: EquinoxUser.ApplicationTheme)
Constructor to init the EquinoxUser class
constructor(jUser: JSONObject)
Constructor to init the EquinoxUser class
Types
Link copied to clipboard
enum ApplicationTheme
ApplicationTheme
list of the
available theming for the client applications
Properties
Link copied to clipboard
DEFAULT_PROFILE_PIC
the default profile pic path when the user has not set own
image
Link copied to clipboard
DISCRIMINATOR_VALUE_KEY
the key for the "dtype" field
Link copied to clipboard
IDENTIFIER_KEY
the key for
the "id" field
Link copied to clipboard
LANGUAGE_KEY
the key for the
"language" field
Link copied to clipboard
PASSWORD_KEY
the key for the
"password" field
Link copied to clipboard
PROFILE_PIC_KEY
the key for
the "profile_pic" field
Link copied to clipboard
profilePic
the profile pic of the user
Link copied to clipboard
SURNAME_KEY
the key for the "surname" field
Link copied to clipboard
theme
the
theme of the user
Link copied to clipboard
timeFormatter
the formatter
used to format the timestamp values
Functions
Link copied to clipboard
Method to get the complete name of the user
No-any params required
Link copied to clipboard
Method to assemble and return a EquinoxUser instance
Link copied to clipboard
Method to get language
instance No-any params required
Link copied to clipboard
Method to get password
instance No-any params required
Link copied to clipboard
Method to get profilePic
instance No-any params required
Link copied to clipboard
Method to get surname instance No-any params
required
Link copied to clipboard
Method to get name
instance No-any params required