Enum Class ProcessDebugContextObjectLockScope
java.lang.Object
java.lang.Enum<ProcessDebugContextObjectLockScope>
io.skipcheck.tm1.client.model.ProcessDebugContextObjectLockScope
- All Implemented Interfaces:
ODataLiteral, Serializable, Comparable<ProcessDebugContextObjectLockScope>, Constable
@Generated("io.skipcheck.tm1.codegen")
@Since("11.0.0")
public enum ProcessDebugContextObjectLockScope
extends Enum<ProcessDebugContextObjectLockScope>
implements ODataLiteral
The
ProcessDebugContextObjectLockScope 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 TypeMethodDescriptionThe 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.ProcessDebugContextObjectLockScope'Sandbox'.Returns the enum constant of this class with the specified name.static ProcessDebugContextObjectLockScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SANDBOX
Sandbox. -
SHARED
Shared. -
TEMPORARY
A temporary lock scope that indicates a thread private object is not visible to other threads and will not cause contention with other threads. -
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.ProcessDebugContextObjectLockScope'Sandbox'.- 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
-