package com.microservices.cms.doc.domain.gitlink;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @author otto
 */
@Data
public class MergeDto {

    private int status;
    private String message;
    @JsonProperty("open_count")
    private int openCount;
    @JsonProperty("close_count")
    private int closeCount;
    @JsonProperty("merged_issues_size")
    private int mergedIssuesSize;
    @JsonProperty("search_count")
    private int searchCount;
    private String limit;
    @JsonProperty("user_admin_or_member")
    private boolean userAdminOrMember;
    @JsonProperty("user_admin_or_developer")
    private boolean userAdminOrDeveloper;
    @JsonProperty("project_name")
    private String projectName;
    @JsonProperty("project_author")
    private String projectAuthor;
    @JsonProperty("project_author_name")
    private String projectAuthorName;
    @JsonProperty("has_created_pull_requests")
    private boolean hasCreatedPullRequests;
    private List<IssueDto> issues;

}
