Class RunStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RunStatus>
com.azure.ai.openai.assistants.models.RunStatus
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Possible values for the status of an assistant thread run.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RunStatus
Represents a run that has been cancelled.static final RunStatus
Represents a run that is in the process of cancellation.static final RunStatus
Represents a run that successfully completed.static final RunStatus
Represents a run that expired before it could otherwise finish.static final RunStatus
Represents a run that failed.static final RunStatus
Represents a run that is in progress.static final RunStatus
Represents a run that is queued to start.static final RunStatus
Represents a run that needs another operation, such as tool output submission, to continue. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RunStatus
fromString
(String name) Creates or finds a RunStatus from its string representation.static Collection
<RunStatus> values()
Gets known RunStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
QUEUED
Represents a run that is queued to start. -
IN_PROGRESS
Represents a run that is in progress. -
REQUIRES_ACTION
Represents a run that needs another operation, such as tool output submission, to continue. -
CANCELLING
Represents a run that is in the process of cancellation. -
CANCELLED
Represents a run that has been cancelled. -
FAILED
Represents a run that failed. -
COMPLETED
Represents a run that successfully completed. -
EXPIRED
Represents a run that expired before it could otherwise finish.
-
-
Constructor Details
-
RunStatus
Deprecated.Use thefromString(String)
factory method.Creates a new instance of RunStatus value.
-
-
Method Details
-
fromString
Creates or finds a RunStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding RunStatus.
-
values
Gets known RunStatus values.- Returns:
- known RunStatus values.
-
fromString(String)
factory method.