org.gitlab4j.api.webhook.EventCommit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gitlab4j-api Show documentation
Show all versions of gitlab4j-api Show documentation
GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.
package org.gitlab4j.api.webhook;
import java.util.Date;
import java.util.List;
import org.gitlab4j.api.models.Author;
import org.gitlab4j.api.utils.JacksonJson;
public class EventCommit {
private String id;
private String message;
private Date timestamp;
private String url;
private Author author;
private List added;
private List modified;
private List removed;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public Date getTimestamp() {
return timestamp;
}
public void setTimestamp(Date timestamp) {
this.timestamp = timestamp;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Author getAuthor() {
return author;
}
public void setAuthor(Author author) {
this.author = author;
}
public List getAdded() {
return added;
}
public void setAdded(List added) {
this.added = added;
}
public List getModified() {
return modified;
}
public void setModified(List modified) {
this.modified = modified;
}
public List getRemoved() {
return removed;
}
public void setRemoved(List removed) {
this.removed = removed;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy