Package com.smartsheet.api.models
Class SearchResult
- java.lang.Object
-
- com.smartsheet.api.models.SearchResult
-
public class SearchResult extends java.lang.ObjectRepresents the results of a search.- See Also:
- Help Searching in Smartsheet
-
-
Constructor Summary
Constructors Constructor Description SearchResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<SearchResultItem>getResults()Gets the list of results from the search.java.lang.IntegergetTotalCount()Gets the total count of results.voidsetResults(java.util.List<SearchResultItem> results)Sets the results list of results.voidsetTotalCount(java.lang.Integer totalCount)Sets the total count of results.
-
-
-
Method Detail
-
getTotalCount
public java.lang.Integer getTotalCount()
Gets the total count of results.- Returns:
- the total count
-
setTotalCount
public void setTotalCount(java.lang.Integer totalCount)
Sets the total count of results.- Parameters:
totalCount- the new total count
-
getResults
public java.util.List<SearchResultItem> getResults()
Gets the list of results from the search.- Returns:
- the results
-
setResults
public void setResults(java.util.List<SearchResultItem> results)
Sets the results list of results.- Parameters:
results- the new results
-
-