Package com.dropbox.core.v2.teamlog
Class UserLogInfo
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.UserLogInfo
 
- 
- Direct Known Subclasses:
- NonTeamMemberLogInfo,- TeamMemberLogInfo,- TrustedNonTeamMemberLogInfo
 
 public class UserLogInfo extends java.lang.ObjectUser's logged information.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUserLogInfo.BuilderBuilder forUserLogInfo.
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringaccountIdprotected java.lang.StringdisplayNameprotected java.lang.Stringemail
 - 
Constructor SummaryConstructors Constructor Description UserLogInfo()User's logged information.UserLogInfo(java.lang.String accountId, java.lang.String displayName, java.lang.String email)User's logged information.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAccountId()User unique ID.java.lang.StringgetDisplayName()User display name.java.lang.StringgetEmail()User email address.inthashCode()static UserLogInfo.BuildernewBuilder()Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Constructor Detail- 
UserLogInfopublic UserLogInfo(java.lang.String accountId, java.lang.String displayName, java.lang.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:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
UserLogInfopublic UserLogInfo() User's logged information.The default values for unset fields will be used. 
 
- 
 - 
Method Detail- 
getAccountIdpublic java.lang.String getAccountId() User unique ID.- Returns:
- value for this field, or nullif not present.
 
 - 
getDisplayNamepublic java.lang.String getDisplayName() User display name.- Returns:
- value for this field, or nullif not present.
 
 - 
getEmailpublic java.lang.String getEmail() User email address.- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic static UserLogInfo.Builder newBuilder() Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String 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
 
 
- 
 
-