org.gitlab.api.models.GitlabAbstractMember 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 abstract class GitlabAbstractMember extends GitlabUser {
public static final String URL = "/members";
@JsonProperty("access_level")
private int accessLevel;
public GitlabAccessLevel getAccessLevel() {
return GitlabAccessLevel.fromAccessValue(accessLevel);
}
public void setAccessLevel(GitlabAccessLevel accessLevel) {
this.accessLevel = accessLevel.accessValue;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy