func (a *DispatchTouchEventArgs) SetTimestamp(timestamp TimeSinceEpoch) *DispatchTouchEventArgs {
	a.Timestamp = timestamp
	return a
}
SetTimestamp sets the Timestamp optional argument. Time at which
the event occurred.
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
}