public class AudienceExceptions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
count |
protected java.util.List<AudienceExceptionContentInfo> |
exceptions |
Constructor and Description |
---|
AudienceExceptions(long count,
java.util.List<AudienceExceptionContentInfo> exceptions)
The total count and truncated list of information of content inside this
folder that has a different audience than the link on this folder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getCount() |
java.util.List<AudienceExceptionContentInfo> |
getExceptions()
A truncated list of some of the content that is an exception.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final long count
protected final java.util.List<AudienceExceptionContentInfo> exceptions
public AudienceExceptions(long count, java.util.List<AudienceExceptionContentInfo> exceptions)
exceptions
- A truncated list of some of the content that is an
exception. The length of this list could be smaller than the count
since it is only a sample but will not be empty as long as count is
not 0. Must not contain a null
item and not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public long getCount()
public java.util.List<AudienceExceptionContentInfo> getExceptions()
null
.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.