C# Class Smartsheet.Api.Internal.DiscussionCommentResourcesImpl

Inheritance: AbstractResources, DiscussionCommentResources
Afficher le fichier Open project: smartsheet-platform/smartsheet-csharp-sdk Class Usage Examples

Méthodes publiques

Méthode Description
AddComment ( long sheetId, long discussionId, Comment comment ) : Comment

Adds a Comment to a Discussion.

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

AddCommentWithAttachment ( long sheetId, long discussionId, Comment comment, string file, string fileType ) : Comment

Adds a Comment attached with an Attachment to a Discussion.

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

DiscussionCommentResourcesImpl ( SmartsheetImpl smartsheet ) : Smartsheet.Api.Models

Constructor.

Method Details

AddComment() public méthode

Adds a Comment to a Discussion.

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

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 AddComment ( long sheetId, long discussionId, Comment comment ) : Comment
sheetId long the id of the sheet
discussionId long the id of the discussion
comment Smartsheet.Api.Models.Comment Comment object
Résultat Smartsheet.Api.Models.Comment

AddCommentWithAttachment() public méthode

Adds a Comment attached with an Attachment to a Discussion.

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

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 AddCommentWithAttachment ( long sheetId, long discussionId, Comment comment, string file, string fileType ) : Comment
sheetId long the id of the sheet
discussionId long the id of the discussion
comment Smartsheet.Api.Models.Comment Comment object
file string the file path
fileType string the file type
Résultat Smartsheet.Api.Models.Comment

DiscussionCommentResourcesImpl() public méthode

Constructor.
if any argument is null
public DiscussionCommentResourcesImpl ( SmartsheetImpl smartsheet ) : Smartsheet.Api.Models
smartsheet SmartsheetImpl the Smartsheet
Résultat Smartsheet.Api.Models