Class RunStepDelta

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

public final class RunStepDelta extends Object implements com.azure.json.JsonSerializable<RunStepDelta>
Represents the delta payload in a streaming run step delta chunk.
  • Method Details

    • getStepDetails

      public RunStepDeltaDetail getStepDetails()
      Get the stepDetails property: The details of the run step.
      Returns:
      the stepDetails value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<RunStepDelta>
      Throws:
      IOException
    • fromJson

      public static RunStepDelta fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RunStepDelta from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RunStepDelta 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 RunStepDelta.