Package com.dropbox.core.v2.teamlog
Class NonTeamMemberLogInfo
java.lang.Object
com.dropbox.core.v2.teamlog.UserLogInfo
com.dropbox.core.v2.teamlog.NonTeamMemberLogInfo
Non team member's logged information.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.dropbox.core.v2.teamlog.UserLogInfo
accountId, displayName, email -
Constructor Summary
ConstructorsConstructorDescriptionNon team member's logged information.NonTeamMemberLogInfo(String accountId, String displayName, String email) Non team member's logged information. -
Method Summary
Modifier and TypeMethodDescriptionbooleanUser unique ID.User display name.getEmail()User email address.inthashCode()static NonTeamMemberLogInfo.BuilderReturns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Constructor Details
-
NonTeamMemberLogInfo
public NonTeamMemberLogInfo(@Nullable String accountId, @Nullable String displayName, @Nullable String email) Non 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.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
NonTeamMemberLogInfo
public NonTeamMemberLogInfo()Non team member's logged information.The default values for unset fields will be used.
-
-
Method Details
-
getAccountId
User unique ID.- Overrides:
getAccountIdin classUserLogInfo- Returns:
- value for this field, or
nullif not present.
-
getDisplayName
User display name.- Overrides:
getDisplayNamein classUserLogInfo- Returns:
- value for this field, or
nullif not present.
-
getEmail
User email address.- Overrides:
getEmailin classUserLogInfo- Returns:
- value for this field, or
nullif not present.
-
newBuilder
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode()- Overrides:
hashCodein classUserLogInfo
-
equals
- Overrides:
equalsin classUserLogInfo
-
toString
- Overrides:
toStringin classUserLogInfo
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultilinein classUserLogInfo- Returns:
- Formatted, multiline String representation of this object
-