public class PermanentDeleteChangePolicyDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ContentPermanentDeletePolicy |
newValue |
protected ContentPermanentDeletePolicy |
previousValue |
Constructor and Description |
---|
PermanentDeleteChangePolicyDetails(ContentPermanentDeletePolicy newValue)
Enabled/disabled ability of team members to permanently delete content.
|
PermanentDeleteChangePolicyDetails(ContentPermanentDeletePolicy newValue,
ContentPermanentDeletePolicy previousValue)
Enabled/disabled ability of team members to permanently delete content.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ContentPermanentDeletePolicy |
getNewValue()
New permanent delete content policy.
|
ContentPermanentDeletePolicy |
getPreviousValue()
Previous permanent delete content policy.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final ContentPermanentDeletePolicy newValue
protected final ContentPermanentDeletePolicy previousValue
public PermanentDeleteChangePolicyDetails(ContentPermanentDeletePolicy newValue, ContentPermanentDeletePolicy previousValue)
newValue
- New permanent delete content policy. Must not be null
.previousValue
- Previous permanent delete content policy. Might be
missing due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PermanentDeleteChangePolicyDetails(ContentPermanentDeletePolicy newValue)
The default values for unset fields will be used.
newValue
- New permanent delete content policy. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ContentPermanentDeletePolicy getNewValue()
null
.public ContentPermanentDeletePolicy 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.