func (o *ListRuleWaiversParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context to the list rule waivers params
package rule_waivers
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 NewListRuleWaiversParams() *ListRuleWaiversParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderByDefault        = string("name")
		orderDirectionDefault = string("asc")
	)
	return &ListRuleWaiversParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewListRuleWaiversParamsWithTimeout(timeout time.Duration) *ListRuleWaiversParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderByDefault        = string("name")
		orderDirectionDefault = string("asc")
	)
	return &ListRuleWaiversParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: timeout,
	}
}
func NewListRuleWaiversParamsWithContext(ctx context.Context) *ListRuleWaiversParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderByDefault        = string("name")
		orderDirectionDefault = string("asc")
	)
	return &ListRuleWaiversParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		Context: ctx,
	}
}
func NewListRuleWaiversParamsWithHTTPClient(client *http.Client) *ListRuleWaiversParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderByDefault        = string("name")
		orderDirectionDefault = string("asc")
	)
	return &ListRuleWaiversParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		HTTPClient:     client,
	}
}
type ListRuleWaiversParams struct {
	MaxItems *int64
	Offset *int64
	OrderBy *string
	OrderDirection *string
	Query *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *ListRuleWaiversParams) WithTimeout(timeout time.Duration) *ListRuleWaiversParams {
	o.SetTimeout(timeout)
	return o
}
func (o *ListRuleWaiversParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *ListRuleWaiversParams) WithContext(ctx context.Context) *ListRuleWaiversParams {
	o.SetContext(ctx)
	return o
}