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