Package com.dropbox.core.v2.sharing
Class AudienceExceptions
- java.lang.Object
-
- com.dropbox.core.v2.sharing.AudienceExceptions
-
public class AudienceExceptions extends java.lang.ObjectThe total count and truncated list of information of content inside this folder that has a different audience than the link on this folder. This is only returned for folders.
-
-
Field Summary
Fields Modifier and Type Field Description protected longcountprotected java.util.List<AudienceExceptionContentInfo>exceptions
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)longgetCount()java.util.List<AudienceExceptionContentInfo>getExceptions()A truncated list of some of the content that is an exception.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
count
protected final long count
-
exceptions
protected final java.util.List<AudienceExceptionContentInfo> exceptions
-
-
Constructor Detail
-
AudienceExceptions
public 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. This is only returned for folders.- Parameters:
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 anullitem and not benull.- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Detail
-
getCount
public long getCount()
- Returns:
- value for this field.
-
getExceptions
public java.util.List<AudienceExceptionContentInfo> getExceptions()
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.- Returns:
- value for this field, never
null.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-
-