func (o *RestoreNodesParams) WithTimeout(timeout time.Duration) *RestoreNodesParams {
	o.SetTimeout(timeout)
	return o
}
WithTimeout adds the timeout to the restore nodes params
package tree_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 NewRestoreNodesParams() *RestoreNodesParams {
	var ()
	return &RestoreNodesParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewRestoreNodesParamsWithTimeout(timeout time.Duration) *RestoreNodesParams {
	var ()
	return &RestoreNodesParams{
		timeout: timeout,
	}
}
func NewRestoreNodesParamsWithContext(ctx context.Context) *RestoreNodesParams {
	var ()
	return &RestoreNodesParams{
		Context: ctx,
	}
}
func NewRestoreNodesParamsWithHTTPClient(client *http.Client) *RestoreNodesParams {
	var ()
	return &RestoreNodesParams{
		HTTPClient: client,
	}
}
type RestoreNodesParams struct {
	Body *models.RestRestoreNodesRequest
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}