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 Details

    • getMessageId

      public String getMessageId()
      Get the messageId property: The ID of the message created by this run step.
      Returns:
      the messageId value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.