Package com.dropbox.core.v2.filerequests
Class ListFileRequestsV2Result
java.lang.Object
com.dropbox.core.v2.filerequests.ListFileRequestsV2Result
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final List<FileRequest> protected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionListFileRequestsV2Result(List<FileRequest> fileRequests, String cursor, boolean hasMore) -
Method Summary
Modifier and TypeMethodDescriptionbooleanPass the cursor intoDbxUserFileRequestsRequests.listContinue(String)to obtain additional file requests.The file requests owned by this user.booleanIs true if there are additional file requests that have not been returned yet.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
fileRequests
-
cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Details
-
ListFileRequestsV2Result
public ListFileRequestsV2Result(@Nonnull List<FileRequest> fileRequests, @Nonnull String cursor, boolean hasMore) Result forDbxUserFileRequestsRequests.listV2(long)andDbxUserFileRequestsRequests.listContinue(String).- Parameters:
fileRequests- The file requests owned by this user. Apps with the app folder permission will only see file requests in their app folder. Must not contain anullitem and not benull.cursor- Pass the cursor intoDbxUserFileRequestsRequests.listContinue(String)to obtain additional file requests. Must not benull.hasMore- Is true if there are additional file requests that have not been returned yet. An additional call to :route:list/continue` can retrieve them.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getFileRequests
The file requests owned by this user. Apps with the app folder permission will only see file requests in their app folder.- Returns:
- value for this field, never
null.
-
getCursor
Pass the cursor intoDbxUserFileRequestsRequests.listContinue(String)to obtain additional file requests.- Returns:
- value for this field, never
null.
-
getHasMore
public boolean getHasMore()Is true if there are additional file requests that have not been returned yet. An additional call to :route:list/continue` can retrieve them.- Returns:
- value for this field.
-
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
-