org.gitlab.api.models.GitlabGroup 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 com.fasterxml.jackson.annotation.JsonProperty;
public class GitlabGroup {
public static final String URL = "/groups";
private Integer id;
private String name;
private String path;
@JsonProperty("ldap_cn")
private String ldapCn;
@JsonProperty("ldap_access")
private Integer ldapAccess;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getLdapCn() {
return ldapCn;
}
public void setLdapCn(String ldapCn) {
this.ldapCn = ldapCn;
}
public GitlabAccessLevel getLdapAccess() {
return GitlabAccessLevel.fromAccessValue(ldapAccess);
}
public void setLdapAccess(GitlabAccessLevel ldapGitlabAccessLevel) {
this.ldapAccess = ldapGitlabAccessLevel.accessValue;
}
}