Package com.dropbox.core.v2.teamlog
Class TrustedNonTeamMemberLogInfo
java.lang.Object
com.dropbox.core.v2.teamlog.UserLogInfo
com.dropbox.core.v2.teamlog.TrustedNonTeamMemberLogInfo
User that is not a member of the team but considered trusted.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final TeamLogInfoprotected final TrustedNonTeamMemberTypeFields inherited from class com.dropbox.core.v2.teamlog.UserLogInfo
accountId, displayName, email -
Constructor Summary
ConstructorsConstructorDescriptionTrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType) User that is not a member of the team but considered trusted.TrustedNonTeamMemberLogInfo(TrustedNonTeamMemberType trustedNonTeamMemberType, String accountId, String displayName, String email, TeamLogInfo team) User that is not a member of the team but considered trusted. -
Method Summary
Modifier and TypeMethodDescriptionbooleanUser unique ID.User display name.getEmail()User email address.getTeam()Details about this user's trusted team.Indicates the type of the member of a trusted team.inthashCode()newBuilder(TrustedNonTeamMemberType trustedNonTeamMemberType) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.Methods inherited from class com.dropbox.core.v2.teamlog.UserLogInfo
newBuilder
-
Field Details
-
trustedNonTeamMemberType
-
team
-
-
Constructor Details
-
TrustedNonTeamMemberLogInfo
public TrustedNonTeamMemberLogInfo(@Nonnull TrustedNonTeamMemberType trustedNonTeamMemberType, @Nullable String accountId, @Nullable String displayName, @Nullable 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 benull.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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
TrustedNonTeamMemberLogInfo
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 benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getTrustedNonTeamMemberType
Indicates the type of the member of a trusted team.- Returns:
- value for this field, never
null.
-
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.
-
getTeam
Details about this user's trusted team.- Returns:
- value for this field, or
nullif 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 benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
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
-