func (a *SynthesizeTapGestureArgs) SetDuration(duration int) *SynthesizeTapGestureArgs {
	a.Duration = &duration
	return a
}
SetDuration sets the Duration optional argument. Duration between
touchdown and touchup events in ms (default: 50).
package input
type DispatchKeyEventArgs struct {
	Type                  string         `json:"type"`
	Modifiers             *int           `json:"modifiers,omitempty"`              
	Timestamp             TimeSinceEpoch `json:"timestamp,omitempty"`              
	Text                  *string        `json:"text,omitempty"`                   
	UnmodifiedText        *string        `json:"unmodifiedText,omitempty"`         
	KeyIdentifier         *string        `json:"keyIdentifier,omitempty"`          
	Code                  *string        `json:"code,omitempty"`                   
	Key                   *string        `json:"key,omitempty"`                    
	WindowsVirtualKeyCode *int           `json:"windowsVirtualKeyCode,omitempty"`  
	NativeVirtualKeyCode  *int           `json:"nativeVirtualKeyCode,omitempty"`   
	AutoRepeat            *bool          `json:"autoRepeat,omitempty"`             
	IsKeypad              *bool          `json:"isKeypad,omitempty"`               
	IsSystemKey           *bool          `json:"isSystemKey,omitempty"`            
	Location              *int           `json:"location,omitempty"`               
}
func NewDispatchKeyEventArgs(typ string) *DispatchKeyEventArgs {
	args := new(DispatchKeyEventArgs)
	args.Type = typ
	return args
}
func (a *DispatchKeyEventArgs) SetModifiers(modifiers int) *DispatchKeyEventArgs {
	a.Modifiers = &modifiers
	return a
}
func (a *DispatchKeyEventArgs) SetTimestamp(timestamp TimeSinceEpoch) *DispatchKeyEventArgs {
	a.Timestamp = timestamp
	return a
}
func (a *DispatchKeyEventArgs) SetText(text string) *DispatchKeyEventArgs {
	a.Text = &text
	return a
}
func (a *DispatchKeyEventArgs) SetUnmodifiedText(unmodifiedText string) *DispatchKeyEventArgs {
	a.UnmodifiedText = &unmodifiedText
	return a
}
func (a *DispatchKeyEventArgs) SetKeyIdentifier(keyIdentifier string) *DispatchKeyEventArgs {
	a.KeyIdentifier = &keyIdentifier
	return a
}
func (a *DispatchKeyEventArgs) SetCode(code string) *DispatchKeyEventArgs {
	a.Code = &code
	return a
}
func (a *DispatchKeyEventArgs) SetKey(key string) *DispatchKeyEventArgs {
	a.Key = &key
	return a
}
func (a *DispatchKeyEventArgs) SetWindowsVirtualKeyCode(windowsVirtualKeyCode int) *DispatchKeyEventArgs {
	a.WindowsVirtualKeyCode = &windowsVirtualKeyCode
	return a
}
func (a *DispatchKeyEventArgs) SetNativeVirtualKeyCode(nativeVirtualKeyCode int) *DispatchKeyEventArgs {
	a.NativeVirtualKeyCode = &nativeVirtualKeyCode
	return a
}
func (a *DispatchKeyEventArgs) SetAutoRepeat(autoRepeat bool) *DispatchKeyEventArgs {
	a.AutoRepeat = &autoRepeat
	return a
}
func (a *DispatchKeyEventArgs) SetIsKeypad(isKeypad bool) *DispatchKeyEventArgs {
	a.IsKeypad = &isKeypad
	return a
}
func (a *DispatchKeyEventArgs) SetIsSystemKey(isSystemKey bool) *DispatchKeyEventArgs {
	a.IsSystemKey = &isSystemKey
	return a
}
func (a *DispatchKeyEventArgs) SetLocation(location int) *DispatchKeyEventArgs {
	a.Location = &location
	return a
}
type InsertTextArgs struct {
	Text string `json:"text"`  
}
func NewInsertTextArgs(text string) *InsertTextArgs {
	args := new(InsertTextArgs)
	args.Text = text
	return args
}
type DispatchMouseEventArgs struct {
	Type      string         `json:"type"`
	X         float64        `json:"x"`                    
	Y         float64        `json:"y"`                    
	Modifiers *int           `json:"modifiers,omitempty"`  
	Timestamp TimeSinceEpoch `json:"timestamp,omitempty"`  
	Button     *string  `json:"button,omitempty"`
	Buttons    *int     `json:"buttons,omitempty"`     
	ClickCount *int     `json:"clickCount,omitempty"`  
	DeltaX     *float64 `json:"deltaX,omitempty"`      
	DeltaY     *float64 `json:"deltaY,omitempty"`      
	PointerType *string `json:"pointerType,omitempty"`
}
func NewDispatchMouseEventArgs(typ string, x float64, y float64) *DispatchMouseEventArgs {
	args := new(DispatchMouseEventArgs)
	args.Type = typ
	args.X = x
	args.Y = y
	return args
}
func (a *DispatchMouseEventArgs) SetModifiers(modifiers int) *DispatchMouseEventArgs {
	a.Modifiers = &modifiers
	return a
}
func (a *DispatchMouseEventArgs) SetTimestamp(timestamp TimeSinceEpoch) *DispatchMouseEventArgs {
	a.Timestamp = timestamp
	return a
}
func (a *DispatchMouseEventArgs) SetButton(button string) *DispatchMouseEventArgs {
	a.Button = &button
	return a
}
func (a *DispatchMouseEventArgs) SetButtons(buttons int) *DispatchMouseEventArgs {
	a.Buttons = &buttons
	return a
}
func (a *DispatchMouseEventArgs) SetClickCount(clickCount int) *DispatchMouseEventArgs {
	a.ClickCount = &clickCount
	return a
}
func (a *DispatchMouseEventArgs) SetDeltaX(deltaX float64) *DispatchMouseEventArgs {
	a.DeltaX = &deltaX
	return a
}
func (a *DispatchMouseEventArgs) SetDeltaY(deltaY float64) *DispatchMouseEventArgs {
	a.DeltaY = &deltaY
	return a
}
func (a *DispatchMouseEventArgs) SetPointerType(pointerType string) *DispatchMouseEventArgs {
	a.PointerType = &pointerType
	return a
}
type DispatchTouchEventArgs struct {
	Type        string         `json:"type"`
	TouchPoints []TouchPoint   `json:"touchPoints"`          
	Modifiers   *int           `json:"modifiers,omitempty"`  
	Timestamp   TimeSinceEpoch `json:"timestamp,omitempty"`  
}
func NewDispatchTouchEventArgs(typ string, touchPoints []TouchPoint) *DispatchTouchEventArgs {
	args := new(DispatchTouchEventArgs)
	args.Type = typ
	args.TouchPoints = touchPoints
	return args
}
func (a *DispatchTouchEventArgs) SetModifiers(modifiers int) *DispatchTouchEventArgs {
	a.Modifiers = &modifiers
	return a
}
func (a *DispatchTouchEventArgs) SetTimestamp(timestamp TimeSinceEpoch) *DispatchTouchEventArgs {
	a.Timestamp = timestamp
	return a
}
type EmulateTouchFromMouseEventArgs struct {
	Type string `json:"type"`
	X    int    `json:"x"`  
	Y    int    `json:"y"`  
	Button     string         `json:"button"`
	Timestamp  TimeSinceEpoch `json:"timestamp,omitempty"`   
	DeltaX     *float64       `json:"deltaX,omitempty"`      
	DeltaY     *float64       `json:"deltaY,omitempty"`      
	Modifiers  *int           `json:"modifiers,omitempty"`   
	ClickCount *int           `json:"clickCount,omitempty"`  
}
func NewEmulateTouchFromMouseEventArgs(typ string, x int, y int, button string) *EmulateTouchFromMouseEventArgs {
	args := new(EmulateTouchFromMouseEventArgs)
	args.Type = typ
	args.X = x
	args.Y = y
	args.Button = button
	return args
}
func (a *EmulateTouchFromMouseEventArgs) SetTimestamp(timestamp TimeSinceEpoch) *EmulateTouchFromMouseEventArgs {
	a.Timestamp = timestamp
	return a
}
func (a *EmulateTouchFromMouseEventArgs) SetDeltaX(deltaX float64) *EmulateTouchFromMouseEventArgs {
	a.DeltaX = &deltaX
	return a
}
func (a *EmulateTouchFromMouseEventArgs) SetDeltaY(deltaY float64) *EmulateTouchFromMouseEventArgs {
	a.DeltaY = &deltaY
	return a
}
func (a *EmulateTouchFromMouseEventArgs) SetModifiers(modifiers int) *EmulateTouchFromMouseEventArgs {
	a.Modifiers = &modifiers
	return a
}
func (a *EmulateTouchFromMouseEventArgs) SetClickCount(clickCount int) *EmulateTouchFromMouseEventArgs {
	a.ClickCount = &clickCount
	return a
}
type SetIgnoreInputEventsArgs struct {
	Ignore bool `json:"ignore"`  
}
func NewSetIgnoreInputEventsArgs(ignore bool) *SetIgnoreInputEventsArgs {
	args := new(SetIgnoreInputEventsArgs)
	args.Ignore = ignore
	return args
}
type SynthesizePinchGestureArgs struct {
	X                 float64           `json:"x"`                            
	Y                 float64           `json:"y"`                            
	ScaleFactor       float64           `json:"scaleFactor"`                  
	RelativeSpeed     *int              `json:"relativeSpeed,omitempty"`      
	GestureSourceType GestureSourceType `json:"gestureSourceType,omitempty"`  
}
func NewSynthesizePinchGestureArgs(x float64, y float64, scaleFactor float64) *SynthesizePinchGestureArgs {
	args := new(SynthesizePinchGestureArgs)
	args.X = x
	args.Y = y
	args.ScaleFactor = scaleFactor
	return args
}
func (a *SynthesizePinchGestureArgs) SetRelativeSpeed(relativeSpeed int) *SynthesizePinchGestureArgs {
	a.RelativeSpeed = &relativeSpeed
	return a
}
func (a *SynthesizePinchGestureArgs) SetGestureSourceType(gestureSourceType GestureSourceType) *SynthesizePinchGestureArgs {
	a.GestureSourceType = gestureSourceType
	return a
}
type SynthesizeScrollGestureArgs struct {
	X                     float64           `json:"x"`                                
	Y                     float64           `json:"y"`                                
	XDistance             *float64          `json:"xDistance,omitempty"`              
	YDistance             *float64          `json:"yDistance,omitempty"`              
	XOverscroll           *float64          `json:"xOverscroll,omitempty"`            
	YOverscroll           *float64          `json:"yOverscroll,omitempty"`            
	PreventFling          *bool             `json:"preventFling,omitempty"`           
	Speed                 *int              `json:"speed,omitempty"`                  
	GestureSourceType     GestureSourceType `json:"gestureSourceType,omitempty"`      
	RepeatCount           *int              `json:"repeatCount,omitempty"`            
	RepeatDelayMs         *int              `json:"repeatDelayMs,omitempty"`          
	InteractionMarkerName *string           `json:"interactionMarkerName,omitempty"`  
}
func NewSynthesizeScrollGestureArgs(x float64, y float64) *SynthesizeScrollGestureArgs {
	args := new(SynthesizeScrollGestureArgs)
	args.X = x
	args.Y = y
	return args
}
func (a *SynthesizeScrollGestureArgs) SetXDistance(xDistance float64) *SynthesizeScrollGestureArgs {
	a.XDistance = &xDistance
	return a
}
func (a *SynthesizeScrollGestureArgs) SetYDistance(yDistance float64) *SynthesizeScrollGestureArgs {
	a.YDistance = &yDistance
	return a
}
func (a *SynthesizeScrollGestureArgs) SetXOverscroll(xOverscroll float64) *SynthesizeScrollGestureArgs {
	a.XOverscroll = &xOverscroll
	return a
}
func (a *SynthesizeScrollGestureArgs) SetYOverscroll(yOverscroll float64) *SynthesizeScrollGestureArgs {
	a.YOverscroll = &yOverscroll
	return a
}
func (a *SynthesizeScrollGestureArgs) SetPreventFling(preventFling bool) *SynthesizeScrollGestureArgs {
	a.PreventFling = &preventFling
	return a
}
func (a *SynthesizeScrollGestureArgs) SetSpeed(speed int) *SynthesizeScrollGestureArgs {
	a.Speed = &speed
	return a
}
func (a *SynthesizeScrollGestureArgs) SetGestureSourceType(gestureSourceType GestureSourceType) *SynthesizeScrollGestureArgs {
	a.GestureSourceType = gestureSourceType
	return a
}
func (a *SynthesizeScrollGestureArgs) SetRepeatCount(repeatCount int) *SynthesizeScrollGestureArgs {
	a.RepeatCount = &repeatCount
	return a
}
func (a *SynthesizeScrollGestureArgs) SetRepeatDelayMs(repeatDelayMs int) *SynthesizeScrollGestureArgs {
	a.RepeatDelayMs = &repeatDelayMs
	return a
}
func (a *SynthesizeScrollGestureArgs) SetInteractionMarkerName(interactionMarkerName string) *SynthesizeScrollGestureArgs {
	a.InteractionMarkerName = &interactionMarkerName
	return a
}
type SynthesizeTapGestureArgs struct {
	X                 float64           `json:"x"`                            
	Y                 float64           `json:"y"`                            
	Duration          *int              `json:"duration,omitempty"`           
	TapCount          *int              `json:"tapCount,omitempty"`           
	GestureSourceType GestureSourceType `json:"gestureSourceType,omitempty"`  
}
func NewSynthesizeTapGestureArgs(x float64, y float64) *SynthesizeTapGestureArgs {
	args := new(SynthesizeTapGestureArgs)
	args.X = x
	args.Y = y
	return args
}