func (o *GetPatternsParams) WithContext(ctx context.Context) *GetPatternsParams {
	o.SetContext(ctx)
	return o
}
WithContext adds the context to the get 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 NewGetPatternsParams() *GetPatternsParams {
	return &GetPatternsParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetPatternsParamsWithTimeout(timeout time.Duration) *GetPatternsParams {
	return &GetPatternsParams{
		timeout: timeout,
	}
}
func NewGetPatternsParamsWithContext(ctx context.Context) *GetPatternsParams {
	return &GetPatternsParams{
		Context: ctx,
	}
}
func NewGetPatternsParamsWithHTTPClient(client *http.Client) *GetPatternsParams {
	return &GetPatternsParams{
		HTTPClient: client,
	}
}
type GetPatternsParams struct {
	Ids []string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetPatternsParams) WithDefaults() *GetPatternsParams {
	o.SetDefaults()
	return o
}
func (o *GetPatternsParams) SetDefaults() {
}
func (o *GetPatternsParams) WithTimeout(timeout time.Duration) *GetPatternsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetPatternsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}