C# Class Smartsheet.Api.Internal.RowColumnResourcesImpl

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

Méthodes publiques

Méthode Description
AddImageToCell ( long sheetId, long rowId, long columnId, string file, string fileType ) : void

Uploads an image to the specified Cell within a Sheet.

It mirrors To the following Smartsheet REST API method: POST /sheets/{sheetId}/rows/{rowId}/columns/{columnId}/cellimages

GetCellHistory ( long sheetId, long rowId, long columnId, IEnumerable include, PaginationParameters paging ) : PaginatedResult

Gets the cell modification history.

It mirrors To the following Smartsheet REST API method: GET /sheets/{sheetId}/rows/{rowId}/columns/{columnId}/history

This operation supports pagination of results. For more information, see Paging.

This is a resource-intensive operation and incurs 10 additional requests against the rate limit.

RowColumnResourcesImpl ( SmartsheetImpl smartsheet ) : System

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

Private Methods

Méthode Description
AddImage ( string path, string file, string contentType ) : void

Attach file.

Method Details

AddImageToCell() public méthode

Uploads an image to the specified Cell within a Sheet.

It mirrors To the following Smartsheet REST API method: POST /sheets/{sheetId}/rows/{rowId}/columns/{columnId}/cellimages

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 AddImageToCell ( long sheetId, long rowId, long columnId, string file, string fileType ) : void
sheetId long the sheet Id
rowId long the row Id
columnId long the column id
file string the file path
fileType string the file type
Résultat void

GetCellHistory() public méthode

Gets the cell modification history.

It mirrors To the following Smartsheet REST API method: GET /sheets/{sheetId}/rows/{rowId}/columns/{columnId}/history

This operation supports pagination of results. For more information, see Paging.

This is a resource-intensive operation and incurs 10 additional requests against the rate limit.

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 GetCellHistory ( long sheetId, long rowId, long columnId, IEnumerable include, PaginationParameters paging ) : PaginatedResult
sheetId long the sheet Id
rowId long the row Id
columnId long the column id
include IEnumerable the elements to include in the response
paging Smartsheet.Api.Models.PaginationParameters the pagination
Résultat PaginatedResult

RowColumnResourcesImpl() public méthode

Constructor. Exceptions: - IllegalArgumentException : if any argument is null
public RowColumnResourcesImpl ( SmartsheetImpl smartsheet ) : System
smartsheet SmartsheetImpl the Smartsheet
Résultat System