func (o *ListCustomRulesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
SetTimeout adds the timeout to the list custom rules params
package custom_rules
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 NewListCustomRulesParams() *ListCustomRulesParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &ListCustomRulesParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewListCustomRulesParamsWithTimeout(timeout time.Duration) *ListCustomRulesParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &ListCustomRulesParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		timeout: timeout,
	}
}
func NewListCustomRulesParamsWithContext(ctx context.Context) *ListCustomRulesParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &ListCustomRulesParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		Context: ctx,
	}
}
func NewListCustomRulesParamsWithHTTPClient(client *http.Client) *ListCustomRulesParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &ListCustomRulesParams{
		MaxItems:   &maxItemsDefault,
		Offset:     &offsetDefault,
		HTTPClient: client,
	}
}
type ListCustomRulesParams struct {
	MaxItems *int64
	Offset *int64
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *ListCustomRulesParams) WithTimeout(timeout time.Duration) *ListCustomRulesParams {
	o.SetTimeout(timeout)
	return o
}