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 Summary
Modifier and TypeMethodDescriptionstatic ResponsesInputItemListfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResponsesInputItemList from the JsonReader.getData()Get the data property: The data property.Get the firstId property: The first_id property.Get the lastId property: The last_id property.Get the object property: The object property.booleanGet the hasMore property: The has_more property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getObject
Get the object property: The object property.- Returns:
- the object value.
-
getData
Get the data property: The data property.- Returns:
- the data value.
-
getFirstId
Get the firstId property: The first_id property.- Returns:
- the firstId value.
-
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
- Specified by:
toJsonin interfacecom.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.
-