func (o *NodesParams) WithBody(body *models.TreeSearchRequest) *NodesParams {
	o.SetBody(body)
	return o
}
WithBody adds the body to the nodes params
package search_service
import (
	"net/http"
	"time"
	"golang.org/x/net/context"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	strfmt "github.com/go-openapi/strfmt"
	models "github.com/pydio/cells-sdk-go/models"
)
func NewNodesParams() *NodesParams {
	var ()
	return &NodesParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewNodesParamsWithTimeout(timeout time.Duration) *NodesParams {
	var ()
	return &NodesParams{
		timeout: timeout,
	}
}
func NewNodesParamsWithContext(ctx context.Context) *NodesParams {
	var ()
	return &NodesParams{
		Context: ctx,
	}
}
func NewNodesParamsWithHTTPClient(client *http.Client) *NodesParams {
	var ()
	return &NodesParams{
		HTTPClient: client,
	}
}
type NodesParams struct {
	Body *models.TreeSearchRequest
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *NodesParams) WithTimeout(timeout time.Duration) *NodesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *NodesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *NodesParams) WithContext(ctx context.Context) *NodesParams {
	o.SetContext(ctx)
	return o
}
func (o *NodesParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *NodesParams) WithHTTPClient(client *http.Client) *NodesParams {
	o.SetHTTPClient(client)
	return o
}
func (o *NodesParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}