GetRepositoryIssues¶
Lists issues in a repository as a paginated list, optionally filtered by labels and state. Results can be sorted by creation time, update time, or comment count, and ordered ascending or descending. The per_page parameter controls page size (1-100, GitHub defaults to 30).
Constructors¶
create¶
Returns¶
- GetRepositoryIssues val^
Public Functions¶
apply¶
fun box apply(
owner: String val,
repo: String val,
creds: Credentials val,
labels: String val = "",
state: String val = "open",
sort: (SortByCreated val | SortByUpdated val | SortByComments val) = reference,
direction: (SortAscending val | SortDescending val) = reference,
since: String val = "",
per_page: (I64 val | None val) = reference)
: Promise[(PaginatedList[Issue val] val | RequestError val)] tag
Parameters¶
- owner: String val
- repo: String val
- creds: Credentials val
- labels: String val = ""
- state: String val = "open"
- sort: (SortByCreated val | SortByUpdated val | SortByComments val) = reference
- direction: (SortAscending val | SortDescending val) = reference
- since: String val = ""
- per_page: (I64 val | None val) = reference
Returns¶
- Promise[(PaginatedList[Issue val] val | RequestError val)] tag
by_url¶
fun box by_url(
url: String val,
creds: Credentials val)
: Promise[(PaginatedList[Issue val] val | RequestError val)] tag
Parameters¶
- url: String val
- creds: Credentials val
Returns¶
- Promise[(PaginatedList[Issue val] val | RequestError val)] tag
eq¶
Parameters¶
- that: GetRepositoryIssues val
Returns¶
- Bool val
ne¶
Parameters¶
- that: GetRepositoryIssues val
Returns¶
- Bool val