Class SharingAllowlistListResponse

java.lang.Object
com.dropbox.core.v2.team.SharingAllowlistListResponse

public class SharingAllowlistListResponse extends Object
  • Field Details

    • domains

      @Nonnull protected final List<String> domains
    • emails

      @Nonnull protected final List<String> emails
    • cursor

      @Nonnull protected final String cursor
    • hasMore

      protected final boolean hasMore
  • Constructor Details

    • SharingAllowlistListResponse

      public SharingAllowlistListResponse(@Nonnull List<String> domains, @Nonnull List<String> emails, @Nonnull 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:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • SharingAllowlistListResponse

      public SharingAllowlistListResponse(@Nonnull List<String> domains, @Nonnull List<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:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getDomains

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

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

      @Nonnull public String getCursor()
      If this is nonempty, there are more entries that can be fetched with DbxTeamTeamRequests.sharingAllowlistListContinue(String).
      Returns:
      value for this field, or null if not present. Defaults to "".
    • getHasMore

      public boolean getHasMore()
      if true indicates that more entries can be fetched with DbxTeamTeamRequests.sharingAllowlistListContinue(String).
      Returns:
      value for this field, or null if not present. Defaults to false.
    • newBuilder

      public static SharingAllowlistListResponse.Builder newBuilder(List<String> domains, List<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:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public 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