Class RunStepStatus

java.lang.Object
com.azure.core.util.ExpandableStringEnum<RunStepStatus>
com.azure.ai.openai.assistants.models.RunStepStatus
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class RunStepStatus extends com.azure.core.util.ExpandableStringEnum<RunStepStatus>
Possible values for the status of a run step.
  • Field Details

    • IN_PROGRESS

      public static final RunStepStatus IN_PROGRESS
      Represents a run step still in progress.
    • CANCELLED

      public static final RunStepStatus CANCELLED
      Represents a run step that was cancelled.
    • FAILED

      public static final RunStepStatus FAILED
      Represents a run step that failed.
    • COMPLETED

      public static final RunStepStatus COMPLETED
      Represents a run step that successfully completed.
    • EXPIRED

      public static final RunStepStatus EXPIRED
      Represents a run step that expired before otherwise finishing.
  • Constructor Details

    • RunStepStatus

      @Deprecated public RunStepStatus()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of RunStepStatus value.
  • Method Details

    • fromString

      public static RunStepStatus fromString(String name)
      Creates or finds a RunStepStatus from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding RunStepStatus.
    • values

      public static Collection<RunStepStatus> values()
      Gets known RunStepStatus values.
      Returns:
      known RunStepStatus values.