C# Class Smartsheet.Api.Internal.SearchResourcesImpl

This is the implementation of the SearchResources. Thread Safety: This class is thread safe because it is immutable and its base class is thread safe.
Inheritance: AbstractResources, SearchResources
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk Class Usage Examples

Public Methods

Method Description
Search ( string query ) : Api.Models.SearchResult

Searches all Sheets that the User can access, for the specified text.

It mirrors To the following Smartsheet REST API method: GET /search

SearchResourcesImpl ( SmartsheetImpl smartsheet ) : System

Constructor. Exceptions: - IllegalArgumentException : if any argument is null

SearchSheet ( long sheetId, string query ) : Api.Models.SearchResult

Searches a Sheet for the specified text.

It mirrors To the following Smartsheet REST API method: GET /search/sheets/{sheetId}

Method Details

Search() public method

Searches all Sheets that the User can access, for the specified text.

It mirrors To the following Smartsheet REST API method: GET /search

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public Search ( string query ) : Api.Models.SearchResult
query string (required): Text with which to perform the search.
return Api.Models.SearchResult

SearchResourcesImpl() public method

Constructor. Exceptions: - IllegalArgumentException : if any argument is null
public SearchResourcesImpl ( SmartsheetImpl smartsheet ) : System
smartsheet SmartsheetImpl the Smartsheet
return System

SearchSheet() public method

Searches a Sheet for the specified text.

It mirrors To the following Smartsheet REST API method: GET /search/sheets/{sheetId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public SearchSheet ( long sheetId, string query ) : Api.Models.SearchResult
sheetId long the sheet Id
query string the query Text
return Api.Models.SearchResult