org.gitlab4j.api.models.CompareResults 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.models;
import java.util.List;
import org.gitlab4j.api.utils.JacksonJson;
public class CompareResults {
private Commit commit;
private List commits;;
private List diffs;
private Boolean compareTimeout;
private Boolean compareSameRef;
public Commit getCommit() {
return commit;
}
public void setCommit(Commit commit) {
this.commit = commit;
}
public List getCommits() {
return commits;
}
public void setCommits(List commits) {
this.commits = commits;
}
public List getDiffs() {
return diffs;
}
public void setDiffs(List diffs) {
this.diffs = diffs;
}
public Boolean getCompareTimeout() {
return compareTimeout;
}
public void setCompareTimeout(Boolean compareTimeout) {
this.compareTimeout = compareTimeout;
}
public Boolean getCompareSameRef() {
return compareSameRef;
}
public void setCompareSameRef(Boolean compareSameRef) {
this.compareSameRef = compareSameRef;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}