Package com.dropbox.core.v2.teamlog
Class TeamMemberLogInfo
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.UserLogInfo
-
- com.dropbox.core.v2.teamlog.TeamMemberLogInfo
-
public class TeamMemberLogInfo extends UserLogInfo
Team member's logged information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TeamMemberLogInfo.Builder
Builder forTeamMemberLogInfo
.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
memberExternalId
protected TeamLogInfo
team
protected java.lang.String
teamMemberId
-
Fields inherited from class com.dropbox.core.v2.teamlog.UserLogInfo
accountId, displayName, email
-
-
Constructor Summary
Constructors Constructor Description TeamMemberLogInfo()
Team member's logged information.TeamMemberLogInfo(java.lang.String accountId, java.lang.String displayName, java.lang.String email, java.lang.String teamMemberId, java.lang.String memberExternalId, TeamLogInfo team)
Team member's logged information.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getAccountId()
User unique ID.java.lang.String
getDisplayName()
User display name.java.lang.String
getEmail()
User email address.java.lang.String
getMemberExternalId()
Team member external ID.TeamLogInfo
getTeam()
Details about this user’s team for enterprise event.java.lang.String
getTeamMemberId()
Team member ID.int
hashCode()
static TeamMemberLogInfo.Builder
newBuilder()
Returns a new builder for creating an instance of this class.java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
teamMemberId
protected final java.lang.String teamMemberId
-
memberExternalId
protected final java.lang.String memberExternalId
-
team
protected final TeamLogInfo team
-
-
Constructor Detail
-
TeamMemberLogInfo
public TeamMemberLogInfo(java.lang.String accountId, java.lang.String displayName, java.lang.String email, java.lang.String teamMemberId, java.lang.String memberExternalId, TeamLogInfo team)
Team member's logged information.Use
newBuilder()
to create instances of this class without specifying values for all optional fields.- Parameters:
accountId
- User unique ID. Must have length of at least 40 and have length of at most 40.displayName
- User display name.email
- User email address. Must have length of at most 255.teamMemberId
- Team member ID.memberExternalId
- Team member external ID. Must have length of at most 64.team
- Details about this user’s team for enterprise event.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
TeamMemberLogInfo
public TeamMemberLogInfo()
Team member's logged information.The default values for unset fields will be used.
-
-
Method Detail
-
getAccountId
public java.lang.String getAccountId()
User unique ID.- Overrides:
getAccountId
in classUserLogInfo
- Returns:
- value for this field, or
null
if not present.
-
getDisplayName
public java.lang.String getDisplayName()
User display name.- Overrides:
getDisplayName
in classUserLogInfo
- Returns:
- value for this field, or
null
if not present.
-
getEmail
public java.lang.String getEmail()
User email address.- Overrides:
getEmail
in classUserLogInfo
- Returns:
- value for this field, or
null
if not present.
-
getTeamMemberId
public java.lang.String getTeamMemberId()
Team member ID.- Returns:
- value for this field, or
null
if not present.
-
getMemberExternalId
public java.lang.String getMemberExternalId()
Team member external ID.- Returns:
- value for this field, or
null
if not present.
-
getTeam
public TeamLogInfo getTeam()
Details about this user’s team for enterprise event.- Returns:
- value for this field, or
null
if not present.
-
newBuilder
public static TeamMemberLogInfo.Builder newBuilder()
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUserLogInfo
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classUserLogInfo
-
toString
public java.lang.String toString()
- Overrides:
toString
in classUserLogInfo
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultiline
in classUserLogInfo
- Returns:
- Formatted, multiline String representation of this object
-
-