public class SharedContentChangeViewerInfoPolicyDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ViewerInfoPolicy |
newValue |
protected ViewerInfoPolicy |
previousValue |
Constructor and Description |
---|
SharedContentChangeViewerInfoPolicyDetails(ViewerInfoPolicy newValue)
Changed whether members can see who viewed shared file/folder.
|
SharedContentChangeViewerInfoPolicyDetails(ViewerInfoPolicy newValue,
ViewerInfoPolicy previousValue)
Changed whether members can see who viewed shared file/folder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ViewerInfoPolicy |
getNewValue()
New viewer info policy.
|
ViewerInfoPolicy |
getPreviousValue()
Previous view info policy.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final ViewerInfoPolicy newValue
protected final ViewerInfoPolicy previousValue
public SharedContentChangeViewerInfoPolicyDetails(ViewerInfoPolicy newValue, ViewerInfoPolicy previousValue)
newValue
- New viewer info policy. Must not be null
.previousValue
- Previous view info policy. Might be missing due to
historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedContentChangeViewerInfoPolicyDetails(ViewerInfoPolicy newValue)
The default values for unset fields will be used.
newValue
- New viewer info policy. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ViewerInfoPolicy getNewValue()
null
.public ViewerInfoPolicy getPreviousValue()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.