func (a *GetOuterHTMLArgs) SetObjectID(objectID runtime.RemoteObjectID) *GetOuterHTMLArgs {
	a.ObjectID = &objectID
	return a
}
SetObjectID sets the ObjectID optional argument. JavaScript object
id of the node wrapper.
package dom
import (
	"github.com/mafredri/cdp/protocol/internal"
	"github.com/mafredri/cdp/protocol/runtime"
)
type CollectClassNamesFromSubtreeArgs struct {
	NodeID NodeID `json:"nodeId"`  
}
func NewCollectClassNamesFromSubtreeArgs(nodeID NodeID) *CollectClassNamesFromSubtreeArgs {
	args := new(CollectClassNamesFromSubtreeArgs)
	args.NodeID = nodeID
	return args
}
type CollectClassNamesFromSubtreeReply struct {
	ClassNames []string `json:"classNames"`  
}
type CopyToArgs struct {
	NodeID             NodeID  `json:"nodeId"`                        
	TargetNodeID       NodeID  `json:"targetNodeId"`                  
	InsertBeforeNodeID *NodeID `json:"insertBeforeNodeId,omitempty"`  
}
func NewCopyToArgs(nodeID NodeID, targetNodeID NodeID) *CopyToArgs {
	args := new(CopyToArgs)
	args.NodeID = nodeID
	args.TargetNodeID = targetNodeID
	return args
}
func (a *CopyToArgs) SetInsertBeforeNodeID(insertBeforeNodeID NodeID) *CopyToArgs {
	a.InsertBeforeNodeID = &insertBeforeNodeID
	return a
}
type CopyToReply struct {
	NodeID NodeID `json:"nodeId"`  
}
type DescribeNodeArgs struct {
	NodeID        *NodeID                 `json:"nodeId,omitempty"`         
	BackendNodeID *BackendNodeID          `json:"backendNodeId,omitempty"`  
	ObjectID      *runtime.RemoteObjectID `json:"objectId,omitempty"`       
	Depth         *int                    `json:"depth,omitempty"`          
	Pierce        *bool                   `json:"pierce,omitempty"`         
}
func NewDescribeNodeArgs() *DescribeNodeArgs {
	args := new(DescribeNodeArgs)
	return args
}
func (a *DescribeNodeArgs) SetNodeID(nodeID NodeID) *DescribeNodeArgs {
	a.NodeID = &nodeID
	return a
}
func (a *DescribeNodeArgs) SetBackendNodeID(backendNodeID BackendNodeID) *DescribeNodeArgs {
	a.BackendNodeID = &backendNodeID
	return a
}
func (a *DescribeNodeArgs) SetObjectID(objectID runtime.RemoteObjectID) *DescribeNodeArgs {
	a.ObjectID = &objectID
	return a
}
func (a *DescribeNodeArgs) SetDepth(depth int) *DescribeNodeArgs {
	a.Depth = &depth
	return a
}
func (a *DescribeNodeArgs) SetPierce(pierce bool) *DescribeNodeArgs {
	a.Pierce = &pierce
	return a
}
type DescribeNodeReply struct {
	Node Node `json:"node"`  
}
type DiscardSearchResultsArgs struct {
	SearchID string `json:"searchId"`  
}
func NewDiscardSearchResultsArgs(searchID string) *DiscardSearchResultsArgs {
	args := new(DiscardSearchResultsArgs)
	args.SearchID = searchID
	return args
}
type FocusArgs struct {
	NodeID        *NodeID                 `json:"nodeId,omitempty"`         
	BackendNodeID *BackendNodeID          `json:"backendNodeId,omitempty"`  
	ObjectID      *runtime.RemoteObjectID `json:"objectId,omitempty"`       
}
func NewFocusArgs() *FocusArgs {
	args := new(FocusArgs)
	return args
}
func (a *FocusArgs) SetNodeID(nodeID NodeID) *FocusArgs {
	a.NodeID = &nodeID
	return a
}
func (a *FocusArgs) SetBackendNodeID(backendNodeID BackendNodeID) *FocusArgs {
	a.BackendNodeID = &backendNodeID
	return a
}
func (a *FocusArgs) SetObjectID(objectID runtime.RemoteObjectID) *FocusArgs {
	a.ObjectID = &objectID
	return a
}
type GetAttributesArgs struct {
	NodeID NodeID `json:"nodeId"`  
}
func NewGetAttributesArgs(nodeID NodeID) *GetAttributesArgs {
	args := new(GetAttributesArgs)
	args.NodeID = nodeID
	return args
}
type GetAttributesReply struct {
	Attributes []string `json:"attributes"`  
}
type GetBoxModelArgs struct {
	NodeID        *NodeID                 `json:"nodeId,omitempty"`         
	BackendNodeID *BackendNodeID          `json:"backendNodeId,omitempty"`  
	ObjectID      *runtime.RemoteObjectID `json:"objectId,omitempty"`       
}
func NewGetBoxModelArgs() *GetBoxModelArgs {
	args := new(GetBoxModelArgs)
	return args
}
func (a *GetBoxModelArgs) SetNodeID(nodeID NodeID) *GetBoxModelArgs {
	a.NodeID = &nodeID
	return a
}
func (a *GetBoxModelArgs) SetBackendNodeID(backendNodeID BackendNodeID) *GetBoxModelArgs {
	a.BackendNodeID = &backendNodeID
	return a
}
func (a *GetBoxModelArgs) SetObjectID(objectID runtime.RemoteObjectID) *GetBoxModelArgs {
	a.ObjectID = &objectID
	return a
}
type GetBoxModelReply struct {
	Model BoxModel `json:"model"`  
}
type GetContentQuadsArgs struct {
	NodeID        *NodeID                 `json:"nodeId,omitempty"`         
	BackendNodeID *BackendNodeID          `json:"backendNodeId,omitempty"`  
	ObjectID      *runtime.RemoteObjectID `json:"objectId,omitempty"`       
}
func NewGetContentQuadsArgs() *GetContentQuadsArgs {
	args := new(GetContentQuadsArgs)
	return args
}
func (a *GetContentQuadsArgs) SetNodeID(nodeID NodeID) *GetContentQuadsArgs {
	a.NodeID = &nodeID
	return a
}
func (a *GetContentQuadsArgs) SetBackendNodeID(backendNodeID BackendNodeID) *GetContentQuadsArgs {
	a.BackendNodeID = &backendNodeID
	return a
}
func (a *GetContentQuadsArgs) SetObjectID(objectID runtime.RemoteObjectID) *GetContentQuadsArgs {
	a.ObjectID = &objectID
	return a
}
type GetContentQuadsReply struct {
	Quads []Quad `json:"quads"`  
}
type GetDocumentArgs struct {
	Depth  *int  `json:"depth,omitempty"`   
	Pierce *bool `json:"pierce,omitempty"`  
}
func NewGetDocumentArgs() *GetDocumentArgs {
	args := new(GetDocumentArgs)
	return args
}
func (a *GetDocumentArgs) SetDepth(depth int) *GetDocumentArgs {
	a.Depth = &depth
	return a
}
func (a *GetDocumentArgs) SetPierce(pierce bool) *GetDocumentArgs {
	a.Pierce = &pierce
	return a
}
type GetDocumentReply struct {
	Root Node `json:"root"`  
}
type GetFlattenedDocumentArgs struct {
	Depth  *int  `json:"depth,omitempty"`   
	Pierce *bool `json:"pierce,omitempty"`  
}
func NewGetFlattenedDocumentArgs() *GetFlattenedDocumentArgs {
	args := new(GetFlattenedDocumentArgs)
	return args
}
func (a *GetFlattenedDocumentArgs) SetDepth(depth int) *GetFlattenedDocumentArgs {
	a.Depth = &depth
	return a
}
func (a *GetFlattenedDocumentArgs) SetPierce(pierce bool) *GetFlattenedDocumentArgs {
	a.Pierce = &pierce
	return a
}
type GetFlattenedDocumentReply struct {
	Nodes []Node `json:"nodes"`  
}
type GetNodeForLocationArgs struct {
	X                         int   `json:"x"`                                    
	Y                         int   `json:"y"`                                    
	IncludeUserAgentShadowDOM *bool `json:"includeUserAgentShadowDOM,omitempty"`  
}
func NewGetNodeForLocationArgs(x int, y int) *GetNodeForLocationArgs {
	args := new(GetNodeForLocationArgs)
	args.X = x
	args.Y = y
	return args
}
func (a *GetNodeForLocationArgs) SetIncludeUserAgentShadowDOM(includeUserAgentShadowDOM bool) *GetNodeForLocationArgs {
	a.IncludeUserAgentShadowDOM = &includeUserAgentShadowDOM
	return a
}
type GetNodeForLocationReply struct {
	BackendNodeID BackendNodeID `json:"backendNodeId"`     
	NodeID        *NodeID       `json:"nodeId,omitempty"`  
}
type GetOuterHTMLArgs struct {
	NodeID        *NodeID                 `json:"nodeId,omitempty"`         
	BackendNodeID *BackendNodeID          `json:"backendNodeId,omitempty"`  
	ObjectID      *runtime.RemoteObjectID `json:"objectId,omitempty"`       
}
func NewGetOuterHTMLArgs() *GetOuterHTMLArgs {
	args := new(GetOuterHTMLArgs)
	return args
}
func (a *GetOuterHTMLArgs) SetNodeID(nodeID NodeID) *GetOuterHTMLArgs {
	a.NodeID = &nodeID
	return a
}
func (a *GetOuterHTMLArgs) SetBackendNodeID(backendNodeID BackendNodeID) *GetOuterHTMLArgs {
	a.BackendNodeID = &backendNodeID
	return a
}