| Package | Description |
|---|---|
| com.smartsheet.api | |
| com.smartsheet.api.models |
| Modifier and Type | Method and Description |
|---|---|
Comment |
DiscussionCommentResources.addComment(long sheetId,
long discussionId,
Comment comment)
Add a comment to a discussion.
|
Comment |
DiscussionCommentResources.addCommentWithAttachment(long sheetId,
long discussionId,
Comment comment,
File file,
String contentType)
Add a comment to a discussion with an attachment.
|
Comment |
DiscussionResources.addDiscussionComment(long id,
Comment comment)
Add a comment to a discussion.
|
Comment |
CommentResources.getComment(long sheetId,
long commentId)
Deprecated.
As of release 2.0
|
Comment |
SheetCommentResources.getComment(long sheetId,
long commentId)
Get a comment.
|
Comment |
DiscussionCommentResources.updateComment(long sheetId,
Comment comment)
Update the specified comment
|
| Modifier and Type | Method and Description |
|---|---|
Comment |
DiscussionCommentResources.addComment(long sheetId,
long discussionId,
Comment comment)
Add a comment to a discussion.
|
Comment |
DiscussionCommentResources.addCommentWithAttachment(long sheetId,
long discussionId,
Comment comment,
File file,
String contentType)
Add a comment to a discussion with an attachment.
|
Comment |
DiscussionResources.addDiscussionComment(long id,
Comment comment)
Add a comment to a discussion.
|
Comment |
DiscussionCommentResources.updateComment(long sheetId,
Comment comment)
Update the specified comment
|
| Modifier and Type | Method and Description |
|---|---|
Comment |
Comment.AddCommentBuilder.build()
Builds the comment.
|
Comment |
Discussion.getComment()
Gets the comment for the discussion.
|
Comment |
Discussion.CreateDiscussionBuilder.getComment()
Gets the comments.
|
Comment |
Comment.setAttachments(List<Attachment> attachments)
Sets the comment attachments.
|
Comment |
Comment.setCreatedAt(Date createdAt)
Sets the date the comment was created.
|
Comment |
Comment.setCreatedBy(User createdBy)
Sets the user that created the comment.
|
Comment |
Comment.setDiscussionId(Long discussionId)
Sets the discussion id.
|
Comment |
Comment.setModifiedAt(Date modifiedAt)
Sets the date the comment was modified.
|
Comment |
Comment.setModifiedDate(Date modifiedDate)
Sets the date the comment was last modified.
|
Comment |
Comment.setText(String text)
Sets the text for the comment.
|
| Modifier and Type | Method and Description |
|---|---|
List<Comment> |
Discussion.getComments()
Gets the comments for the discussion.
|
| Modifier and Type | Method and Description |
|---|---|
Discussion |
Discussion.setComment(Comment comment)
Sets the comment for the discussion (outbound only, i.e.
|
Discussion.CreateDiscussionBuilder |
Discussion.CreateDiscussionBuilder.setComment(Comment comment)
Sets the comments for the discussion.
|
| Modifier and Type | Method and Description |
|---|---|
Discussion |
Discussion.setComments(List<Comment> comments)
Sets the comments for the discussion.
|
Copyright © 2014–2019 Smartsheet. All rights reserved.