Add mapping for from/to fields in issue rename event

This commit is contained in:
t0m4uk1991
2021-06-05 11:37:41 +03:00
parent 3ced4fc9c8
commit 2c06ed07a8
23 changed files with 1338 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
package org.kohsuke.github;
/**
* The type GHIssueRename.
*
* @see <a href="https://docs.github.com/en/developers/webhooks-and-events/events/issue-event-types#renamed">Github
* documentation for renamed event</a>
*
* @author Andrii Tomchuk
*/
public class GHIssueRename {
private String from = "";
private String to = "";
/**
* Old issue name.
*
* @return old issue name
*/
public String getFrom() {
return this.from;
}
/**
* New issue name.
*
* @return new issue name
*/
public String getTo() {
return this.to;
}
}