func (o *QueryPatternsParams) WithHTTPClient(client *http.Client) *QueryPatternsParams {
	o.SetHTTPClient(client)
	return o
}
WithHTTPClient adds the HTTPClient to the query patterns 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 NewQueryPatternsParams() *QueryPatternsParams {
	return &QueryPatternsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewQueryPatternsParamsWithTimeout(timeout time.Duration) *QueryPatternsParams {
	return &QueryPatternsParams{
		timeout: timeout,
	}
}
func NewQueryPatternsParamsWithContext(ctx context.Context) *QueryPatternsParams {
	return &QueryPatternsParams{
		Context: ctx,
	}
}
func NewQueryPatternsParamsWithHTTPClient(client *http.Client) *QueryPatternsParams {
	return &QueryPatternsParams{
		HTTPClient: client,
	}
}
type QueryPatternsParams struct {
	Limit *int64
	Offset *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *QueryPatternsParams) WithDefaults() *QueryPatternsParams {
	o.SetDefaults()
	return o
}
func (o *QueryPatternsParams) SetDefaults() {
}
func (o *QueryPatternsParams) WithTimeout(timeout time.Duration) *QueryPatternsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *QueryPatternsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *QueryPatternsParams) WithContext(ctx context.Context) *QueryPatternsParams {
	o.SetContext(ctx)
	return o
}
func (o *QueryPatternsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}