func (o *CreateRuleParams) SetBody(body *models.APIRuleCreateV1) {
	o.Body = body
}
SetBody adds the body to the create rule params
package custom_ioa
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/crowdstrike/gofalcon/falcon/models"
)
func NewCreateRuleParams() *CreateRuleParams {
	return &CreateRuleParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewCreateRuleParamsWithTimeout(timeout time.Duration) *CreateRuleParams {
	return &CreateRuleParams{
		timeout: timeout,
	}
}
func NewCreateRuleParamsWithContext(ctx context.Context) *CreateRuleParams {
	return &CreateRuleParams{
		Context: ctx,
	}
}
func NewCreateRuleParamsWithHTTPClient(client *http.Client) *CreateRuleParams {
	return &CreateRuleParams{
		HTTPClient: client,
	}
}
type CreateRuleParams struct {
	Body *models.APIRuleCreateV1
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *CreateRuleParams) WithDefaults() *CreateRuleParams {
	o.SetDefaults()
	return o
}
func (o *CreateRuleParams) SetDefaults() {
}
func (o *CreateRuleParams) WithTimeout(timeout time.Duration) *CreateRuleParams {
	o.SetTimeout(timeout)
	return o
}
func (o *CreateRuleParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *CreateRuleParams) WithContext(ctx context.Context) *CreateRuleParams {
	o.SetContext(ctx)
	return o
}
func (o *CreateRuleParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *CreateRuleParams) WithHTTPClient(client *http.Client) *CreateRuleParams {
	o.SetHTTPClient(client)
	return o
}
func (o *CreateRuleParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *CreateRuleParams) WithBody(body *models.APIRuleCreateV1) *CreateRuleParams {
	o.SetBody(body)
	return o
}