Class RunStepDetails

java.lang.Object
com.azure.ai.openai.assistants.models.RunStepDetails
All Implemented Interfaces:
com.azure.json.JsonSerializable<RunStepDetails>
Direct Known Subclasses:
RunStepMessageCreationDetails, RunStepToolCallDetails

public class RunStepDetails extends Object implements com.azure.json.JsonSerializable<RunStepDetails>
An abstract representation of the details for a run step.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates an instance of RunStepDetails class.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of RunStepDetails from the JsonReader.
    Get the type property: The object type.
    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
  • Constructor Details

    • RunStepDetails

      protected RunStepDetails()
      Creates an instance of RunStepDetails class.
  • Method Details

    • getType

      public RunStepType getType()
      Get the type property: The object type.
      Returns:
      the type value.
    • toJson

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

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