Class MessageStatus
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MessageStatus>
com.azure.ai.openai.assistants.models.MessageStatus
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The possible execution status values for a thread message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MessageStatus
This message was successfully completed by a run.static final MessageStatus
A run is currently creating this message.static final MessageStatus
This message is incomplete. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageStatus
fromString
(String name) Creates or finds a MessageStatus from its string representation.static Collection
<MessageStatus> values()
Gets known MessageStatus values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
IN_PROGRESS
A run is currently creating this message. -
INCOMPLETE
This message is incomplete. See incomplete_details for more information. -
COMPLETED
This message was successfully completed by a run.
-
-
Constructor Details
-
MessageStatus
Deprecated.Use thefromString(String)
factory method.Creates a new instance of MessageStatus value.
-
-
Method Details
-
fromString
Creates or finds a MessageStatus from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding MessageStatus.
-
values
Gets known MessageStatus values.- Returns:
- known MessageStatus values.
-
fromString(String)
factory method.