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