func (o *ListEventsParams) SetOffset(offset *int64) {
	o.Offset = offset
}
SetOffset adds the offset to the list events params
package events
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 NewListEventsParams() *ListEventsParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &ListEventsParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewListEventsParamsWithTimeout(timeout time.Duration) *ListEventsParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &ListEventsParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		timeout: timeout,
	}
}
func NewListEventsParamsWithContext(ctx context.Context) *ListEventsParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &ListEventsParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		Context: ctx,
	}
}
func NewListEventsParamsWithHTTPClient(client *http.Client) *ListEventsParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &ListEventsParams{
		MaxItems:   &maxItemsDefault,
		Offset:     &offsetDefault,
		HTTPClient: client,
	}
}
type ListEventsParams struct {
	Change []string
	EnvironmentID string
	EventType []string
	MaxItems *int64
	Offset *int64
	RangeFrom *int64
	RangeTo *int64
	Remediated []string
	ResourceType []string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *ListEventsParams) WithTimeout(timeout time.Duration) *ListEventsParams {
	o.SetTimeout(timeout)
	return o
}
func (o *ListEventsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *ListEventsParams) WithContext(ctx context.Context) *ListEventsParams {
	o.SetContext(ctx)
	return o
}
func (o *ListEventsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *ListEventsParams) WithHTTPClient(client *http.Client) *ListEventsParams {
	o.SetHTTPClient(client)
	return o
}
func (o *ListEventsParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *ListEventsParams) WithChange(change []string) *ListEventsParams {
	o.SetChange(change)
	return o
}
func (o *ListEventsParams) SetChange(change []string) {
	o.Change = change
}
func (o *ListEventsParams) WithEnvironmentID(environmentID string) *ListEventsParams {
	o.SetEnvironmentID(environmentID)
	return o
}
func (o *ListEventsParams) SetEnvironmentID(environmentID string) {
	o.EnvironmentID = environmentID
}
func (o *ListEventsParams) WithEventType(eventType []string) *ListEventsParams {
	o.SetEventType(eventType)
	return o
}
func (o *ListEventsParams) SetEventType(eventType []string) {
	o.EventType = eventType
}
func (o *ListEventsParams) WithMaxItems(maxItems *int64) *ListEventsParams {
	o.SetMaxItems(maxItems)
	return o
}
func (o *ListEventsParams) SetMaxItems(maxItems *int64) {
	o.MaxItems = maxItems
}
func (o *ListEventsParams) WithOffset(offset *int64) *ListEventsParams {
	o.SetOffset(offset)
	return o
}