func (o *UpdateCurrentUserParams) WithTimeout(timeout time.Duration) *UpdateCurrentUserParams {
	o.SetTimeout(timeout)
	return o
}
WithTimeout adds the timeout to the update current 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 NewUpdateCurrentUserParams() *UpdateCurrentUserParams {
	var ()
	return &UpdateCurrentUserParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewUpdateCurrentUserParamsWithTimeout(timeout time.Duration) *UpdateCurrentUserParams {
	var ()
	return &UpdateCurrentUserParams{
		timeout: timeout,
	}
}
func NewUpdateCurrentUserParamsWithContext(ctx context.Context) *UpdateCurrentUserParams {
	var ()
	return &UpdateCurrentUserParams{
		Context: ctx,
	}
}
func NewUpdateCurrentUserParamsWithHTTPClient(client *http.Client) *UpdateCurrentUserParams {
	var ()
	return &UpdateCurrentUserParams{
		HTTPClient: client,
	}
}
type UpdateCurrentUserParams struct {
	Body *models.UserExternalPass
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}