OpenAI::Drag
Inherits JSON::Serializable < Reference < Object
A drag action.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
path
An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg ''' [ { x: 100, y: 200 }, { x: 200, y: 300 } ] '''
An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg ''' [ { x: 100, y: 200 }, { x: 200, y: 300 } ] '''
type_value=(type_value : DragType)
Specifies the event type. For a drag action, this property is
always set to drag.