C# 클래스 Smartsheet.Api.Internal.SheetDiscussionResourcesImpl

This is the implementation of the SheetDiscussionResources. Thread Safety: This class is thread safe because it is immutable and its base class is thread safe.
상속: AbstractResources, SheetDiscussionResources
파일 보기 프로젝트 열기: smartsheet-platform/smartsheet-csharp-sdk 1 사용 예제들

공개 메소드들

메소드 설명
CreateDiscussion ( long sheetId, Discussion discussion ) : Discussion

Creates a new Discussion on a Sheet.

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

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

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

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

DeleteDiscussion ( long sheetId, long discussionId ) : void

Delete a discussion

It mirrors To the following Smartsheet REST API method: DELETE /sheets/{sheetId}/discussions/{discussionId}

GetDiscussion ( long sheetId, long discussionId ) : Discussion

Gets the Discussion specified in the URL.

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

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

Gets a list of all Discussions associated with the specified Sheet (both sheet-level discussions and row-level discussions).

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

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

SheetDiscussionResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic

Constructor.

메소드 상세

CreateDiscussion() 공개 메소드

Creates a new Discussion on a Sheet.

It mirrors To the following Smartsheet REST API method:
POST /sheets/{sheetId}/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, Discussion discussion ) : Discussion
sheetId long the id of the sheet
discussion Smartsheet.Api.Models.Discussion the discussion to add
리턴 Smartsheet.Api.Models.Discussion

CreateDiscussionWithAttachment() 공개 메소드

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

It mirrors To the following Smartsheet REST API method:
POST /sheets/{sheetId}/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, Discussion discussion, string file, string fileType ) : Discussion
sheetId long the id of the sheet
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

DeleteDiscussion() 공개 메소드

Delete a discussion

It mirrors To the following Smartsheet REST API method: DELETE /sheets/{sheetId}/discussions/{discussionId}

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 DeleteDiscussion ( long sheetId, long discussionId ) : void
sheetId long the sheetId
discussionId long the discussionId
리턴 void

GetDiscussion() 공개 메소드

Gets the Discussion specified in the URL.

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

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 GetDiscussion ( long sheetId, long discussionId ) : Discussion
sheetId long the Id of the sheet
discussionId long the ID of the discussion
리턴 Smartsheet.Api.Models.Discussion

ListDiscussions() 공개 메소드

Gets a list of all Discussions associated with the specified Sheet (both sheet-level discussions and row-level discussions).

It mirrors To the following Smartsheet REST API method: GET /sheets/{sheetId}/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, IEnumerable include, PaginationParameters paging ) : PaginatedResult
sheetId long the sheet Id
include IEnumerable elements to include in response
paging Smartsheet.Api.Models.PaginationParameters the pagination
리턴 PaginatedResult

SheetDiscussionResourcesImpl() 공개 메소드

Constructor.
if any argument is null
public SheetDiscussionResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic
smartsheet SmartsheetImpl the Smartsheet
리턴 System.Collections.Generic