add the "target_url" field for "status" events

This commit is contained in:
Tadas Giniotis
2020-12-12 23:41:53 +02:00
parent 30c96221bd
commit 55e589b3d9

View File

@@ -1216,6 +1216,7 @@ public class GHEventPayload {
private String description;
private GHCommitState state;
private GHCommit commit;
private String targetUrl;
/**
* Gets the status content.
@@ -1226,6 +1227,15 @@ public class GHEventPayload {
return context;
}
/**
* The optional link added to the status.
*
* @return a url
*/
public String getTargetUrl() {
return targetUrl;
}
/**
* Gets the status description.
*