Serializable
, Comparable<GitLabApi.ApiVersion>
public static enum GitLabApi.ApiVersion extends Enum<GitLabApi.ApiVersion>
Enum Constant | Description |
---|---|
OAUTH2_CLIENT |
|
V3 |
|
V4 |
Modifier and Type | Method | Description |
---|---|---|
String |
getApiNamespace() |
|
static GitLabApi.ApiVersion |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static GitLabApi.ApiVersion[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitLabApi.ApiVersion V3
public static final GitLabApi.ApiVersion V4
public static final GitLabApi.ApiVersion OAUTH2_CLIENT
public static GitLabApi.ApiVersion[] values()
for (GitLabApi.ApiVersion c : GitLabApi.ApiVersion.values()) System.out.println(c);
public static GitLabApi.ApiVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getApiNamespace()
Copyright © 2018. All rights reserved.