Package com.dropbox.core.v2.team
Class SharingAllowlistListResponse
- java.lang.Object
-
- com.dropbox.core.v2.team.SharingAllowlistListResponse
-
public class SharingAllowlistListResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSharingAllowlistListResponse.BuilderBuilder forSharingAllowlistListResponse.
-
Constructor Summary
Constructors Constructor Description SharingAllowlistListResponse(java.util.List<java.lang.String> domains, java.util.List<java.lang.String> emails)NoneSharingAllowlistListResponse(java.util.List<java.lang.String> domains, java.util.List<java.lang.String> emails, java.lang.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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCursor()If this is nonempty, there are more entries that can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String).java.util.List<java.lang.String>getDomains()List of domains represented by valid string representation (RFC-1034/5).java.util.List<java.lang.String>getEmails()List of emails represented by valid string representation (RFC-5322/822).booleangetHasMore()if true indicates that more entries can be fetched withDbxTeamTeamRequests.sharingAllowlistListContinue(String).inthashCode()static SharingAllowlistListResponse.BuildernewBuilder(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.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
-
-
-
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)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:
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)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:
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.
-
getCursor
@Nonnull public java.lang.String 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(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 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:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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
-
-