// This file is generated by "./lib/proto/generate"

package proto

/*

EventBreakpoints

EventBreakpoints permits setting breakpoints on particular operations and
events in targets that run JavaScript but do not have a DOM.
JavaScript execution will stop on these operations as if there was a regular
breakpoint set.

*/

// EventBreakpointsSetInstrumentationBreakpoint Sets breakpoint on particular native event.
type EventBreakpointsSetInstrumentationBreakpoint struct {
	// EventName Instrumentation name to stop on.
	EventName string `json:"eventName"`
}

// ProtoReq name
func (m EventBreakpointsSetInstrumentationBreakpoint) ProtoReq() string {
	return "EventBreakpoints.setInstrumentationBreakpoint"
}

// Call sends the request
func (m EventBreakpointsSetInstrumentationBreakpoint) Call(c Client) error {
	return call(m.ProtoReq(), m, nil, c)
}

// EventBreakpointsRemoveInstrumentationBreakpoint Removes breakpoint on particular native event.
type EventBreakpointsRemoveInstrumentationBreakpoint struct {
	// EventName Instrumentation name to stop on.
	EventName string `json:"eventName"`
}

// ProtoReq name
func (m EventBreakpointsRemoveInstrumentationBreakpoint) ProtoReq() string {
	return "EventBreakpoints.removeInstrumentationBreakpoint"
}

// Call sends the request
func (m EventBreakpointsRemoveInstrumentationBreakpoint) Call(c Client) error {
	return call(m.ProtoReq(), m, nil, c)
}
