func (o *PatchRelationTuplesParams) WithHTTPClient(client *http.Client) *PatchRelationTuplesParams {
	o.SetHTTPClient(client)
	return o
}
WithHTTPClient adds the HTTPClient to the patch relation tuples params
package write
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/strfmt"
	"github.com/ory/keto/internal/httpclient/models"
)
func NewPatchRelationTuplesParams() *PatchRelationTuplesParams {
	return &PatchRelationTuplesParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewPatchRelationTuplesParamsWithTimeout(timeout time.Duration) *PatchRelationTuplesParams {
	return &PatchRelationTuplesParams{
		timeout: timeout,
	}
}
func NewPatchRelationTuplesParamsWithContext(ctx context.Context) *PatchRelationTuplesParams {
	return &PatchRelationTuplesParams{
		Context: ctx,
	}
}
func NewPatchRelationTuplesParamsWithHTTPClient(client *http.Client) *PatchRelationTuplesParams {
	return &PatchRelationTuplesParams{
		HTTPClient: client,
	}
}
type PatchRelationTuplesParams struct {
	Payload []*models.PatchDelta
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *PatchRelationTuplesParams) WithDefaults() *PatchRelationTuplesParams {
	o.SetDefaults()
	return o
}
func (o *PatchRelationTuplesParams) SetDefaults() {
}
func (o *PatchRelationTuplesParams) WithTimeout(timeout time.Duration) *PatchRelationTuplesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *PatchRelationTuplesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *PatchRelationTuplesParams) WithContext(ctx context.Context) *PatchRelationTuplesParams {
	o.SetContext(ctx)
	return o
}
func (o *PatchRelationTuplesParams) SetContext(ctx context.Context) {
	o.Context = ctx
}