org.gitlab.api.models.GitlabCommitComparison Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-gitlab-api Show documentation
Show all versions of java-gitlab-api Show documentation
A Java wrapper for the Gitlab Git Hosting Server API
The newest version!
package org.gitlab.api.models;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class GitlabCommitComparison {
public final static String URL = "/repository/compare";
@JsonProperty("commit")
private GitlabCommit commit;
@JsonProperty("commits")
private List commits;
@JsonProperty("diffs")
private List diffs;
@JsonProperty("compare_same_ref")
private Boolean compareSameRef;
@JsonProperty("compare_timeout")
private Boolean compareTimeout;
public GitlabCommit getCommit() {
return commit;
}
public void setCommit(GitlabCommit 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 getCompareSameRef() {
return compareSameRef;
}
public void setCompareSameRef(Boolean compareSameRef) {
this.compareSameRef = compareSameRef;
}
public Boolean getCompareTimeout() {
return compareTimeout;
}
public void setCompareTimeout(Boolean compareTimeout) {
this.compareTimeout = compareTimeout;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy