mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-25 00:11:24 +00:00
21 lines
446 B
Java
21 lines
446 B
Java
package org.kohsuke.github;
|
|
|
|
/**
|
|
* Represents the one page of artifacts result when listing artifacts.
|
|
*/
|
|
class GHArtifactsPage {
|
|
private int total_count;
|
|
private GHArtifact[] artifacts;
|
|
|
|
public int getTotalCount() {
|
|
return total_count;
|
|
}
|
|
|
|
GHArtifact[] getArtifacts(GHRepository owner) {
|
|
for (GHArtifact artifact : artifacts) {
|
|
artifact.wrapUp(owner);
|
|
}
|
|
return artifacts;
|
|
}
|
|
}
|