func (o *AuditEventsQueryParams) WithSort(sort *string) *AuditEventsQueryParams {
	o.SetSort(sort)
	return o
}
WithSort adds the sort to the audit events query params
package installation_tokens
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 NewAuditEventsQueryParams() *AuditEventsQueryParams {
	return &AuditEventsQueryParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewAuditEventsQueryParamsWithTimeout(timeout time.Duration) *AuditEventsQueryParams {
	return &AuditEventsQueryParams{
		timeout: timeout,
	}
}
func NewAuditEventsQueryParamsWithContext(ctx context.Context) *AuditEventsQueryParams {
	return &AuditEventsQueryParams{
		Context: ctx,
	}
}
func NewAuditEventsQueryParamsWithHTTPClient(client *http.Client) *AuditEventsQueryParams {
	return &AuditEventsQueryParams{
		HTTPClient: client,
	}
}
type AuditEventsQueryParams struct {
	Filter *string
	Limit *int64
	Offset *int64
	Sort *string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *AuditEventsQueryParams) WithDefaults() *AuditEventsQueryParams {
	o.SetDefaults()
	return o
}
func (o *AuditEventsQueryParams) SetDefaults() {
}
func (o *AuditEventsQueryParams) WithTimeout(timeout time.Duration) *AuditEventsQueryParams {
	o.SetTimeout(timeout)
	return o
}
func (o *AuditEventsQueryParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *AuditEventsQueryParams) WithContext(ctx context.Context) *AuditEventsQueryParams {
	o.SetContext(ctx)
	return o
}
func (o *AuditEventsQueryParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *AuditEventsQueryParams) WithHTTPClient(client *http.Client) *AuditEventsQueryParams {
	o.SetHTTPClient(client)
	return o
}
func (o *AuditEventsQueryParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *AuditEventsQueryParams) WithFilter(filter *string) *AuditEventsQueryParams {
	o.SetFilter(filter)
	return o
}
func (o *AuditEventsQueryParams) SetFilter(filter *string) {
	o.Filter = filter
}
func (o *AuditEventsQueryParams) WithLimit(limit *int64) *AuditEventsQueryParams {
	o.SetLimit(limit)
	return o
}
func (o *AuditEventsQueryParams) SetLimit(limit *int64) {
	o.Limit = limit
}
func (o *AuditEventsQueryParams) WithOffset(offset *int64) *AuditEventsQueryParams {
	o.SetOffset(offset)
	return o
}
func (o *AuditEventsQueryParams) SetOffset(offset *int64) {
	o.Offset = offset
}