org.gitlab.api.models.GitlabBranch 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 com.fasterxml.jackson.annotation.JsonProperty;
public class GitlabBranch {
public final static String URL = "/repository/branches";
@JsonProperty("name")
private String name;
@JsonProperty("commit")
private GitlabBranchCommit commit;
@JsonProperty("protected")
private boolean branchProtected;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public GitlabBranchCommit getCommit() {
return commit;
}
public void setCommit(GitlabBranchCommit commit) {
this.commit = commit;
}
public boolean isProtected() {
return branchProtected;
}
public void setProtected(boolean isProtected) {
this.branchProtected = isProtected;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy