public class FileChangeCommentSubscriptionDetails
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected FileCommentNotificationPolicy |
newValue |
protected FileCommentNotificationPolicy |
previousValue |
| Constructor and Description |
|---|
FileChangeCommentSubscriptionDetails(FileCommentNotificationPolicy newValue)
Subscribed to or unsubscribed from comment notifications for file.
|
FileChangeCommentSubscriptionDetails(FileCommentNotificationPolicy newValue,
FileCommentNotificationPolicy previousValue)
Subscribed to or unsubscribed from comment notifications for file.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
FileCommentNotificationPolicy |
getNewValue()
New file comment subscription.
|
FileCommentNotificationPolicy |
getPreviousValue()
Previous file comment subscription.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final FileCommentNotificationPolicy newValue
protected final FileCommentNotificationPolicy previousValue
public FileChangeCommentSubscriptionDetails(FileCommentNotificationPolicy newValue, FileCommentNotificationPolicy previousValue)
newValue - New file comment subscription. Must not be null.previousValue - Previous file comment subscription. Might be
missing due to historical data gap.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public FileChangeCommentSubscriptionDetails(FileCommentNotificationPolicy newValue)
The default values for unset fields will be used.
newValue - New file comment subscription. Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public FileCommentNotificationPolicy getNewValue()
null.public FileCommentNotificationPolicy getPreviousValue()
null if not present.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toStringMultiline()
The returned String may contain newlines.