org.gitlab.api.models.GitlabMergeRequest 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 org.codehaus.jackson.annotate.JsonProperty;
public class GitlabMergeRequest {
public static final String URL = "/merge_requests";
private Integer _id;
private String _title;
private String _state;
private boolean _closed;
private boolean _merged;
private GitlabUser _author;
private GitlabUser _assignee;
@JsonProperty("target_branch")
private String _targetBranch;
@JsonProperty("source_branch")
private String _sourceBranch;
@JsonProperty("project_id")
private Integer _projectId;
public Integer getId() {
return _id;
}
public void setId(Integer id) {
_id = id;
}
public String getTargetBranch() {
return _targetBranch;
}
public void setTargetBranch(String targetBranch) {
_targetBranch = targetBranch;
}
public String getSourceBranch() {
return _sourceBranch;
}
public void setSourceBranch(String sourceBranch) {
_sourceBranch = sourceBranch;
}
public Integer getProjectId() {
return _projectId;
}
public void setProjectId(Integer projectId) {
_projectId = projectId;
}
public String getTitle() {
return _title;
}
public void setTitle(String title) {
_title = title;
}
public boolean isClosed() {
return _closed;
}
public void setClosed(boolean closed) {
_closed = closed;
}
public boolean isMerged() {
return _merged;
}
public void setMerged(boolean merged) {
_merged = merged;
}
public GitlabUser getAuthor() {
return _author;
}
public void setAuthor(GitlabUser author) {
_author = author;
}
public GitlabUser getAssignee() {
return _assignee;
}
public void setAssignee(GitlabUser assignee) {
_assignee = assignee;
}
public String getState() {
return _state;
}
public void setState(String state) {
_state = state;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy