Ametista Member

open class AmetistaMember : EquinoxItem

The AmetistaUser class is useful to represent a base Ametista's system user

Author

N7ghtm4r3 - Tecknobit

See also

EquinoxItem

Constructors

Link copied to clipboard
constructor(id: String, profilePic: String, name: String, surname: String, email: String, role: AmetistaUser.Role)
Constructor to init the AmetistaMember class
constructor(jMember: JSONObject)
Constructor to init the AmetistaMember class

Properties

Link copied to clipboard
Link copied to clipboard
email the email of the user
Link copied to clipboard
protected val hItem: JsonHelper
Link copied to clipboard
protected val id: String
Link copied to clipboard
Link copied to clipboard
val MEMBER_IDENTIFIER_KEY: String = "member_id"
MEMBER_IDENTIFIER_KEY the key for the "member_id" field
Link copied to clipboard
val name: String
name the name of the user
Link copied to clipboard
profilePic the profile picture of the user
Link copied to clipboard
role the role of the user
Link copied to clipboard
surname the surname of the user
Link copied to clipboard
protected val timeFormatter: TimeFormatter

Functions

Link copied to clipboard
open fun getCompleteName(): String
Method to get the complete name of the user No-any params required
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun toString(): String