public class SharedContentChangeLinkAudienceDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected LinkAudience |
newValue |
protected LinkAudience |
previousValue |
Constructor and Description |
---|
SharedContentChangeLinkAudienceDetails(LinkAudience newValue)
Changed link audience of shared file/folder.
|
SharedContentChangeLinkAudienceDetails(LinkAudience newValue,
LinkAudience previousValue)
Changed link audience of shared file/folder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
LinkAudience |
getNewValue()
New link audience value.
|
LinkAudience |
getPreviousValue()
Previous link audience value.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final LinkAudience newValue
protected final LinkAudience previousValue
public SharedContentChangeLinkAudienceDetails(LinkAudience newValue, LinkAudience previousValue)
newValue
- New link audience value. Must not be null
.previousValue
- Previous link audience value.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public SharedContentChangeLinkAudienceDetails(LinkAudience newValue)
The default values for unset fields will be used.
newValue
- New link audience value. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public LinkAudience getNewValue()
null
.public LinkAudience 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.