func (o *GetSilencesParams) WithFilter(filter []string) *GetSilencesParams {
	o.SetFilter(filter)
	return o
}
WithFilter adds the filter to the get silences params
package silence
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 NewGetSilencesParams() *GetSilencesParams {
	var ()
	return &GetSilencesParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewGetSilencesParamsWithTimeout(timeout time.Duration) *GetSilencesParams {
	var ()
	return &GetSilencesParams{
		timeout: timeout,
	}
}
func NewGetSilencesParamsWithContext(ctx context.Context) *GetSilencesParams {
	var ()
	return &GetSilencesParams{
		Context: ctx,
	}
}
func NewGetSilencesParamsWithHTTPClient(client *http.Client) *GetSilencesParams {
	var ()
	return &GetSilencesParams{
		HTTPClient: client,
	}
}
type GetSilencesParams struct {
	Filter []string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *GetSilencesParams) WithTimeout(timeout time.Duration) *GetSilencesParams {
	o.SetTimeout(timeout)
	return o
}
func (o *GetSilencesParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *GetSilencesParams) WithContext(ctx context.Context) *GetSilencesParams {
	o.SetContext(ctx)
	return o
}
func (o *GetSilencesParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *GetSilencesParams) WithHTTPClient(client *http.Client) *GetSilencesParams {
	o.SetHTTPClient(client)
	return o
}
func (o *GetSilencesParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}