Package com.dropbox.core.v2.sharing
Class AudienceExceptions
- java.lang.Object
-
- com.dropbox.core.v2.sharing.AudienceExceptions
-
public class AudienceExceptions extends java.lang.Object
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.
-
-
Field Summary
Fields Modifier and Type Field Description protected long
count
protected 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 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.
-
-
-
Field Detail
-
count
protected final long count
-
exceptions
@Nonnull protected final java.util.List<AudienceExceptionContentInfo> exceptions
-
-
Constructor Detail
-
AudienceExceptions
public AudienceExceptions(long count, @Nonnull 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 anull
item 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
@Nonnull 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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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
-
-