org.gitlab.api.models.GitlabProjectAccessLevel 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 GitlabProjectAccessLevel {
@JsonProperty("access_level")
private int accessLevel;
@JsonProperty("notification_level")
private int notificationLevel;
public GitlabAccessLevel getAccessLevel() {
return GitlabAccessLevel.fromAccessValue(accessLevel);
}
public void setAccessLevel(GitlabAccessLevel accessLevel) {
this.accessLevel = accessLevel.accessValue;
}
public int getNoficationLevel() {
return notificationLevel;
}
public void setNoficationLevel(int notificationLevel) {
this.accessLevel = notificationLevel;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy