func (o *PatchResourcesIDParams) WithXCallbackURL(xCallbackURL string) *PatchResourcesIDParams {
	o.SetXCallbackURL(xCallbackURL)
	return o
}
WithXCallbackURL adds the xCallbackURL to the patch resources ID params
package resource
import (
	"net/http"
	"time"
	"golang.org/x/net/context"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"
	strfmt "github.com/go-openapi/strfmt"
	"github.com/manifoldco/grafton/generated/provider/models"
)
func NewPatchResourcesIDParams() *PatchResourcesIDParams {
	var ()
	return &PatchResourcesIDParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewPatchResourcesIDParamsWithTimeout(timeout time.Duration) *PatchResourcesIDParams {
	var ()
	return &PatchResourcesIDParams{
		timeout: timeout,
	}
}
func NewPatchResourcesIDParamsWithContext(ctx context.Context) *PatchResourcesIDParams {
	var ()
	return &PatchResourcesIDParams{
		Context: ctx,
	}
}
func NewPatchResourcesIDParamsWithHTTPClient(client *http.Client) *PatchResourcesIDParams {
	var ()
	return &PatchResourcesIDParams{
		HTTPClient: client,
	}
}
type PatchResourcesIDParams struct {
	Date strfmt.DateTime
	XCallbackID string
	XCallbackURL string
	XSignature string
	XSignedHeaders string
	Body *models.ResourcePlanChangeRequest
	ID string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *PatchResourcesIDParams) WithTimeout(timeout time.Duration) *PatchResourcesIDParams {
	o.SetTimeout(timeout)
	return o
}
func (o *PatchResourcesIDParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *PatchResourcesIDParams) WithContext(ctx context.Context) *PatchResourcesIDParams {
	o.SetContext(ctx)
	return o
}
func (o *PatchResourcesIDParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *PatchResourcesIDParams) WithHTTPClient(client *http.Client) *PatchResourcesIDParams {
	o.SetHTTPClient(client)
	return o
}
func (o *PatchResourcesIDParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *PatchResourcesIDParams) WithDate(date strfmt.DateTime) *PatchResourcesIDParams {
	o.SetDate(date)
	return o
}
func (o *PatchResourcesIDParams) SetDate(date strfmt.DateTime) {
	o.Date = date
}
func (o *PatchResourcesIDParams) WithXCallbackID(xCallbackID string) *PatchResourcesIDParams {
	o.SetXCallbackID(xCallbackID)
	return o
}
func (o *PatchResourcesIDParams) SetXCallbackID(xCallbackID string) {
	o.XCallbackID = xCallbackID
}