Package com.dropbox.core.v2.teamlog
Class FileChangeCommentSubscriptionDetails
java.lang.Object
com.dropbox.core.v2.teamlog.FileChangeCommentSubscriptionDetails
Subscribed to or unsubscribed from comment notifications for file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FileCommentNotificationPolicyprotected final FileCommentNotificationPolicy -
Constructor Summary
ConstructorsConstructorDescriptionSubscribed to or unsubscribed from comment notifications for file.FileChangeCommentSubscriptionDetails(FileCommentNotificationPolicy newValue, FileCommentNotificationPolicy previousValue) Subscribed to or unsubscribed from comment notifications for file. -
Method Summary
-
Field Details
-
newValue
-
previousValue
-
-
Constructor Details
-
FileChangeCommentSubscriptionDetails
public FileChangeCommentSubscriptionDetails(@Nonnull FileCommentNotificationPolicy newValue, @Nullable FileCommentNotificationPolicy previousValue) Subscribed to or unsubscribed from comment notifications for file.- Parameters:
newValue- New file comment subscription. Must not benull.previousValue- Previous file comment subscription. Might be missing due to historical data gap.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
FileChangeCommentSubscriptionDetails
Subscribed to or unsubscribed from comment notifications for file.The default values for unset fields will be used.
- Parameters:
newValue- New file comment subscription. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getNewValue
New file comment subscription.- Returns:
- value for this field, never
null.
-
getPreviousValue
Previous file comment subscription. Might be missing due to historical data gap.- Returns:
- value for this field, or
nullif not present.
-
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
-