Package com.dropbox.core.v2.team
Class TeamMemberProfile
- java.lang.Object
- 
- com.dropbox.core.v2.team.MemberProfile
- 
- com.dropbox.core.v2.team.TeamMemberProfile
 
 
- 
 public class TeamMemberProfile extends MemberProfile Profile of a user as a member of a team.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTeamMemberProfile.BuilderBuilder forTeamMemberProfile.
 - 
Field SummaryFields Modifier and Type Field Description protected java.util.List<java.lang.String>groupsprotected java.lang.StringmemberFolderId- 
Fields inherited from class com.dropbox.core.v2.team.MemberProfileaccountId, email, emailVerified, externalId, invitedOn, isDirectoryRestricted, joinedOn, membershipType, name, persistentId, profilePhotoUrl, secondaryEmails, status, suspendedOn, teamMemberId
 
- 
 - 
Constructor SummaryConstructors Constructor Description TeamMemberProfile(java.lang.String teamMemberId, java.lang.String email, boolean emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType, java.util.List<java.lang.String> groups, java.lang.String memberFolderId)Profile of a user as a member of a team.TeamMemberProfile(java.lang.String teamMemberId, java.lang.String email, boolean emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType, java.util.List<java.lang.String> groups, java.lang.String memberFolderId, java.lang.String externalId, java.lang.String accountId, java.util.List<SecondaryEmail> secondaryEmails, java.util.Date invitedOn, java.util.Date joinedOn, java.util.Date suspendedOn, java.lang.String persistentId, java.lang.Boolean isDirectoryRestricted, java.lang.String profilePhotoUrl)Profile of a user as a member of a team.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAccountId()A user's account identifier.java.lang.StringgetEmail()Email address of user.booleangetEmailVerified()Is true if the user's email is verified to be owned by the user.java.lang.StringgetExternalId()External ID that a team can attach to the user.java.util.List<java.lang.String>getGroups()List of group IDs of groups that the user belongs to.java.util.DategetInvitedOn()The date and time the user was invited to the team (contains value only when the member's status matchesTeamMemberStatus.INVITED).java.lang.BooleangetIsDirectoryRestricted()Whether the user is a directory restricted user.java.util.DategetJoinedOn()The date and time the user joined as a member of a specific team.java.lang.StringgetMemberFolderId()The namespace id of the user's root folder.TeamMembershipTypegetMembershipType()The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).NamegetName()Representations for a person's name.java.lang.StringgetPersistentId()Persistent ID that a team can attach to the user.java.lang.StringgetProfilePhotoUrl()URL for the photo representing the user, if one is set.java.util.List<SecondaryEmail>getSecondaryEmails()Secondary emails of a user.TeamMemberStatusgetStatus()The user's status as a member of a specific team.java.util.DategetSuspendedOn()The date and time the user was suspended from the team (contains value only when the member's status matchesTeamMemberStatus.SUSPENDED).java.lang.StringgetTeamMemberId()ID of user as a member of a team.inthashCode()static TeamMemberProfile.BuildernewBuilder(java.lang.String teamMemberId, java.lang.String email, boolean emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType, java.util.List<java.lang.String> groups, java.lang.String memberFolderId)Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.- 
Methods inherited from class com.dropbox.core.v2.team.MemberProfilenewBuilder
 
- 
 
- 
- 
- 
Constructor Detail- 
TeamMemberProfilepublic TeamMemberProfile(java.lang.String teamMemberId, java.lang.String email, boolean emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType, java.util.List<java.lang.String> groups, java.lang.String memberFolderId, java.lang.String externalId, java.lang.String accountId, java.util.List<SecondaryEmail> secondaryEmails, java.util.Date invitedOn, java.util.Date joinedOn, java.util.Date suspendedOn, java.lang.String persistentId, java.lang.Boolean isDirectoryRestricted, java.lang.String profilePhotoUrl)Profile of a user as a member of a team.Use newBuilder(java.lang.String,java.lang.String,boolean,com.dropbox.core.v2.team.TeamMemberStatus,com.dropbox.core.v2.users.Name,com.dropbox.core.v2.team.TeamMembershipType,java.util.List<java.lang.String>,java.lang.String)to create instances of this class without specifying values for all optional fields.- Parameters:
- teamMemberId- ID of user as a member of a team. Must not be- null.
- email- Email address of user. Must not be- null.
- emailVerified- Is true if the user's email is verified to be owned by the user.
- status- The user's status as a member of a specific team. Must not be- null.
- name- Representations for a person's name. Must not be- null.
- membershipType- The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota). Must not be- null.
- groups- List of group IDs of groups that the user belongs to. Must not contain a- nullitem and not be- null.
- memberFolderId- The namespace id of the user's root folder. Must match pattern "- [-_0-9a-zA-Z:]+" and not be- null.
- externalId- External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id.
- accountId- A user's account identifier. Must have length of at least 40 and have length of at most 40.
- secondaryEmails- Secondary emails of a user. Must not contain a- nullitem.
- invitedOn- The date and time the user was invited to the team (contains value only when the member's status matches- TeamMemberStatus.INVITED).
- joinedOn- The date and time the user joined as a member of a specific team.
- suspendedOn- The date and time the user was suspended from the team (contains value only when the member's status matches- TeamMemberStatus.SUSPENDED).
- persistentId- Persistent ID that a team can attach to the user. The persistent ID is unique ID to be used for SAML authentication.
- isDirectoryRestricted- Whether the user is a directory restricted user.
- profilePhotoUrl- URL for the photo representing the user, if one is set.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
TeamMemberProfilepublic TeamMemberProfile(java.lang.String teamMemberId, java.lang.String email, boolean emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType, java.util.List<java.lang.String> groups, java.lang.String memberFolderId)Profile of a user as a member of a team.The default values for unset fields will be used. - Parameters:
- teamMemberId- ID of user as a member of a team. Must not be- null.
- email- Email address of user. Must not be- null.
- emailVerified- Is true if the user's email is verified to be owned by the user.
- status- The user's status as a member of a specific team. Must not be- null.
- name- Representations for a person's name. Must not be- null.
- membershipType- The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota). Must not be- null.
- groups- List of group IDs of groups that the user belongs to. Must not contain a- nullitem and not be- null.
- memberFolderId- The namespace id of the user's root folder. Must match pattern "- [-_0-9a-zA-Z:]+" and not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getTeamMemberIdpublic java.lang.String getTeamMemberId() ID of user as a member of a team.- Overrides:
- getTeamMemberIdin class- MemberProfile
- Returns:
- value for this field, never null.
 
 - 
getEmailpublic java.lang.String getEmail() Email address of user.- Overrides:
- getEmailin class- MemberProfile
- Returns:
- value for this field, never null.
 
 - 
getEmailVerifiedpublic boolean getEmailVerified() Is true if the user's email is verified to be owned by the user.- Overrides:
- getEmailVerifiedin class- MemberProfile
- Returns:
- value for this field.
 
 - 
getStatuspublic TeamMemberStatus getStatus() The user's status as a member of a specific team.- Overrides:
- getStatusin class- MemberProfile
- Returns:
- value for this field, never null.
 
 - 
getNamepublic Name getName() Representations for a person's name.- Overrides:
- getNamein class- MemberProfile
- Returns:
- value for this field, never null.
 
 - 
getMembershipTypepublic TeamMembershipType getMembershipType() The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).- Overrides:
- getMembershipTypein class- MemberProfile
- Returns:
- value for this field, never null.
 
 - 
getGroupspublic java.util.List<java.lang.String> getGroups() List of group IDs of groups that the user belongs to.- Returns:
- value for this field, never null.
 
 - 
getMemberFolderIdpublic java.lang.String getMemberFolderId() The namespace id of the user's root folder.- Returns:
- value for this field, never null.
 
 - 
getExternalIdpublic java.lang.String getExternalId() External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id.- Overrides:
- getExternalIdin class- MemberProfile
- Returns:
- value for this field, or nullif not present.
 
 - 
getAccountIdpublic java.lang.String getAccountId() A user's account identifier.- Overrides:
- getAccountIdin class- MemberProfile
- Returns:
- value for this field, or nullif not present.
 
 - 
getSecondaryEmailspublic java.util.List<SecondaryEmail> getSecondaryEmails() Secondary emails of a user.- Overrides:
- getSecondaryEmailsin class- MemberProfile
- Returns:
- value for this field, or nullif not present.
 
 - 
getInvitedOnpublic java.util.Date getInvitedOn() The date and time the user was invited to the team (contains value only when the member's status matchesTeamMemberStatus.INVITED).- Overrides:
- getInvitedOnin class- MemberProfile
- Returns:
- value for this field, or nullif not present.
 
 - 
getJoinedOnpublic java.util.Date getJoinedOn() The date and time the user joined as a member of a specific team.- Overrides:
- getJoinedOnin class- MemberProfile
- Returns:
- value for this field, or nullif not present.
 
 - 
getSuspendedOnpublic java.util.Date getSuspendedOn() The date and time the user was suspended from the team (contains value only when the member's status matchesTeamMemberStatus.SUSPENDED).- Overrides:
- getSuspendedOnin class- MemberProfile
- Returns:
- value for this field, or nullif not present.
 
 - 
getPersistentIdpublic java.lang.String getPersistentId() Persistent ID that a team can attach to the user. The persistent ID is unique ID to be used for SAML authentication.- Overrides:
- getPersistentIdin class- MemberProfile
- Returns:
- value for this field, or nullif not present.
 
 - 
getIsDirectoryRestrictedpublic java.lang.Boolean getIsDirectoryRestricted() Whether the user is a directory restricted user.- Overrides:
- getIsDirectoryRestrictedin class- MemberProfile
- Returns:
- value for this field, or nullif not present.
 
 - 
getProfilePhotoUrlpublic java.lang.String getProfilePhotoUrl() URL for the photo representing the user, if one is set.- Overrides:
- getProfilePhotoUrlin class- MemberProfile
- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic static TeamMemberProfile.Builder newBuilder(java.lang.String teamMemberId, java.lang.String email, boolean emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType, java.util.List<java.lang.String> groups, java.lang.String memberFolderId) Returns a new builder for creating an instance of this class.- Parameters:
- teamMemberId- ID of user as a member of a team. Must not be- null.
- email- Email address of user. Must not be- null.
- emailVerified- Is true if the user's email is verified to be owned by the user.
- status- The user's status as a member of a specific team. Must not be- null.
- name- Representations for a person's name. Must not be- null.
- membershipType- The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota). Must not be- null.
- groups- List of group IDs of groups that the user belongs to. Must not contain a- nullitem and not be- null.
- memberFolderId- The namespace id of the user's root folder. Must match pattern "- [-_0-9a-zA-Z:]+" and not be- null.
- Returns:
- builder for this class.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- MemberProfile
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- MemberProfile
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- MemberProfile
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Overrides:
- toStringMultilinein class- MemberProfile
- Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-