public class PaperChangeMemberPolicyDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected PaperMemberPolicy |
newValue |
protected PaperMemberPolicy |
previousValue |
Constructor and Description |
---|
PaperChangeMemberPolicyDetails(PaperMemberPolicy newValue)
Changed whether members can share Paper docs outside team, and if docs
are accessible only by team members or anyone by default.
|
PaperChangeMemberPolicyDetails(PaperMemberPolicy newValue,
PaperMemberPolicy previousValue)
Changed whether members can share Paper docs outside team, and if docs
are accessible only by team members or anyone by default.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
PaperMemberPolicy |
getNewValue()
New paper external accessibility policy.
|
PaperMemberPolicy |
getPreviousValue()
Previous paper external accessibility policy.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final PaperMemberPolicy newValue
protected final PaperMemberPolicy previousValue
public PaperChangeMemberPolicyDetails(PaperMemberPolicy newValue, PaperMemberPolicy previousValue)
newValue
- New paper external accessibility policy. Must not be
null
.previousValue
- Previous paper external accessibility policy. Might
be missing due to historical data gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PaperChangeMemberPolicyDetails(PaperMemberPolicy newValue)
The default values for unset fields will be used.
newValue
- New paper external accessibility policy. Must not be
null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PaperMemberPolicy getNewValue()
null
.public PaperMemberPolicy 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.