public class MemberProfile extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | MemberProfile.BuilderBuilder for  MemberProfile. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected String | accountId | 
| protected String | email | 
| protected boolean | emailVerified | 
| protected String | externalId | 
| protected TeamMembershipType | membershipType | 
| protected Name | name | 
| protected TeamMemberStatus | status | 
| protected String | teamMemberId | 
| Constructor and Description | 
|---|
| MemberProfile(String teamMemberId,
             String email,
             boolean emailVerified,
             TeamMemberStatus status,
             Name name,
             TeamMembershipType membershipType)Basic member profile. | 
| MemberProfile(String teamMemberId,
             String email,
             boolean emailVerified,
             TeamMemberStatus status,
             Name name,
             TeamMembershipType membershipType,
             String externalId,
             String accountId)Basic member profile. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| String | getAccountId()A user's account identifier. | 
| String | getEmail()Email address of user. | 
| boolean | getEmailVerified()Is true if the user's email is verified to be owned by the user. | 
| String | getExternalId()External ID that a team can attach to the user. | 
| 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). | 
| Name | getName()Representations for a person's name. | 
| TeamMemberStatus | getStatus()The user's status as a member of a specific team. | 
| String | getTeamMemberId()ID of user as a member of a team. | 
| int | hashCode() | 
| static MemberProfile.Builder | newBuilder(String teamMemberId,
          String email,
          boolean emailVerified,
          TeamMemberStatus status,
          Name name,
          TeamMembershipType membershipType)Returns a new builder for creating an instance of this class. | 
| String | toString() | 
| String | toStringMultiline()Returns a String representation of this object formatted for easier
 readability. | 
protected final String teamMemberId
protected final String externalId
protected final String accountId
protected final String email
protected final boolean emailVerified
protected final TeamMemberStatus status
protected final Name name
protected final TeamMembershipType membershipType
public MemberProfile(String teamMemberId, String email, boolean emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType, String externalId, String accountId)
 Use newBuilder to create instances of this class without
 specifying values for all optional fields. 
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.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.IllegalArgumentException - If any argument does not meet its
     preconditions.public MemberProfile(String teamMemberId, String email, boolean emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType)
The default values for unset fields will be used.
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.IllegalArgumentException - If any argument does not meet its
     preconditions.public String getTeamMemberId()
null.public String getEmail()
null.public boolean getEmailVerified()
public TeamMemberStatus getStatus()
null.public Name getName()
null.public TeamMembershipType getMembershipType()
null.public String getExternalId()
null if not present.public String getAccountId()
null if not present.public static MemberProfile.Builder newBuilder(String teamMemberId, String email, boolean emailVerified, TeamMemberStatus status, Name name, TeamMembershipType membershipType)
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.IllegalArgumentException - If any argument does not meet its
     preconditions.public String toStringMultiline()
The returned String may contain newlines.