org.gitlab4j.api.models.ProtectedTag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gitlab4j-api Show documentation
Show all versions of gitlab4j-api Show documentation
GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.
package org.gitlab4j.api.models;
import java.util.List;
import org.gitlab4j.api.utils.JacksonJson;
public class ProtectedTag {
public static class CreateAccessLevel {
private AccessLevel access_level;
private String accessLevelDescription;
public AccessLevel getAccess_level() {
return access_level;
}
public void setAccess_level(AccessLevel access_level) {
this.access_level = access_level;
}
public String getAccessLevelDescription() {
return accessLevelDescription;
}
public void setAccessLevelDescription(String accessLevelDescription) {
this.accessLevelDescription = accessLevelDescription;
}
}
private String name;
private List createAccessLevels;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public List getCreateAccessLevels() {
return createAccessLevels;
}
public void setCreateAccessLevels(List createAccessLevels) {
this.createAccessLevels = createAccessLevels;
}
@Override
public String toString() {
return (JacksonJson.toJsonString(this));
}
}