mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-04 15:50:52 +00:00
add the "target_url" field for "status" events
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user