CommentsClient
class CommentsClient
Methods
__construct(Curl $curl, string $api_url, TencentAI $tencent_ai)
No description
mixed
create(string $repo_full_name, int $issue_number, string $body)
Create a comment.
mixed
list(string $repo_full_name, int $issue_number)
List comments on an issue.
mixed
listInRepository(string $repo_full_name)
List comments in a repository.
mixed
getSingle(string $repo_full_name, int $comment_id)
Get a single comment.
void
edit(string $repo_full_name, int $comment_id, string $body)
Edit a comment.
void
delete(string $repo_full_name, int $comment_id)
Delete a comment.
Details
at line 24
__construct(Curl $curl, string $api_url, TencentAI $tencent_ai)
at line 42
mixed
create(string $repo_full_name, int $issue_number, string $body)
Create a comment.
201
at line 73
mixed
list(string $repo_full_name, int $issue_number)
List comments on an issue.
at line 87
mixed
listInRepository(string $repo_full_name)
List comments in a repository.
at line 101
mixed
getSingle(string $repo_full_name, int $comment_id)
Get a single comment.
at line 113
void
edit(string $repo_full_name, int $comment_id, string $body)
Edit a comment.
at line 135
void
delete(string $repo_full_name, int $comment_id)
Delete a comment.
204.