Added the Check Run event

Added the check run event and the objects used there along with a valid test
This commit is contained in:
Alex Taylor
2019-11-27 13:30:45 -05:00
parent b2701f5ba4
commit 8f787e9976
6 changed files with 534 additions and 2 deletions

View File

@@ -0,0 +1,45 @@
package org.kohsuke.github;
import java.net.URL;
public class GHRequestedAction extends GHObject {
private GHRepository owner;
private GitHub root;
private String identifier;
private String label;
private String description;
GHRequestedAction wrap(GHRepository owner) {
this.owner = owner;
wrap(owner.root);
return this;
}
GHRequestedAction wrap(GitHub root) {
this.root = root;
if (owner != null) {
owner.wrap(root);
}
return this;
}
String getIdentifier() {
return identifier;
}
String getLabel() {
return label;
}
String getDescription() {
return description;
}
/**
* @deprecated This object has no HTML URL.
*/
@Override
public URL getHtmlUrl() {
return null;
}
}