org.gitlab.api.models.GitlabMergeRequestApprovals 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 java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
import com.fasterxml.jackson.annotation.JsonProperty;
public class GitlabMergeRequestApprovals {
public static final String URL = "/approvals";
public static final String APPROVERS_URL = "/approvers";
private Integer id;
private Integer iid;
@JsonProperty("project_id")
private Integer projectId;
private String title;
private String description;
private String state;
@JsonProperty("updated_at")
private Date updatedAt;
@JsonProperty("created_at")
private Date createdAt;
@JsonProperty("merge_status")
private String mergeStatus;
@JsonProperty("approvals_required")
private Integer approvalsRequired;
@JsonProperty("approvals_left")
private Integer approvalsLeft;
@JsonProperty("approved_by")
private List approvedBy;
@JsonProperty("suggested_approvers")
private List suggestedApprovers;
private List approvers;
@JsonProperty("approver_groups")
private List approverGroups;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getIid() {
return iid;
}
public void setIid(Integer iid) {
this.iid = iid;
}
public Integer getProjectId() {
return projectId;
}
public void setProjectId(Integer projectId) {
this.projectId = projectId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescription() {
return description;
}
public void setDescription(String d) {
description = d;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public Date getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(Date updatedAt) {
this.updatedAt = updatedAt;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public String getMergeStatus() {
return mergeStatus;
}
public void setMergeStatus(String mergeStatus) {
this.mergeStatus = mergeStatus;
}
public Integer getApprovalsRequired() {
return approvalsRequired;
}
public void setApprovalsRequired(Integer approvalsRequired) {
this.approvalsRequired = approvalsRequired;
}
public Integer getApprovalsLeft() {
return approvalsLeft;
}
public void setApprovalsLeft(Integer approvalsLeft) {
this.approvalsLeft = approvalsLeft;
}
public List getApprovedBy() {
return approvedBy;
}
public void setApprovedBy(List approvedBy) {
this.approvedBy = approvedBy;
}
public List getSuggestedApprovers() {
return suggestedApprovers;
}
public void setSuggestedApprovers(List suggestedApprovers) {
this.suggestedApprovers = suggestedApprovers;
}
public List getApprovers() {
return approvers;
}
public void setApprovers(List approvers) {
this.approvers = approvers;
}
public List getApproverGroups() {
return approverGroups;
}
public void setApproverGroups(List approverGroups) {
this.approverGroups = approverGroups;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy