mirror of
https://github.com/jlengrand/github-api.git
synced 2026-04-18 15:51:27 +00:00
Need to be able to tell if this is a creation / deletion of a ref for multibranch projects
This commit is contained in:
@@ -509,6 +509,18 @@ public abstract class GHEventPayload {
|
||||
return size;
|
||||
}
|
||||
|
||||
public boolean isCreated() {
|
||||
return created;
|
||||
}
|
||||
|
||||
public boolean isDeleted() {
|
||||
return deleted;
|
||||
}
|
||||
|
||||
public boolean isForced() {
|
||||
return forced;
|
||||
}
|
||||
|
||||
/**
|
||||
* The list of pushed commits.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user