Class ResponsesInputItemList

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

public final class ResponsesInputItemList extends Object implements com.azure.json.JsonSerializable<ResponsesInputItemList>
The ResponsesInputItemList model.
  • Method Details

    • getObject

      public String getObject()
      Get the object property: The object property.
      Returns:
      the object value.
    • getData

      public List<ResponsesItem> getData()
      Get the data property: The data property.
      Returns:
      the data value.
    • getFirstId

      public String getFirstId()
      Get the firstId property: The first_id property.
      Returns:
      the firstId value.
    • getLastId

      public String getLastId()
      Get the lastId property: The last_id property.
      Returns:
      the lastId value.
    • isHasMore

      public boolean isHasMore()
      Get the hasMore property: The has_more property.
      Returns:
      the hasMore value.
    • toJson

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

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