func (o *GetAlertGroupsParams) SetInhibited(inhibited *bool) {
	o.Inhibited = inhibited
}
SetInhibited adds the inhibited to the get alert groups params
package alertgroup
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 NewGetAlertGroupsParams() *GetAlertGroupsParams {
	var (
		activeDefault    = bool(true)
		inhibitedDefault = bool(true)
		silencedDefault  = bool(true)
	)
	return &GetAlertGroupsParams{
		Active:    &activeDefault,
		Inhibited: &inhibitedDefault,
		Silenced:  &silencedDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewGetAlertGroupsParamsWithTimeout(timeout time.Duration) *GetAlertGroupsParams {
	var (
		activeDefault    = bool(true)
		inhibitedDefault = bool(true)
		silencedDefault  = bool(true)
	)
	return &GetAlertGroupsParams{
		Active:    &activeDefault,
		Inhibited: &inhibitedDefault,
		Silenced:  &silencedDefault,
		timeout: timeout,
	}
}
func NewGetAlertGroupsParamsWithContext(ctx context.Context) *GetAlertGroupsParams {
	var (
		activeDefault    = bool(true)
		inhibitedDefault = bool(true)
		silencedDefault  = bool(true)
	)
	return &GetAlertGroupsParams{
		Active:    &activeDefault,
		Inhibited: &inhibitedDefault,
		Silenced:  &silencedDefault,
		Context: ctx,
	}
}
func NewGetAlertGroupsParamsWithHTTPClient(client *http.Client) *GetAlertGroupsParams {
	var (
		activeDefault    = bool(true)
		inhibitedDefault = bool(true)
		silencedDefault  = bool(true)
	)
	return &GetAlertGroupsParams{
		Active:     &activeDefault,
		Inhibited:  &inhibitedDefault,
		Silenced:   &silencedDefault,
		HTTPClient: client,
	}
}
type GetAlertGroupsParams struct {
	Active *bool
	Filter []string
	Inhibited *bool
	Receiver *string
	Silenced *bool
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetAlertGroupsParams) WithTimeout(timeout time.Duration) *GetAlertGroupsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetAlertGroupsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetAlertGroupsParams) WithContext(ctx context.Context) *GetAlertGroupsParams {
	o.SetContext(ctx)
	return o
}
func (o *GetAlertGroupsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetAlertGroupsParams) WithHTTPClient(client *http.Client) *GetAlertGroupsParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetAlertGroupsParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *GetAlertGroupsParams) WithActive(active *bool) *GetAlertGroupsParams {
	o.SetActive(active)
	return o
}
func (o *GetAlertGroupsParams) SetActive(active *bool) {
	o.Active = active
}
func (o *GetAlertGroupsParams) WithFilter(filter []string) *GetAlertGroupsParams {
	o.SetFilter(filter)
	return o
}
func (o *GetAlertGroupsParams) SetFilter(filter []string) {
	o.Filter = filter
}
func (o *GetAlertGroupsParams) WithInhibited(inhibited *bool) *GetAlertGroupsParams {
	o.SetInhibited(inhibited)
	return o
}