Package com.dropbox.core.v2.sharing
Class TeamMemberInfo
java.lang.Object
com.dropbox.core.v2.sharing.TeamMemberInfo
Information about a team member.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTeamMemberInfo(Team teamInfo, String displayName) Information about a team member.TeamMemberInfo(Team teamInfo, String displayName, String memberId) Information about a team member. -
Method Summary
-
Field Details
-
teamInfo
-
displayName
-
memberId
-
-
Constructor Details
-
TeamMemberInfo
public TeamMemberInfo(@Nonnull Team teamInfo, @Nonnull String displayName, @Nullable String memberId) Information about a team member.- Parameters:
teamInfo- Information about the member's team. Must not benull.displayName- The display name of the user. Must not benull.memberId- ID of user as a member of a team. This field will only be present if the member is in the same team as current user.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
TeamMemberInfo
Information about a team member.The default values for unset fields will be used.
- Parameters:
teamInfo- Information about the member's team. Must not benull.displayName- The display name of the user. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getTeamInfo
Information about the member's team.- Returns:
- value for this field, never
null.
-
getDisplayName
The display name of the user.- Returns:
- value for this field, never
null.
-
getMemberId
ID of user as a member of a team. This field will only be present if the member is in the same team as current user.- Returns:
- value for this field, or
nullif not present.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-