Class ResponsesComputerCallOutputItem
java.lang.Object
com.azure.ai.openai.responses.models.ResponsesItem
com.azure.ai.openai.responses.models.ResponsesComputerCallOutputItem
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResponsesItem>
The ResponsesComputerCallOutputItem model.
-
Constructor Summary
ConstructorsConstructorDescriptionResponsesComputerCallOutputItem(String callId, List<ResponsesComputerCallItemSafetyCheck> acknowledgedSafetyChecks, ResponsesComputerCallOutputItemOutput output) Creates an instance of ResponsesComputerCallOutputItem class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResponsesComputerCallOutputItem from the JsonReader.Get the acknowledgedSafetyChecks property: The safety checks reported by the API that have been acknowledged by the developer.Get the callId property: The ID of the computer tool call that produced the output.Get the output property: The output property.Get the status property: The status of the message input.getType()Get the type property: The type property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class com.azure.ai.openai.responses.models.ResponsesItem
getIdMethods 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
-
Constructor Details
-
ResponsesComputerCallOutputItem
public ResponsesComputerCallOutputItem(String callId, List<ResponsesComputerCallItemSafetyCheck> acknowledgedSafetyChecks, ResponsesComputerCallOutputItemOutput output) Creates an instance of ResponsesComputerCallOutputItem class.- Parameters:
callId- the callId value to set.acknowledgedSafetyChecks- the acknowledgedSafetyChecks value to set.output- the output value to set.
-
-
Method Details
-
getType
Get the type property: The type property.- Overrides:
getTypein classResponsesItem- Returns:
- the type value.
-
getCallId
Get the callId property: The ID of the computer tool call that produced the output.- Returns:
- the callId value.
-
getAcknowledgedSafetyChecks
Get the acknowledgedSafetyChecks property: The safety checks reported by the API that have been acknowledged by the developer.- Returns:
- the acknowledgedSafetyChecks value.
-
getOutput
Get the output property: The output property.- Returns:
- the output value.
-
getStatus
Get the status property: The status of the message input. One of `in_progress`, `completed`, or `incomplete`. Populated when input items are returned via API.- Returns:
- the status value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResponsesItem>- Overrides:
toJsonin classResponsesItem- Throws:
IOException
-
fromJson
public static ResponsesComputerCallOutputItem fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ResponsesComputerCallOutputItem from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResponsesComputerCallOutputItem 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 ResponsesComputerCallOutputItem.
-