func (o *UpdateClientParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context to the update client params
package client
import (
	"context"
	"net/http"
	"time"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	"github.com/go-openapi/swag"
	strfmt "github.com/go-openapi/strfmt"
	models "github.com/gotify/go-api-client/v2/models"
)
func NewUpdateClientParams() *UpdateClientParams {
	var ()
	return &UpdateClientParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewUpdateClientParamsWithTimeout(timeout time.Duration) *UpdateClientParams {
	var ()
	return &UpdateClientParams{
		timeout: timeout,
	}
}
func NewUpdateClientParamsWithContext(ctx context.Context) *UpdateClientParams {
	var ()
	return &UpdateClientParams{
		Context: ctx,
	}
}
func NewUpdateClientParamsWithHTTPClient(client *http.Client) *UpdateClientParams {
	var ()
	return &UpdateClientParams{
		HTTPClient: client,
	}
}
type UpdateClientParams struct {
	Body *models.Client
	ID int64
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *UpdateClientParams) WithTimeout(timeout time.Duration) *UpdateClientParams {
	o.SetTimeout(timeout)
	return o
}
func (o *UpdateClientParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *UpdateClientParams) WithContext(ctx context.Context) *UpdateClientParams {
	o.SetContext(ctx)
	return o
}