Class 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.
    • 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 a null item and not be null.
        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:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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