EquinoxUser

@Entity
open class EquinoxUser : EquinoxItem

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
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)
Constructor to init the EquinoxUser class
constructor(jUser: JSONObject)
Constructor to init the EquinoxUser class

Properties

Link copied to clipboard
DISCRIMINATOR_VALUE_KEY the key for the "dtype" field
Link copied to clipboard
protected val email: String
email the email of the user
Link copied to clipboard
protected val hItem: JsonHelper
hItem helper to work with JSON values
Link copied to clipboard
protected val id: String
id identifier of the item
Link copied to clipboard
protected val language: String
language the language of the user
Link copied to clipboard
protected val name: String
name the name of the user
Link copied to clipboard
protected val password: String
password the password of the user
Link copied to clipboard
protected val profilePic: String
profilePic the profile pic of the user
Link copied to clipboard
protected val surname: String
surname the surname of the user
Link copied to clipboard
protected val timeFormatter: TimeFormatter
timeFormatter the formatter used to format the timestamp values
Link copied to clipboard
protected val token: String
token the token which the user is allowed to operate on server

Functions

Link copied to clipboard
Method used to get the complete name of the user
Link copied to clipboard
open fun getEmail(): String
Method used to get email instance
Link copied to clipboard
open fun getId(): String
Method used to get id instance
Link copied to clipboard
open fun getInstance(jUser: JSONObject): EquinoxUser
Method used to assemble and return a EquinoxUser instance
Link copied to clipboard
open fun getLanguage(): String
Method used to get language instance
Link copied to clipboard
open fun getName(): String
Method used to get name instance
Link copied to clipboard
open fun getPassword(): String
Method used to get password instance
Link copied to clipboard
open fun getProfilePic(): String
Method used to get profilePic instance
Link copied to clipboard
open fun getSurname(): String
Method used to get surname instance
Link copied to clipboard
open fun getToken(): String
Method used to get token instance
Link copied to clipboard
open fun toString(): String