public interface SheetCommentResources
This interface provides methods to access Sheet Comment resources.
Thread Safety: Implementation of this interface must be thread safe.
| Modifier and Type | Method and Description |
|---|---|
CommentAttachmentResources |
attachmentResources()
Creates an object of CommentAttachmentResources.
|
void |
deleteComment(long sheetId,
long commentId)
Delete a comment.
|
Comment |
getComment(long sheetId,
long commentId)
Get a comment.
|
Comment getComment(long sheetId, long commentId) throws SmartsheetException
Get a comment.
It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/comments/{commentId}
sheetId - the ID of the sheetcommentId - the ID of the commentSmartsheetException - if there is any other error during the operationvoid deleteComment(long sheetId,
long commentId)
throws SmartsheetException
Delete a comment.
It mirrors to the following Smartsheet REST API method: DELETE /sheets/{sheetId}/comments/{commentId}
sheetId - the ID of the sheetcommentId - the ID of the commentSmartsheetException - if there is any other error during the operationCommentAttachmentResources attachmentResources() throws SmartsheetException
Creates an object of CommentAttachmentResources.
SmartsheetException - if there is any other error during the operationCopyright © 2014–2019 Smartsheet. All rights reserved.