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
파일 보기 프로젝트 열기: smartsheet-platform/smartsheet-csharp-sdk

공개 메소드들

메소드 설명
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