func (o *CreateUserParams) WithBody(body *models.UserExternalWithPass) *CreateUserParams {
	o.SetBody(body)
	return o
}
WithBody adds the body to the create user params
package user
import (
	"context"
	"net/http"
	"time"
	"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/gotify/go-api-client/v2/models"
)
func NewCreateUserParams() *CreateUserParams {
	var ()
	return &CreateUserParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams {
	var ()
	return &CreateUserParams{
		timeout: timeout,
	}
}
func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams {
	var ()
	return &CreateUserParams{
		Context: ctx,
	}
}
func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams {
	var ()
	return &CreateUserParams{
		HTTPClient: client,
	}
}
type CreateUserParams struct {
	Body *models.UserExternalWithPass
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams {
	o.SetTimeout(timeout)
	return o
}
func (o *CreateUserParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams {
	o.SetContext(ctx)
	return o
}
func (o *CreateUserParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams {
	o.SetHTTPClient(client)
	return o
}
func (o *CreateUserParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}