Class SharingAllowlistListResponse


  • public class SharingAllowlistListResponse
    extends java.lang.Object
    • Field Detail

      • domains

        @Nonnull
        protected final java.util.List<java.lang.String> domains
      • emails

        @Nonnull
        protected final java.util.List<java.lang.String> emails
      • cursor

        @Nonnull
        protected final java.lang.String cursor
      • hasMore

        protected final boolean hasMore
    • Constructor Detail

      • SharingAllowlistListResponse

        public SharingAllowlistListResponse​(@Nonnull
                                            java.util.List<java.lang.String> domains,
                                            @Nonnull
                                            java.util.List<java.lang.String> emails,
                                            @Nonnull
                                            java.lang.String cursor,
                                            boolean hasMore)
        Use newBuilder(java.util.List<java.lang.String>,java.util.List<java.lang.String>) to create instances of this class without specifying values for all optional fields.
        Parameters:
        domains - List of domains represented by valid string representation (RFC-1034/5). Must not contain a null item and not be null.
        emails - List of emails represented by valid string representation (RFC-5322/822). Must not contain a null item and not be null.
        cursor - If this is nonempty, there are more entries that can be fetched with DbxTeamTeamRequests.sharingAllowlistListContinue(String). Must not be null.
        hasMore - if true indicates that more entries can be fetched with DbxTeamTeamRequests.sharingAllowlistListContinue(String).
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • SharingAllowlistListResponse

        public SharingAllowlistListResponse​(@Nonnull
                                            java.util.List<java.lang.String> domains,
                                            @Nonnull
                                            java.util.List<java.lang.String> emails)
        None

        The default values for unset fields will be used.

        Parameters:
        domains - List of domains represented by valid string representation (RFC-1034/5). Must not contain a null item and not be null.
        emails - List of emails represented by valid string representation (RFC-5322/822). Must not contain a null item and not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getDomains

        @Nonnull
        public java.util.List<java.lang.String> getDomains()
        List of domains represented by valid string representation (RFC-1034/5).
        Returns:
        value for this field, never null.
      • getEmails

        @Nonnull
        public java.util.List<java.lang.String> getEmails()
        List of emails represented by valid string representation (RFC-5322/822).
        Returns:
        value for this field, never null.
      • newBuilder

        public static SharingAllowlistListResponse.Builder newBuilder​(java.util.List<java.lang.String> domains,
                                                                      java.util.List<java.lang.String> emails)
        Returns a new builder for creating an instance of this class.
        Parameters:
        domains - List of domains represented by valid string representation (RFC-1034/5). Must not contain a null item and not be null.
        emails - List of emails represented by valid string representation (RFC-5322/822). Must not contain a null item and not be null.
        Returns:
        builder for this class.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • 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