func (a *DescribeNodeArgs) SetPierce(pierce bool) *DescribeNodeArgs {
	a.Pierce = &pierce
	return a
}
SetPierce sets the Pierce optional argument. Whether or not iframes
and shadow roots should be traversed when returning the subtree
(default is false).
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
}