func (o *QueryPatternsParams) WithTimeout(timeout time.Duration) *QueryPatternsParams {
	o.SetTimeout(timeout)
	return o
}
WithTimeout adds the timeout 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() {
}