Class RunStepDeltaMessageCreationObject

java.lang.Object
com.azure.ai.openai.assistants.models.RunStepDeltaMessageCreationObject
All Implemented Interfaces:
com.azure.json.JsonSerializable<RunStepDeltaMessageCreationObject>

public final class RunStepDeltaMessageCreationObject extends Object implements com.azure.json.JsonSerializable<RunStepDeltaMessageCreationObject>
Represents the data within a streaming run step message creation response object.
  • Method Details

    • getMessageId

      public String getMessageId()
      Get the messageId property: The ID of the newly-created message.
      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<RunStepDeltaMessageCreationObject>
      Throws:
      IOException
    • fromJson

      public static RunStepDeltaMessageCreationObject fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RunStepDeltaMessageCreationObject from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RunStepDeltaMessageCreationObject if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the RunStepDeltaMessageCreationObject.