Package com.dropbox.core.v2.files
Class SearchResult
java.lang.Object
com.dropbox.core.v2.files.SearchResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<SearchMatch> protected final booleanprotected final long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
matches
-
more
protected final boolean more -
start
protected final long start
-
-
Constructor Details
-
SearchResult
- Parameters:
matches- A list (possibly empty) of matches for the query. Must not contain anullitem and not benull.more- Used for paging. If true, indicates there is another page of results available that can be fetched by callingDbxUserFilesRequests.search(String,String)again.start- Used for paging. Value to set the start argument to when callingDbxUserFilesRequests.search(String,String)to fetch the next page of results.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getMatches
A list (possibly empty) of matches for the query.- Returns:
- value for this field, never
null.
-
getMore
public boolean getMore()Used for paging. If true, indicates there is another page of results available that can be fetched by callingDbxUserFilesRequests.search(String,String)again.- Returns:
- value for this field.
-
getStart
public long getStart()Used for paging. Value to set the start argument to when callingDbxUserFilesRequests.search(String,String)to fetch the next page of results.- 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
-