Enum Class LogLevel
- All Implemented Interfaces:
ODataLiteral, Serializable, Comparable<LogLevel>, Constable
@Generated("io.skipcheck.tm1.codegen")
@Since("10.2.2.1")
public enum LogLevel
extends Enum<LogLevel>
implements ODataLiteral
The
LogLevel enum type of the TM1 REST API.
Generated from $metadata; the fallback constant stands for a value this client doesn't know, such as one a newer server added. It's never sent.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LogLevelThe constant for a value TM1 sent.@Nullable Stringjson()The value as TM1 writes it.The value as an OData literal, for filters:ibm.tm1.api.v1.LogLevel'Fatal'.static LogLevelReturns the enum constant of this class with the specified name.static LogLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FATAL
Fatal. -
ERROR
Error. -
WARNING
Warning. -
INFO
Info. -
DEBUG
Debug. -
UNKNOWN
Unknown. -
OFF
Off. -
UNRECOGNIZED
A value this client doesn't know.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
json
The value as TM1 writes it.- Returns:
- the value, or
nullfor the fallback constant
-
odataLiteral
The value as an OData literal, for filters:ibm.tm1.api.v1.LogLevel'Fatal'.- Specified by:
odataLiteralin interfaceODataLiteral- Returns:
- the literal
- Throws:
IllegalStateException- forUNRECOGNIZED, which has none
-
fromJson
-