C# Класс 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.
Наследование: AbstractResources, RowColumnResources
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddImage ( string path, string file, string contentType ) : void

Attach file.

Описание методов

AddImageToCell() публичный Метод

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
Результат void

GetCellHistory() публичный Метод

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
Результат PaginatedResult

RowColumnResourcesImpl() публичный Метод

Constructor. Exceptions: - IllegalArgumentException : if any argument is null
public RowColumnResourcesImpl ( SmartsheetImpl smartsheet ) : System
smartsheet SmartsheetImpl the Smartsheet
Результат System