org.gitlab4j.api.models.MergeRequestDiff 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.Date;
import java.util.List;
import org.gitlab4j.api.utils.JacksonJson;
public class MergeRequestDiff {
private Long id;
private String headCommitSha;
private String baseCommitSha;
private String startCommitSha;
private Date createdAt;
private Long mergeRequestId;
private String state;
private String realSize;
private List commits;
private List diffs;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getHeadCommitSha() {
return headCommitSha;
}
public void setHeadCommitSha(String headCommitSha) {
this.headCommitSha = headCommitSha;
}
public String getBaseCommitSha() {
return baseCommitSha;
}
public void setBaseCommitSha(String baseCommitSha) {
this.baseCommitSha = baseCommitSha;
}
public String getStartCommitSha() {
return startCommitSha;
}
public void setStartCommitSha(String startCommitSha) {
this.startCommitSha = startCommitSha;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public Long getMergeRequestId() {
return mergeRequestId;
}
public void setMergeRequestId(Long mergeRequestId) {
this.mergeRequestId = mergeRequestId;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getRealSize() {
return realSize;
}
public void setRealSize(String realSize) {
this.realSize = realSize;
}
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;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}