Package com.dropbox.core.v2.files
Class SearchResult
- java.lang.Object
- 
- com.dropbox.core.v2.files.SearchResult
 
- 
 public class SearchResult extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<SearchMatch>matchesprotected booleanmoreprotected longstart
 - 
Constructor SummaryConstructors Constructor Description SearchResult(java.util.List<SearchMatch> matches, boolean more, long start)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<SearchMatch>getMatches()A list (possibly empty) of matches for the query.booleangetMore()Used for paging.longgetStart()Used for paging.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
matchesprotected final java.util.List<SearchMatch> matches 
 - 
moreprotected final boolean more 
 - 
startprotected final long start 
 
- 
 - 
Constructor Detail- 
SearchResultpublic SearchResult(java.util.List<SearchMatch> matches, boolean more, long start) - Parameters:
- matches- A list (possibly empty) of matches for the query. Must not contain a- nullitem and not be- null.
- more- Used for paging. If true, indicates there is another page of results available that can be fetched by calling- DbxUserFilesRequests.search(String,String)again.
- start- Used for paging. Value to set the start argument to when calling- DbxUserFilesRequests.search(String,String)to fetch the next page of results.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getMatchespublic java.util.List<SearchMatch> getMatches() A list (possibly empty) of matches for the query.- Returns:
- value for this field, never null.
 
 - 
getMorepublic 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.
 
 - 
getStartpublic 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.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic 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
 
 
- 
 
-