Enum Class ProcessDebugContextStatus

java.lang.Object
java.lang.Enum<ProcessDebugContextStatus>
io.skipcheck.tm1.client.model.ProcessDebugContextStatus
All Implemented Interfaces:
ODataLiteral, Serializable, Comparable<ProcessDebugContextStatus>, Constable

@Generated("io.skipcheck.tm1.codegen") @Since("11.0.0") public enum ProcessDebugContextStatus extends Enum<ProcessDebugContextStatus> implements ODataLiteral
The ProcessDebugContextStatus 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.

  • Enum Constant Details

  • Method Details

    • values

      public static ProcessDebugContextStatus[] 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

      public static ProcessDebugContextStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • json

      public @Nullable String json()
      The value as TM1 writes it.
      Returns:
      the value, or null for the fallback constant
    • odataLiteral

      public String odataLiteral()
      The value as an OData literal, for filters: ibm.tm1.api.v1.ProcessDebugContextStatus'Unknown'.
      Specified by:
      odataLiteral in interface ODataLiteral
      Returns:
      the literal
      Throws:
      IllegalStateException - for UNRECOGNIZED, which has none
    • fromJson

      public static ProcessDebugContextStatus fromJson(@Nullable String value)
      The constant for a value TM1 sent.
      Parameters:
      value - the value
      Returns:
      its constant, or UNRECOGNIZED if this client doesn't know it