Package com.dropbox.core.v2.filerequests
Class ListFileRequestsV2Result
- java.lang.Object
-
- com.dropbox.core.v2.filerequests.ListFileRequestsV2Result
-
public class ListFileRequestsV2Result extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringcursorprotected java.util.List<FileRequest>fileRequestsprotected booleanhasMore
-
Constructor Summary
Constructors Constructor Description ListFileRequestsV2Result(java.util.List<FileRequest> fileRequests, java.lang.String cursor, boolean hasMore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCursor()Pass the cursor intoDbxUserFileRequestsRequests.listContinue(String)to obtain additional file requests.java.util.List<FileRequest>getFileRequests()The file requests owned by this user.booleangetHasMore()Is true if there are additional file requests that have not been returned yet.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
fileRequests
protected final java.util.List<FileRequest> fileRequests
-
cursor
protected final java.lang.String cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Detail
-
ListFileRequestsV2Result
public ListFileRequestsV2Result(java.util.List<FileRequest> fileRequests, java.lang.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:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Detail
-
getFileRequests
public java.util.List<FileRequest> 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
public java.lang.String 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()
- 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
-
-