CommentsModule
public class CommentsModule
Provides Comment management
-
Get information about a comment.
Declaration
Parameters
commentIdThe ID of the comment on which to retrieve information.
fieldscompletionReturns a Comment response object if successful otherwise a BoxSDKError.
-
Updates the message for a comment.
Declaration
Parameters
commentIdThe ID of the comment to update info on,
fieldscompletionReturns a Comment response object if successful otherwise a BoxSDKError.
-
Creates a comment on an item.
Declaration
Parameters
itemIdThe ID of the item to create a comment on.
itemTypeThe type of the item to create a comment on. Can be
file
orcomment
.fieldscompletionReturns a Comment response object if successful otherwise a BoxSDKError.
-
Deletes the comment.
Declaration
Swift
public func delete( commentId: String, completion: @escaping Callback<Void> )Parameters
commentIdThe ID of the comment to delete.
completionReturns Void if the comment is deleted.
CommentsModule Class Reference