Class RunStepDeltaCodeInterpreterImageOutputObject

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

public final class RunStepDeltaCodeInterpreterImageOutputObject extends Object implements com.azure.json.JsonSerializable<RunStepDeltaCodeInterpreterImageOutputObject>
Represents the data for a streaming run step's Code Interpreter tool call image output.
  • Method Details

    • getFileId

      public String getFileId()
      Get the fileId property: The file ID for the image.
      Returns:
      the fileId value.
    • toJson

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

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