class

OpenAI::ComputerScreenshotContent

Inherits JSON::Serializable < Reference < Object

A screenshot of a computer.

Constructors

new(type_value : ComputerScreenshotContentType = ComputerScreenshotContentType::ComputerScreenshot, image_url : ComputerScreenshotContentImageUrl = nil, file_id : ComputerScreenshotContentFileId = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

file_id
Source
file_id=(file_id : ComputerScreenshotContentFileId)
Source
image_url
Source
image_url=(image_url : ComputerScreenshotContentImageUrl)
Source
type_value

Specifies the event type. For a computer screenshot, this property is always set to computer_screenshot.

Source
type_value=(type_value : ComputerScreenshotContentType)

Specifies the event type. For a computer screenshot, this property is always set to computer_screenshot.

Source