mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-29 00:11:22 +00:00
21 lines
451 B
Java
21 lines
451 B
Java
package org.kohsuke.github;
|
|
|
|
/**
|
|
* Represents the one page of check-runs result when listing check-runs.
|
|
*/
|
|
class GHCheckRunsPage {
|
|
private int total_count;
|
|
private GHCheckRun[] check_runs;
|
|
|
|
public int getTotalCount() {
|
|
return total_count;
|
|
}
|
|
|
|
GHCheckRun[] getCheckRuns(GHRepository owner) {
|
|
for (GHCheckRun check_run : check_runs) {
|
|
check_run.wrap(owner);
|
|
}
|
|
return check_runs;
|
|
}
|
|
}
|