Package com.dropbox.core.v2.teamlog
Class TrustedNonTeamMemberLogInfo
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.UserLogInfo
- 
- com.dropbox.core.v2.teamlog.TrustedNonTeamMemberLogInfo
 
 
- 
 public class TrustedNonTeamMemberLogInfo extends UserLogInfo User that is not a member of the team but considered trusted.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTrustedNonTeamMemberLogInfo.BuilderBuilder forTrustedNonTeamMemberLogInfo.
 - 
Field SummaryFields Modifier and Type Field Description protected TeamLogInfoteamprotected TrustedNonTeamMemberTypetrustedNonTeamMemberType- 
Fields inherited from class com.dropbox.core.v2.teamlog.UserLogInfoaccountId, displayName, email
 
- 
 - 
Constructor SummaryConstructors Constructor Description TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType)User that is not a member of the team but considered trusted.TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType, java.lang.String accountId, java.lang.String displayName, java.lang.String email, TeamLogInfo team)User that is not a member of the team but considered trusted.
 - 
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.TeamLogInfogetTeam()Details about this user's trusted team.TrustedNonTeamMemberTypegetTrustedNonTeamMemberType()Indicates the type of the member of a trusted team.inthashCode()static TrustedNonTeamMemberLogInfo.BuildernewBuilder(TrustedNonTeamMemberType trustedNonTeamMemberType)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.- 
Methods inherited from class com.dropbox.core.v2.teamlog.UserLogInfonewBuilder
 
- 
 
- 
- 
- 
Field Detail- 
trustedNonTeamMemberTypeprotected final TrustedNonTeamMemberType trustedNonTeamMemberType 
 - 
teamprotected final TeamLogInfo team 
 
- 
 - 
Constructor Detail- 
TrustedNonTeamMemberLogInfopublic TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType, java.lang.String accountId, java.lang.String displayName, java.lang.String email, 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.
 
 - 
TrustedNonTeamMemberLogInfopublic TrustedNonTeamMemberLogInfo(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- 
getTrustedNonTeamMemberTypepublic TrustedNonTeamMemberType getTrustedNonTeamMemberType() Indicates the type of the member of a trusted team.- Returns:
- value for this field, never null.
 
 - 
getAccountIdpublic java.lang.String getAccountId() User unique ID.- Overrides:
- getAccountIdin class- UserLogInfo
- Returns:
- value for this field, or nullif not present.
 
 - 
getDisplayNamepublic java.lang.String getDisplayName() User display name.- Overrides:
- getDisplayNamein class- UserLogInfo
- Returns:
- value for this field, or nullif not present.
 
 - 
getEmailpublic java.lang.String getEmail() User email address.- Overrides:
- getEmailin class- UserLogInfo
- Returns:
- value for this field, or nullif not present.
 
 - 
getTeampublic TeamLogInfo getTeam() Details about this user's trusted team.- Returns:
- value for this field, or nullif not present.
 
 - 
newBuilderpublic 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.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- UserLogInfo
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- UserLogInfo
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- UserLogInfo
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Overrides:
- toStringMultilinein class- UserLogInfo
- Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-