class

OpenAI::Screenshot

Inherits JSON::Serializable < Reference < Object

A screenshot action.

Constructors

new(type_value : ScreenshotType = ScreenshotType::Screenshot)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

type_value

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

Source
type_value=(type_value : ScreenshotType)

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

Source