org.gitlab.api.models.GitlabVisibility 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.JsonValue;
/**
* Enum for the privacy settings supported by GitLab API v4.
*/
public enum GitlabVisibility {
PRIVATE, INTERNAL, PUBLIC;
/**
* Returns lower-case of {@link #name()}. Lower-case is required for requests
* that accept a visiblity parameter.
*/
@Override
@JsonValue
public String toString() {
return name().toLowerCase();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy