Class ResponsesComputerCallOutputItemScreenshot
java.lang.Object
com.azure.ai.openai.responses.models.ResponsesComputerCallOutputItemOutput
com.azure.ai.openai.responses.models.ResponsesComputerCallOutputItemScreenshot
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResponsesComputerCallOutputItemOutput>
public final class ResponsesComputerCallOutputItemScreenshot
extends ResponsesComputerCallOutputItemOutput
The ResponsesComputerCallOutputItemScreenshot model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResponsesComputerCallOutputItemScreenshot class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResponsesComputerCallOutputItemScreenshot from the JsonReader.Get the fileId property: The file_id property.Get the imageUrl property: The image_url property.getType()Get the type property: The type property.Set the fileId property: The file_id property.setImageUrl(String imageUrl) Set the imageUrl property: The image_url 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
-
Constructor Details
-
ResponsesComputerCallOutputItemScreenshot
public ResponsesComputerCallOutputItemScreenshot()Creates an instance of ResponsesComputerCallOutputItemScreenshot class.
-
-
Method Details
-
getType
Get the type property: The type property.- Overrides:
getTypein classResponsesComputerCallOutputItemOutput- Returns:
- the type value.
-
getImageUrl
Get the imageUrl property: The image_url property.- Returns:
- the imageUrl value.
-
setImageUrl
Set the imageUrl property: The image_url property.- Parameters:
imageUrl- the imageUrl value to set.- Returns:
- the ResponsesComputerCallOutputItemScreenshot object itself.
-
getFileId
Get the fileId property: The file_id property.- Returns:
- the fileId value.
-
setFileId
Set the fileId property: The file_id property.- Parameters:
fileId- the fileId value to set.- Returns:
- the ResponsesComputerCallOutputItemScreenshot object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResponsesComputerCallOutputItemOutput>- Overrides:
toJsonin classResponsesComputerCallOutputItemOutput- Throws:
IOException
-
fromJson
public static ResponsesComputerCallOutputItemScreenshot fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ResponsesComputerCallOutputItemScreenshot from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ResponsesComputerCallOutputItemScreenshot 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 ResponsesComputerCallOutputItemScreenshot.
-