org.gitlab.api.models.GitlabCommitDiff 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
package org.gitlab.api.models;
import com.fasterxml.jackson.annotation.JsonProperty;
public class GitlabCommitDiff {
public final static String URL = "/diff";
@JsonProperty("diff")
private String diff;
@JsonProperty("new_path")
private String newPath;
@JsonProperty("old_path")
private String oldPath;
@JsonProperty("a_mode")
private String aMode;
@JsonProperty("b_mode")
private String bMode;
@JsonProperty("new_file")
private boolean newFile;
@JsonProperty("renamed_file")
private boolean renamedFile;
@JsonProperty("deleted_file")
private boolean deletedFile;
public String getDiff() {
return diff;
}
public void setDiff(String diff) {
this.diff = diff;
}
public String getNewPath() {
return newPath;
}
public void setNewPath(String newPath) {
this.newPath = newPath;
}
public String getOldPath() {
return oldPath;
}
public void setOldPath(String oldPath) {
this.oldPath = oldPath;
}
public String getAMode() {
return aMode;
}
public void setAMode(String aMode) {
this.aMode = aMode;
}
public String getBMode() {
return bMode;
}
public void setBMode(String bMode) {
this.bMode = bMode;
}
public boolean getNewFile() {
return newFile;
}
public void setNewFile(boolean newFile) {
this.newFile = newFile;
}
public boolean getRenamedFile() {
return renamedFile;
}
public void setRenamedFile(boolean renamedFile) {
this.renamedFile = renamedFile;
}
public boolean getDeletedFile() {
return deletedFile;
}
public void setDeletedFile(boolean deletedFile) {
this.deletedFile = deletedFile;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy