Class CommentsResource
The "comments" collection of methods.
public class CommentsResource
- Inheritance
-
CommentsResource
- Inherited Members
Constructors
CommentsResource(IClientService)
Constructs a new resource.
public CommentsResource(IClientService service)
Parameters
service
IClientService
Methods
Create(Comment, string)
Creates a new comment on a file.
public virtual CommentsResource.CreateRequest Create(Comment body, string fileId)
Parameters
Returns
Delete(string, string)
Deletes a comment.
public virtual CommentsResource.DeleteRequest Delete(string fileId, string commentId)
Parameters
Returns
Get(string, string)
Gets a comment by ID.
public virtual CommentsResource.GetRequest Get(string fileId, string commentId)
Parameters
Returns
List(string)
Lists a file's comments.
public virtual CommentsResource.ListRequest List(string fileId)
Parameters
fileId
stringThe ID of the file.
Returns
Update(Comment, string, string)
Updates a comment with patch semantics.
public virtual CommentsResource.UpdateRequest Update(Comment body, string fileId, string commentId)
Parameters
body
CommentThe body of the request.
fileId
stringThe ID of the file.
commentId
stringThe ID of the comment.