public class YfyCommentRequest extends Object
| Constructor and Description |
|---|
YfyCommentRequest(YfyClient.YfyInternalClient client) |
| Modifier and Type | Method and Description |
|---|---|
YfyComment |
createComment(long fileId,
String content)
Create comment on a file
|
SuccessResult |
deleteComment(long commentId)
Delete comment by comment id
|
public YfyCommentRequest(YfyClient.YfyInternalClient client)
public YfyComment createComment(long fileId, String content) throws YfyException
fileId - File id in fangcloudcontent - Content of the commentYfyExceptionpublic SuccessResult deleteComment(long commentId) throws YfyException
commentId - Comment idYfyExceptionCopyright © 2017 YiFangYun. All rights reserved.