Class RunStepMessageCreationReference
java.lang.Object
com.azure.ai.openai.assistants.models.RunStepMessageCreationReference
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RunStepMessageCreationReference>
public final class RunStepMessageCreationReference
extends Object
implements com.azure.json.JsonSerializable<RunStepMessageCreationReference>
The details of a message created as a part of a run step.
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RunStepMessageCreationReference from the JsonReader.Get the messageId property: The ID of the message created by this run step.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getMessageId
Get the messageId property: The ID of the message created by this run step.- Returns:
- the messageId value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<RunStepMessageCreationReference>
- Throws:
IOException
-
fromJson
public static RunStepMessageCreationReference fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RunStepMessageCreationReference from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of RunStepMessageCreationReference if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the RunStepMessageCreationReference.
-