func (o *QueryCIDGroupsParams) WithContext(ctx context.Context) *QueryCIDGroupsParams {
	o.SetContext(ctx)
	return o
}
WithContext adds the context to the query c ID groups params
package mssp
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 NewQueryCIDGroupsParams() *QueryCIDGroupsParams {
	return &QueryCIDGroupsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewQueryCIDGroupsParamsWithTimeout(timeout time.Duration) *QueryCIDGroupsParams {
	return &QueryCIDGroupsParams{
		timeout: timeout,
	}
}
func NewQueryCIDGroupsParamsWithContext(ctx context.Context) *QueryCIDGroupsParams {
	return &QueryCIDGroupsParams{
		Context: ctx,
	}
}
func NewQueryCIDGroupsParamsWithHTTPClient(client *http.Client) *QueryCIDGroupsParams {
	return &QueryCIDGroupsParams{
		HTTPClient: client,
	}
}
type QueryCIDGroupsParams struct {
	Limit *int64
	Name *string
	Offset *int64
	Sort *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *QueryCIDGroupsParams) WithDefaults() *QueryCIDGroupsParams {
	o.SetDefaults()
	return o
}
func (o *QueryCIDGroupsParams) SetDefaults() {
	var (
		limitDefault = int64(10)
		offsetDefault = int64(0)
		sortDefault = string("name|asc")
	)
	val := QueryCIDGroupsParams{
		Limit:  &limitDefault,
		Offset: &offsetDefault,
		Sort:   &sortDefault,
	}
	val.timeout = o.timeout
	val.Context = o.Context
	val.HTTPClient = o.HTTPClient
	*o = val
}
func (o *QueryCIDGroupsParams) WithTimeout(timeout time.Duration) *QueryCIDGroupsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *QueryCIDGroupsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}