Enum Class Run.Status

java.lang.Object
java.lang.Enum<Run.Status>
xyz.felh.openai.thread.run.Run.Status
All Implemented Interfaces:
Serializable, Comparable<Run.Status>, Constable
Enclosing class:
Run

public static enum Run.Status extends Enum<Run.Status>
  • Enum Constant Details

    • QUEUED

      public static final Run.Status QUEUED
    • IN_PROGRESS

      public static final Run.Status IN_PROGRESS
    • REQUIRES_ACTION

      public static final Run.Status REQUIRES_ACTION
    • CANCELLING

      public static final Run.Status CANCELLING
    • CANCELLED

      public static final Run.Status CANCELLED
    • FAILED

      public static final Run.Status FAILED
    • COMPLETED

      public static final Run.Status COMPLETED
    • EXPIRED

      public static final Run.Status EXPIRED
  • Method Details

    • values

      public static Run.Status[] 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 Run.Status 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
    • value

      public String value()
    • findByValue

      public static Run.Status findByValue(String value)