C# Class Smartsheet.Api.Internal.SheetCommentResourcesImpl

This is the implementation of the SheetCommentResources. Thread Safety: This class is thread safe because it is immutable and its base class is thread safe.
Inheritance: AbstractResources, SheetCommentResources
Show file Open project: smartsheet-platform/smartsheet-csharp-sdk

Public Methods

Method Description
DeleteComment ( long sheetId, long commentId ) : void

Deletes the Comment specified in the URL.

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

GetComment ( long sheetId, long commentId ) : Comment

Gets the Comment specified in the URL.

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

SheetCommentResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic

Constructor.

Method Details

DeleteComment() public method

Deletes the Comment specified in the URL.

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

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 DeleteComment ( long sheetId, long commentId ) : void
sheetId long the sheetId
commentId long the commentId
return void

GetComment() public method

Gets the Comment specified in the URL.

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

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 GetComment ( long sheetId, long commentId ) : Comment
sheetId long the id of the sheet
commentId long the id the of the comment
return Smartsheet.Api.Models.Comment

SheetCommentResourcesImpl() public method

Constructor.
if any argument is null
public SheetCommentResourcesImpl ( SmartsheetImpl smartsheet ) : System.Collections.Generic
smartsheet SmartsheetImpl the Smartsheet
return System.Collections.Generic