Package com.dropbox.core.v2.teamlog
Class UserLogInfo
java.lang.Object
com.dropbox.core.v2.teamlog.UserLogInfo
- Direct Known Subclasses:
NonTeamMemberLogInfo,TeamMemberLogInfo,TrustedNonTeamMemberLogInfo
User's logged information.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUser's logged information.UserLogInfo(String accountId, String displayName, String email) User's logged information. -
Method Summary
Modifier and TypeMethodDescriptionbooleanUser unique ID.User display name.getEmail()User email address.inthashCode()static UserLogInfo.BuilderReturns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
accountId
-
displayName
-
email
-
-
Constructor Details
-
UserLogInfo
public UserLogInfo(@Nullable String accountId, @Nullable String displayName, @Nullable String email) User'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.
-
UserLogInfo
public UserLogInfo()User's logged information.The default values for unset fields will be used.
-
-
Method Details
-
getAccountId
User unique ID.- Returns:
- value for this field, or
nullif not present.
-
getDisplayName
User display name.- Returns:
- value for this field, or
nullif not present.
-
getEmail
User email address.- 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() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-