C# Класс Smartsheet.Api.Internal.RowDiscussionResourcesImpl

This is the implementation of the RowDiscussionResources. Thread Safety: This class is thread safe because it is immutable and its base class is thread safe.
Наследование: AbstractResources, RowDiscussionResources
Показать файл Открыть проект

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

Метод Описание
CreateDiscussion ( long sheetId, long rowId, Discussion discussion ) : Discussion

Creates a new Discussion on a Row.

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

CreateDiscussionWithAttachment ( long sheetId, long rowId, Discussion discussion, string file, string fileType ) : Discussion

Creates a new Discussion attached with an Attachment on a Row.

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

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

Gets a list of all Discussions associated with the specified Row.

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

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

RowDiscussionResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic

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

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

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

Creates a new Discussion on a Row.

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

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 CreateDiscussion ( long sheetId, long rowId, Discussion discussion ) : Discussion
sheetId long the id of the sheet
rowId long the id of the row
discussion Smartsheet.Api.Models.Discussion the discussion to add
Результат Smartsheet.Api.Models.Discussion

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

Creates a new Discussion attached with an Attachment on a Row.

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

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 CreateDiscussionWithAttachment ( long sheetId, long rowId, Discussion discussion, string file, string fileType ) : Discussion
sheetId long the id of the sheet
rowId long the id of the row
discussion Smartsheet.Api.Models.Discussion the discussion to add
file string the file path
fileType string the file type, can be null
Результат Smartsheet.Api.Models.Discussion

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

Gets a list of all Discussions associated with the specified Row.

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

This operation supports pagination of results. For more information, see Paging.
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 ListDiscussions ( long sheetId, long rowId, IEnumerable include, PaginationParameters paging ) : PaginatedResult
sheetId long the sheet Id
rowId long the row Id
include IEnumerable elements to include in response
paging Smartsheet.Api.Models.PaginationParameters the pagination
Результат PaginatedResult

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

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