Class MemberImpl
java.lang.Object
pw.chew.clickup4j.internal.entities.MemberImpl
- All Implemented Interfaces:
Member
-
Nested Class Summary
Nested classes/interfaces inherited from interface pw.chew.clickup4j.api.entities.Member
Member.Role -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull ClickUp4jReturns thisClickUp4jinstance.@Nullable StringReturns the custom role of this user, if any.@NotNull OffsetDateTimeReturns when this user was invited.Returns 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.Returns when this user was last active.@NotNull Member.RolegetRole()The role for this user.@NotNull UsergetUser()Returns theUsersub-interface of this member.
-
Constructor Details
-
MemberImpl
-
-
Method Details
-
getUser
Description copied from interface:MemberReturns theUsersub-interface of this member. -
getEmail
Description copied from interface:MemberThe email of the user. -
getInitials
Description copied from interface:MemberThe "initials" for this user.
This seems to be used internally in the API for users without a profile picture.- Specified by:
getInitialsin interfaceMember- Returns:
- never-null initials
-
getRole
Description copied from interface:MemberThe role for this user. This is an enum constantMember.Roleto store the possible values.- Specified by:
getRolein interfaceMember- Returns:
- never-null
Member.Role
-
getCustomRole
Description copied from interface:MemberReturns the custom role of this user, if any.
Custom Roles require Business Plus Plan or above.- Specified by:
getCustomRolein interfaceMember- Returns:
- nullable custom role
-
getLastActive
Description copied from interface:MemberReturns when this user was last active.
If the user has been invited, but has not accepted yet, this will benull.- Specified by:
getLastActivein interfaceMember- Returns:
- nullable last active date
-
getDateJoined
Description copied from interface:MemberReturns when this user joined the workspace.
If the user has been invited, but has not accepted yet, this will benull.- Specified by:
getDateJoinedin interfaceMember- Returns:
- nullable join date
-
getDateInvited
Description copied from interface:MemberReturns when this user was invited.
All members have an invitation date, even if they have not accepted yet, and even if they're owner.- Specified by:
getDateInvitedin interfaceMember- Returns:
- never-null invitation date
-
getInvitedBy
Description copied from interface:MemberReturns the inviting user for this member.
Owners were never invited, so this may benull.- Specified by:
getInvitedByin interfaceMember- Returns:
- nullable inviting user
-
getClickUp4j
Description copied from interface:MemberReturns thisClickUp4jinstance.- Specified by:
getClickUp4jin interfaceMember- Returns:
- never-null
ClickUp4jinstance
-