Package com.dropbox.core.v2.paper
Class ListUsersOnFolderResponse
- java.lang.Object
-
- com.dropbox.core.v2.paper.ListUsersOnFolderResponse
-
public class ListUsersOnFolderResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ListUsersOnFolderResponse(java.util.List<InviteeInfo> invitees, java.util.List<UserInfo> users, Cursor cursor, boolean hasMore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)CursorgetCursor()Pass the cursor intoDbxUserPaperRequests.docsFolderUsersListContinue(String,String)to paginate through all users.booleangetHasMore()Will be set to True if a subsequent call with the provided cursor toDbxUserPaperRequests.docsFolderUsersListContinue(String,String)returns immediately with some results.java.util.List<InviteeInfo>getInvitees()List of email addresses that are invited on the Paper folder.java.util.List<UserInfo>getUsers()List of users that are invited on the Paper folder.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
invitees
@Nonnull protected final java.util.List<InviteeInfo> invitees
-
users
@Nonnull protected final java.util.List<UserInfo> users
-
cursor
@Nonnull protected final Cursor cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Detail
-
ListUsersOnFolderResponse
public ListUsersOnFolderResponse(@Nonnull java.util.List<InviteeInfo> invitees, @Nonnull java.util.List<UserInfo> users, @Nonnull Cursor cursor, boolean hasMore)- Parameters:
invitees- List of email addresses that are invited on the Paper folder. Must not contain anullitem and not benull.users- List of users that are invited on the Paper folder. Must not contain anullitem and not benull.cursor- Pass the cursor intoDbxUserPaperRequests.docsFolderUsersListContinue(String,String)to paginate through all users. The cursor preserves all properties as specified in the original call toDbxUserPaperRequests.docsFolderUsersList(String,int). Must not benull.hasMore- Will be set to True if a subsequent call with the provided cursor toDbxUserPaperRequests.docsFolderUsersListContinue(String,String)returns immediately with some results. If set to False please allow some delay before making another call toDbxUserPaperRequests.docsFolderUsersListContinue(String,String).- Throws:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Detail
-
getInvitees
@Nonnull public java.util.List<InviteeInfo> getInvitees()
List of email addresses that are invited on the Paper folder.- Returns:
- value for this field, never
null.
-
getUsers
@Nonnull public java.util.List<UserInfo> getUsers()
List of users that are invited on the Paper folder.- Returns:
- value for this field, never
null.
-
getCursor
@Nonnull public Cursor getCursor()
Pass the cursor intoDbxUserPaperRequests.docsFolderUsersListContinue(String,String)to paginate through all users. The cursor preserves all properties as specified in the original call toDbxUserPaperRequests.docsFolderUsersList(String,int).- Returns:
- value for this field, never
null.
-
getHasMore
public boolean getHasMore()
Will be set to True if a subsequent call with the provided cursor toDbxUserPaperRequests.docsFolderUsersListContinue(String,String)returns immediately with some results. If set to False please allow some delay before making another call toDbxUserPaperRequests.docsFolderUsersListContinue(String,String).- Returns:
- value for this field.
-
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
-
-