OpenAI::Screenshot
Inherits JSON::Serializable < Reference < Object
A screenshot action.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ScreenshotType = ScreenshotType::Screenshot)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
type_value
Specifies the event type. For a screenshot action, this property is
always set to screenshot.
type_value=(type_value : ScreenshotType)
Specifies the event type. For a screenshot action, this property is
always set to screenshot.