func (o *IndicatorUpdateV1Params) WithBody(body *models.APIIndicatorUpdateReqsV1) *IndicatorUpdateV1Params {
	o.SetBody(body)
	return o
}
WithBody adds the body to the indicator update v1 params
package ioc
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/go-openapi/swag"
	"github.com/crowdstrike/gofalcon/falcon/models"
)
func NewIndicatorUpdateV1Params() *IndicatorUpdateV1Params {
	return &IndicatorUpdateV1Params{
		timeout: cr.DefaultTimeout,
	}
}
func NewIndicatorUpdateV1ParamsWithTimeout(timeout time.Duration) *IndicatorUpdateV1Params {
	return &IndicatorUpdateV1Params{
		timeout: timeout,
	}
}
func NewIndicatorUpdateV1ParamsWithContext(ctx context.Context) *IndicatorUpdateV1Params {
	return &IndicatorUpdateV1Params{
		Context: ctx,
	}
}
func NewIndicatorUpdateV1ParamsWithHTTPClient(client *http.Client) *IndicatorUpdateV1Params {
	return &IndicatorUpdateV1Params{
		HTTPClient: client,
	}
}
type IndicatorUpdateV1Params struct {
	XCSUSERNAME *string
	Body *models.APIIndicatorUpdateReqsV1
	IgnoreWarnings *bool
	Retrodetects *bool
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *IndicatorUpdateV1Params) WithDefaults() *IndicatorUpdateV1Params {
	o.SetDefaults()
	return o
}
func (o *IndicatorUpdateV1Params) SetDefaults() {
	var (
		ignoreWarningsDefault = bool(false)
	)
	val := IndicatorUpdateV1Params{
		IgnoreWarnings: &ignoreWarningsDefault,
	}
	val.timeout = o.timeout
	val.Context = o.Context
	val.HTTPClient = o.HTTPClient
	*o = val
}
func (o *IndicatorUpdateV1Params) WithTimeout(timeout time.Duration) *IndicatorUpdateV1Params {
	o.SetTimeout(timeout)
	return o
}
func (o *IndicatorUpdateV1Params) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *IndicatorUpdateV1Params) WithContext(ctx context.Context) *IndicatorUpdateV1Params {
	o.SetContext(ctx)
	return o
}
func (o *IndicatorUpdateV1Params) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *IndicatorUpdateV1Params) WithHTTPClient(client *http.Client) *IndicatorUpdateV1Params {
	o.SetHTTPClient(client)
	return o
}
func (o *IndicatorUpdateV1Params) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *IndicatorUpdateV1Params) WithXCSUSERNAME(xCSUSERNAME *string) *IndicatorUpdateV1Params {
	o.SetXCSUSERNAME(xCSUSERNAME)
	return o
}
func (o *IndicatorUpdateV1Params) SetXCSUSERNAME(xCSUSERNAME *string) {
	o.XCSUSERNAME = xCSUSERNAME
}