All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gitlab.api.models.GitlabCommitComparison Maven / Gradle / Ivy

There is a newer version: 4.1.1
Show newest version
package org.gitlab.api.models;


import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class GitlabCommitComparison {
    public final static String URL = "/repository/compare";
    @JsonProperty("commit")
    private GitlabCommit commit;
    @JsonProperty("commits")
    private List commits;
    @JsonProperty("diffs")
    private List diffs;
    @JsonProperty("compare_same_ref")
    private Boolean compareSameRef;
    @JsonProperty("compare_timeout")
    private Boolean compareTimeout;

    public GitlabCommit getCommit() {
        return commit;
    }

    public void setCommit(GitlabCommit commit) {
        this.commit = commit;
    }

    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;
    }

    public Boolean getCompareSameRef() {
        return compareSameRef;
    }

    public void setCompareSameRef(Boolean compareSameRef) {
        this.compareSameRef = compareSameRef;
    }

    public Boolean getCompareTimeout() {
        return compareTimeout;
    }

    public void setCompareTimeout(Boolean compareTimeout) {
        this.compareTimeout = compareTimeout;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy