org.gitlab4j.api.webhook.ChangeContainer 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 org.gitlab4j.api.utils.JacksonJson;
public class ChangeContainer {
private T previous;
private T current;
public T getPrevious() {
return previous;
}
public void setPrevious(T previous) {
this.previous = previous;
}
public T getCurrent() {
return current;
}
public void setCurrent(T current) {
this.current = current;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}