C# Class 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.
Inheritance: AbstractResources, RowDiscussionResources
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk

Public Methods

Method Description
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

Method Details

CreateDiscussion() public method

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
return Smartsheet.Api.Models.Discussion

CreateDiscussionWithAttachment() public method

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
return Smartsheet.Api.Models.Discussion

ListDiscussions() public method

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
return PaginatedResult

RowDiscussionResourcesImpl() public method

Constructor. Exceptions: - IllegalArgumentException : if any argument is null
public RowDiscussionResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic
smartsheet SmartsheetImpl the Smartsheet
return System.Collections.Generic