func (o *QueryRulesParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context to the query rules params
package firewall_management
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 NewQueryRulesParams() *QueryRulesParams {
	return &QueryRulesParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewQueryRulesParamsWithTimeout(timeout time.Duration) *QueryRulesParams {
	return &QueryRulesParams{
		timeout: timeout,
	}
}
func NewQueryRulesParamsWithContext(ctx context.Context) *QueryRulesParams {
	return &QueryRulesParams{
		Context: ctx,
	}
}
func NewQueryRulesParamsWithHTTPClient(client *http.Client) *QueryRulesParams {
	return &QueryRulesParams{
		HTTPClient: client,
	}
}
type QueryRulesParams struct {
	After *string
	Filter *string
	Limit *int64
	Offset *string
	Q *string
	Sort *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *QueryRulesParams) WithDefaults() *QueryRulesParams {
	o.SetDefaults()
	return o
}
func (o *QueryRulesParams) SetDefaults() {
}
func (o *QueryRulesParams) WithTimeout(timeout time.Duration) *QueryRulesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *QueryRulesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *QueryRulesParams) WithContext(ctx context.Context) *QueryRulesParams {
	o.SetContext(ctx)
	return o
}