RefyTeamMember

@Entity
open class RefyTeamMember

The RefyTeamMember class is useful to represent a member of a team

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor()
Constructor to init the RefyTeamMember class No-any params required
constructor(owner: RefyUser, role: Team.RefyTeamMember.TeamRole, sourceTeam: Team)
Constructor to init the RefyTeamMember class
constructor(jRefyTeamMember: JSONObject)
Constructor to init the RefyTeamMember class
constructor(member: List<String>)
Constructor to init the RefyTeamMember class

Types

Link copied to clipboard
TeamRole list of available team roles

Properties

Link copied to clipboard
protected val hItem: JsonHelper
hItem helper to work with JSON values
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
private val owner: RefyUser
owner the RefyUser who the member is linked
Link copied to clipboard
role the role of the member
Link copied to clipboard
protected val sourceTeam: Team
sourceTeam the team of the member
Link copied to clipboard
val TEAM_ROLE_KEY: String = "team_role"
TEAM_ROLE_KEY the key for the "team_role" field

Functions

Link copied to clipboard
Method to get the complete name of the member No-any params required
Link copied to clipboard
open fun getEmail(): String
Method to get the email of the member No-any params required
Link copied to clipboard
open fun getId(): String
Method to get the identifier of the member No-any params required
Link copied to clipboard
open fun getName(): String
Method to get the name of the member No-any params required
Link copied to clipboard
open fun getProfilePic(): String
Method to get the profile pic of the member No-any params required
Link copied to clipboard
open fun getSurname(): String
Method to get the surname of the member No-any params required
Link copied to clipboard
open fun getTagName(): String
Method to get the tag name of the member No-any params required
Link copied to clipboard
open fun returnMembers(jMembers: JSONArray): ArrayList<Team.RefyTeamMember>
Method to assemble and return an ArrayList of members