Enum Class CellStatus
- All Implemented Interfaces:
ODataLiteral, Serializable, Comparable<CellStatus>, Constable
@Generated("io.skipcheck.tm1.codegen")
public enum CellStatus
extends Enum<CellStatus>
implements ODataLiteral
The
CellStatus 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 CellStatusThe 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.CellStatus'Null'.static CellStatusReturns the enum constant of this class with the specified name.static CellStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NULL
Null. -
DATA
Data. -
ERROR
Error. -
UNKNOWN
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.CellStatus'Null'.- Specified by:
odataLiteralin interfaceODataLiteral- Returns:
- the literal
- Throws:
IllegalStateException- forUNKNOWN, which has none
-
fromJson
The constant for a value TM1 sent.- Parameters:
value- the value- Returns:
- its constant, or
UNKNOWNif this client doesn't know it
-