func (o *PostCheckParams) SetPayload(payload *models.RelationQuery) {
	o.Payload = payload
}
SetPayload adds the payload to the post check params
package read
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 NewPostCheckParams() *PostCheckParams {
	return &PostCheckParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewPostCheckParamsWithTimeout(timeout time.Duration) *PostCheckParams {
	return &PostCheckParams{
		timeout: timeout,
	}
}
func NewPostCheckParamsWithContext(ctx context.Context) *PostCheckParams {
	return &PostCheckParams{
		Context: ctx,
	}
}
func NewPostCheckParamsWithHTTPClient(client *http.Client) *PostCheckParams {
	return &PostCheckParams{
		HTTPClient: client,
	}
}
type PostCheckParams struct {
	Payload *models.RelationQuery
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *PostCheckParams) WithDefaults() *PostCheckParams {
	o.SetDefaults()
	return o
}
func (o *PostCheckParams) SetDefaults() {
}
func (o *PostCheckParams) WithTimeout(timeout time.Duration) *PostCheckParams {
	o.SetTimeout(timeout)
	return o
}
func (o *PostCheckParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *PostCheckParams) WithContext(ctx context.Context) *PostCheckParams {
	o.SetContext(ctx)
	return o
}
func (o *PostCheckParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *PostCheckParams) WithHTTPClient(client *http.Client) *PostCheckParams {
	o.SetHTTPClient(client)
	return o
}
func (o *PostCheckParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *PostCheckParams) WithPayload(payload *models.RelationQuery) *PostCheckParams {
	o.SetPayload(payload)
	return o
}