func (o *QueryRuleGroupsParams) WithOffset(offset *string) *QueryRuleGroupsParams {
	o.SetOffset(offset)
	return o
}
WithOffset adds the offset to the query rule groups 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 NewQueryRuleGroupsParams() *QueryRuleGroupsParams {
	return &QueryRuleGroupsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewQueryRuleGroupsParamsWithTimeout(timeout time.Duration) *QueryRuleGroupsParams {
	return &QueryRuleGroupsParams{
		timeout: timeout,
	}
}
func NewQueryRuleGroupsParamsWithContext(ctx context.Context) *QueryRuleGroupsParams {
	return &QueryRuleGroupsParams{
		Context: ctx,
	}
}
func NewQueryRuleGroupsParamsWithHTTPClient(client *http.Client) *QueryRuleGroupsParams {
	return &QueryRuleGroupsParams{
		HTTPClient: client,
	}
}
type QueryRuleGroupsParams struct {
	After *string
	Filter *string
	Limit *int64
	Offset *string
	Q *string
	Sort *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *QueryRuleGroupsParams) WithDefaults() *QueryRuleGroupsParams {
	o.SetDefaults()
	return o
}
func (o *QueryRuleGroupsParams) SetDefaults() {
}
func (o *QueryRuleGroupsParams) WithTimeout(timeout time.Duration) *QueryRuleGroupsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *QueryRuleGroupsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *QueryRuleGroupsParams) WithContext(ctx context.Context) *QueryRuleGroupsParams {
	o.SetContext(ctx)
	return o
}
func (o *QueryRuleGroupsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *QueryRuleGroupsParams) WithHTTPClient(client *http.Client) *QueryRuleGroupsParams {
	o.SetHTTPClient(client)
	return o
}
func (o *QueryRuleGroupsParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *QueryRuleGroupsParams) WithAfter(after *string) *QueryRuleGroupsParams {
	o.SetAfter(after)
	return o
}
func (o *QueryRuleGroupsParams) SetAfter(after *string) {
	o.After = after
}
func (o *QueryRuleGroupsParams) WithFilter(filter *string) *QueryRuleGroupsParams {
	o.SetFilter(filter)
	return o
}
func (o *QueryRuleGroupsParams) SetFilter(filter *string) {
	o.Filter = filter
}
func (o *QueryRuleGroupsParams) WithLimit(limit *int64) *QueryRuleGroupsParams {
	o.SetLimit(limit)
	return o
}
func (o *QueryRuleGroupsParams) SetLimit(limit *int64) {
	o.Limit = limit
}