Package pw.chew.clickup4j.api.entities
Interface Member
- All Known Implementing Classes:
- MemberImpl
public interface Member
A member is a simple wrapper for a User. It may contain additional information.
 Most of the time, you might just want 
getUser().- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescription@NotNull ClickUp4jReturns thisClickUp4jinstance.@Nullable StringReturns the custom role of this user, if any.@NotNull OffsetDateTimeReturns when this user was invited.@Nullable OffsetDateTimeReturns when this user joined the workspace.@NotNull StringgetEmail()The email of the user.@NotNull StringThe "initials" for this user.@Nullable UserReturns the inviting user for this member.@Nullable OffsetDateTimeReturns when this user was last active.@NotNull Member.RolegetRole()The role for this user.@NotNull UsergetUser()Returns theUsersub-interface of this member.
- 
Method Details- 
getUserReturns theUsersub-interface of this member.- Returns:
- never-null Usersub-interface
 
- 
getEmailThe email of the user.- Returns:
- never-null email
 
- 
getInitialsThe "initials" for this user.
 This seems to be used internally in the API for users without a profile picture.- Returns:
- never-null initials
 
- 
getRoleThe role for this user. This is an enum constantMember.Roleto store the possible values.- Returns:
- never-null Member.Role
 
- 
getCustomRoleReturns the custom role of this user, if any.
 Custom Roles require Business Plus Plan or above.- Returns:
- nullable custom role
 
- 
getLastActiveReturns when this user was last active.
 If the user has been invited, but has not accepted yet, this will benull.- Returns:
- nullable last active date
 
- 
getDateJoinedReturns when this user joined the workspace.
 If the user has been invited, but has not accepted yet, this will benull.- Returns:
- nullable join date
 
- 
getDateInvitedReturns when this user was invited.
 All members have an invitation date, even if they have not accepted yet, and even if they're owner.- Returns:
- never-null invitation date
 
- 
getInvitedByReturns the inviting user for this member.
 Owners were never invited, so this may benull.- Returns:
- nullable inviting user
 
- 
getClickUp4jReturns thisClickUp4jinstance.- Returns:
- never-null ClickUp4jinstance
 
 
-