public static enum Error.CodeEnum extends Enum<Error.CodeEnum>
Modifier and Type | Class and Description |
---|---|
static class |
Error.CodeEnum.Adapter |
Enum Constant and Description |
---|
CONFLICT |
EMPTY_VALUE |
FORBIDDEN |
INTERNAL_ERROR |
INVALID |
METHOD_NOT_ALLOWED |
NOT_FOUND |
TOO_MANY_REQUESTS |
UNAUTHORIZED |
UNAVAILABLE |
UNPROCESSABLE_ENTITY |
Modifier and Type | Method and Description |
---|---|
static Error.CodeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Error.CodeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Error.CodeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error.CodeEnum INTERNAL_ERROR
public static final Error.CodeEnum NOT_FOUND
public static final Error.CodeEnum CONFLICT
public static final Error.CodeEnum INVALID
public static final Error.CodeEnum UNPROCESSABLE_ENTITY
public static final Error.CodeEnum EMPTY_VALUE
public static final Error.CodeEnum UNAVAILABLE
public static final Error.CodeEnum FORBIDDEN
public static final Error.CodeEnum TOO_MANY_REQUESTS
public static final Error.CodeEnum UNAUTHORIZED
public static final Error.CodeEnum METHOD_NOT_ALLOWED
public static Error.CodeEnum[] values()
for (Error.CodeEnum c : Error.CodeEnum.values()) System.out.println(c);
public static Error.CodeEnum 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 getValue()
public String toString()
toString
in class Enum<Error.CodeEnum>
public static Error.CodeEnum fromValue(String text)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.