func (o *DeleteRulesParams) WithContext(ctx context.Context) *DeleteRulesParams {
	o.SetContext(ctx)
	return o
}
WithContext adds the context to the delete rules 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 NewDeleteRulesParams() *DeleteRulesParams {
	return &DeleteRulesParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewDeleteRulesParamsWithTimeout(timeout time.Duration) *DeleteRulesParams {
	return &DeleteRulesParams{
		timeout: timeout,
	}
}
func NewDeleteRulesParamsWithContext(ctx context.Context) *DeleteRulesParams {
	return &DeleteRulesParams{
		Context: ctx,
	}
}
func NewDeleteRulesParamsWithHTTPClient(client *http.Client) *DeleteRulesParams {
	return &DeleteRulesParams{
		HTTPClient: client,
	}
}
type DeleteRulesParams struct {
	Comment *string
	Ids []string
	RuleGroupID string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *DeleteRulesParams) WithDefaults() *DeleteRulesParams {
	o.SetDefaults()
	return o
}
func (o *DeleteRulesParams) SetDefaults() {
}
func (o *DeleteRulesParams) WithTimeout(timeout time.Duration) *DeleteRulesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *DeleteRulesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}