OpenAI::ComputerScreenshotContent
Inherits JSON::Serializable < Reference < Object
A screenshot of a computer.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ComputerScreenshotContentType = ComputerScreenshotContentType::ComputerScreenshot, image_url : ComputerScreenshotContentImageUrl = nil, file_id : ComputerScreenshotContentFileId = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
file_id
Sourcefile_id=(file_id : ComputerScreenshotContentFileId)
Sourceimage_url
Sourceimage_url=(image_url : ComputerScreenshotContentImageUrl)
Sourcetype_value
Specifies the event type. For a computer screenshot, this property is always set to computer_screenshot.
type_value=(type_value : ComputerScreenshotContentType)
Specifies the event type. For a computer screenshot, this property is always set to computer_screenshot.