RefyUser

constructor()

Constructor to init the RefyUser class No-any params required


constructor(id: String, token: String, name: String, surname: String, email: String, password: String, language: String, tagName: String, links: List<RefyLink>, teams: List<Team>, collections: List<LinksCollection>, customLinks: List<CustomRefyLink>)

Constructor to init the RefyUser class

Parameters

id

: 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

tagName

: the name of the user

links

: the links of the user

teams

: the teams where the user is a member

customLinks

: the custom links of the user


constructor(id: String, name: String, surname: String, email: String, profilePic: String, tagName: String)

Constructor to init the RefyUser class

Parameters

id

: identifier of the user

name

: the name of the user

surname

: the surname of the user

email

: the email of the user

tagName

: the name of the user


constructor(id: String, token: String, name: String, surname: String, email: String, password: String, profilePic: String, language: String, theme: EquinoxUser.ApplicationTheme, tagName: String, links: List<RefyLink>, teams: List<Team>, collections: List<LinksCollection>, customLinks: List<CustomRefyLink>)

Constructor to init the RefyUser class

Parameters

id

: 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

theme

: the theme of the user

tagName

: the name of the user

links

: the links of the user

teams

: the teams where the user is a member

customLinks

: the custom links of the user


constructor(jRefyUser: JSONObject)

Constructor to init the RefyUser class

Parameters

jRefyUser

: user details formatted as JSON