func (o *GetRulesMixin0Params) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context to the get rules mixin0 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/go-openapi/swag"
)
func NewGetRulesMixin0Params() *GetRulesMixin0Params {
	return &GetRulesMixin0Params{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetRulesMixin0ParamsWithTimeout(timeout time.Duration) *GetRulesMixin0Params {
	return &GetRulesMixin0Params{
		timeout: timeout,
	}
}
func NewGetRulesMixin0ParamsWithContext(ctx context.Context) *GetRulesMixin0Params {
	return &GetRulesMixin0Params{
		Context: ctx,
	}
}
func NewGetRulesMixin0ParamsWithHTTPClient(client *http.Client) *GetRulesMixin0Params {
	return &GetRulesMixin0Params{
		HTTPClient: client,
	}
}
type GetRulesMixin0Params struct {
	Ids []string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetRulesMixin0Params) WithDefaults() *GetRulesMixin0Params {
	o.SetDefaults()
	return o
}
func (o *GetRulesMixin0Params) SetDefaults() {
}
func (o *GetRulesMixin0Params) WithTimeout(timeout time.Duration) *GetRulesMixin0Params {
	o.SetTimeout(timeout)
	return o
}
func (o *GetRulesMixin0Params) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetRulesMixin0Params) WithContext(ctx context.Context) *GetRulesMixin0Params {
	o.SetContext(ctx)
	return o
}