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>
Possible values for the status of a run step.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RunStepStatus
Represents a run step that was cancelled.static final RunStepStatus
Represents a run step that successfully completed.static final RunStepStatus
Represents a run step that expired before otherwise finishing.static final RunStepStatus
Represents a run step that failed.static final RunStepStatus
Represents a run step still in progress. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RunStepStatus
fromString
(String name) Creates or finds a RunStepStatus from its string representation.static Collection
<RunStepStatus> values()
Gets known RunStepStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
IN_PROGRESS
Represents a run step still in progress. -
CANCELLED
Represents a run step that was cancelled. -
FAILED
Represents a run step that failed. -
COMPLETED
Represents a run step that successfully completed. -
EXPIRED
Represents a run step that expired before otherwise finishing.
-
-
Constructor Details
-
RunStepStatus
Deprecated.Use thefromString(String)
factory method.Creates a new instance of RunStepStatus value.
-
-
Method Details
-
fromString
Creates or finds a RunStepStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding RunStepStatus.
-
values
Gets known RunStepStatus values.- Returns:
- known RunStepStatus values.
-
fromString(String)
factory method.