Class TrustedNonTeamMemberLogInfo


  • public class TrustedNonTeamMemberLogInfo
    extends UserLogInfo
    User that is not a member of the team but considered trusted.
    • Constructor Detail

      • TrustedNonTeamMemberLogInfo

        public TrustedNonTeamMemberLogInfo​(@Nonnull
                                           TrustedNonTeamMemberType trustedNonTeamMemberType,
                                           @Nullable
                                           java.lang.String accountId,
                                           @Nullable
                                           java.lang.String displayName,
                                           @Nullable
                                           java.lang.String email,
                                           @Nullable
                                           TeamLogInfo team)
        User that is not a member of the team but considered trusted.

        Use newBuilder(com.dropbox.core.v2.teamlog.TrustedNonTeamMemberType) to create instances of this class without specifying values for all optional fields.

        Parameters:
        trustedNonTeamMemberType - Indicates the type of the member of a trusted team. Must not be null.
        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.
        team - Details about this user's trusted team.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • TrustedNonTeamMemberLogInfo

        public TrustedNonTeamMemberLogInfo​(@Nonnull
                                           TrustedNonTeamMemberType trustedNonTeamMemberType)
        User that is not a member of the team but considered trusted.

        The default values for unset fields will be used.

        Parameters:
        trustedNonTeamMemberType - Indicates the type of the member of a trusted team. Must not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getTrustedNonTeamMemberType

        @Nonnull
        public TrustedNonTeamMemberType getTrustedNonTeamMemberType()
        Indicates the type of the member of a trusted team.
        Returns:
        value for this field, never null.
      • getAccountId

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

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

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

        @Nullable
        public TeamLogInfo getTeam()
        Details about this user's trusted team.
        Returns:
        value for this field, or null if not present.
      • newBuilder

        public static TrustedNonTeamMemberLogInfo.Builder newBuilder​(TrustedNonTeamMemberType trustedNonTeamMemberType)
        Returns a new builder for creating an instance of this class.
        Parameters:
        trustedNonTeamMemberType - Indicates the type of the member of a trusted team. Must not be null.
        Returns:
        builder for this class.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class UserLogInfo
      • 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 class UserLogInfo
        Returns:
        Formatted, multiline String representation of this object