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.
  • Field Details

    • teamMemberId

      @Nullable protected final String teamMemberId
    • memberExternalId

      @Nullable protected final String memberExternalId
    • team

      @Nullable protected final TeamLogInfo team
  • Constructor Details

    • TeamMemberLogInfo

      public TeamMemberLogInfo(@Nullable String accountId, @Nullable String displayName, @Nullable String email, @Nullable String teamMemberId, @Nullable String memberExternalId, @Nullable 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&#x2019s team for enterprise event.
      Throws:
      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 Details

    • getAccountId

      @Nullable public String getAccountId()
      User unique ID.
      Overrides:
      getAccountId in class UserLogInfo
      Returns:
      value for this field, or null if not present.
    • getDisplayName

      @Nullable public String getDisplayName()
      User display name.
      Overrides:
      getDisplayName in class UserLogInfo
      Returns:
      value for this field, or null if not present.
    • getEmail

      @Nullable public String getEmail()
      User email address.
      Overrides:
      getEmail in class UserLogInfo
      Returns:
      value for this field, or null if not present.
    • getTeamMemberId

      @Nullable public String getTeamMemberId()
      Team member ID.
      Returns:
      value for this field, or null if not present.
    • getMemberExternalId

      @Nullable public String getMemberExternalId()
      Team member external ID.
      Returns:
      value for this field, or null if not present.
    • getTeam

      @Nullable public TeamLogInfo getTeam()
      Details about this user&#x2019s 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 class UserLogInfo
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class UserLogInfo
    • toString

      public String toString()
      Overrides:
      toString in class UserLogInfo
    • toStringMultiline

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Overrides:
      toStringMultiline in class UserLogInfo
      Returns:
      Formatted, multiline String representation of this object