Package com.dropbox.core.v2.team
Class SharingAllowlistListResponse
java.lang.Object
com.dropbox.core.v2.team.SharingAllowlistListResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSharingAllowlistListResponse(List<String> domains, List<String> emails) NoneSharingAllowlistListResponse(List<String> domains, List<String> emails, String cursor, boolean hasMore) UsenewBuilder(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. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf this is nonempty, there are more entries that can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String).List of domains represented by valid string representation (RFC-1034/5).List of emails represented by valid string representation (RFC-5322/822).booleanif true indicates that more entries can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String).inthashCode()newBuilder(List<String> domains, List<String> emails) Returns a new builder for creating an instance of this class.toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
domains
-
emails
-
cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Details
-
SharingAllowlistListResponse
public SharingAllowlistListResponse(@Nonnull List<String> domains, @Nonnull List<String> emails, @Nonnull String cursor, boolean hasMore) UsenewBuilder(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 anullitem and not benull.emails- List of emails represented by valid string representation (RFC-5322/822). Must not contain anullitem and not benull.cursor- If this is nonempty, there are more entries that can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String). Must not benull.hasMore- if true indicates that more entries can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String).- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
SharingAllowlistListResponse
NoneThe default values for unset fields will be used.
- Parameters:
domains- List of domains represented by valid string representation (RFC-1034/5). Must not contain anullitem and not benull.emails- List of emails represented by valid string representation (RFC-5322/822). Must not contain anullitem and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getDomains
List of domains represented by valid string representation (RFC-1034/5).- Returns:
- value for this field, never
null.
-
getEmails
List of emails represented by valid string representation (RFC-5322/822).- Returns:
- value for this field, never
null.
-
getCursor
If this is nonempty, there are more entries that can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String).- Returns:
- value for this field, or
nullif not present. Defaults to "".
-
getHasMore
public boolean getHasMore()if true indicates that more entries can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String).- Returns:
- value for this field, or
nullif 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 anullitem and not benull.emails- List of emails represented by valid string representation (RFC-5322/822). Must not contain anullitem and not benull.- Returns:
- builder for this class.
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-