class Client

Methods

__construct(Curl $curl, string $api_url, TencentAI $tencent_ai)

No description

list()

List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories:.

void
listRepositoryIssues(string $repo_full_name)

List issues for a repository.

mixed
getSingle(string $repo_full_name, int $issue_number)

Get a single issue.

void
create(string $repo_full_name, string $title, string $body, int $milestone, array $labels = null, array $assignees = null)

Create an issue.

void
edit(string $repo_full_name, int $issue_number, string $title = null, string $body = null, string $state = null, int $milestone = null, array $labels = null, array $assignees = null)

Edit an issue.

void
lock(string $repo_full_name, int $issue_number, string $lock_reason = null)

Lock an issue.

void
unlock(string $repo_full_name, int $issue_number)

Unlock an issue.

mixed
timeline(string $repo_full_name, int $issue_number)

No description

Details

at line 34
__construct(Curl $curl, string $api_url, TencentAI $tencent_ai)

Parameters

Curl $curl
string $api_url
TencentAI $tencent_ai

at line 49
list()

List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories:.

Exceptions

Exception

at line 59
void listRepositoryIssues(string $repo_full_name)

List issues for a repository.

Parameters

string $repo_full_name

Return Value

void

at line 72
mixed getSingle(string $repo_full_name, int $issue_number)

Get a single issue.

201

Parameters

string $repo_full_name
int $issue_number

Return Value

mixed

Exceptions

Exception

at line 87
void create(string $repo_full_name, string $title, string $body, int $milestone, array $labels = null, array $assignees = null)

Create an issue.

Parameters

string $repo_full_name
string $title
string $body
int $milestone
array $labels
array $assignees

Return Value

void

Exceptions

Exception

at line 124
void edit(string $repo_full_name, int $issue_number, string $title = null, string $body = null, string $state = null, int $milestone = null, array $labels = null, array $assignees = null)

Edit an issue.

Parameters

string $repo_full_name
int $issue_number
string $title
string $body
string $state
int $milestone
array $labels
array $assignees

Return Value

void

Exceptions

Exception

See also

at line 158
void lock(string $repo_full_name, int $issue_number, string $lock_reason = null)

Lock an issue.

204.

Parameters

string $repo_full_name
int $issue_number
string $lock_reason

Return Value

void

Exceptions

Exception

at line 192
void unlock(string $repo_full_name, int $issue_number)

Unlock an issue.

Parameters

string $repo_full_name
int $issue_number

Return Value

void

Exceptions

Exception

at line 212
mixed timeline(string $repo_full_name, int $issue_number)

Parameters

string $repo_full_name
int $issue_number

Return Value

mixed

Exceptions

Exception