func NewListEventsParamsWithContext(ctx context.Context) *ListEventsParams {
	var (
		maxItemsDefault = int64(100)
		offsetDefault   = int64(0)
	)
	return &ListEventsParams{
		MaxItems: &maxItemsDefault,
		Offset:   &offsetDefault,
		Context: ctx,
	}
}
NewListEventsParamsWithContext creates a new ListEventsParams object
with the default values initialized, and the ability to set a context for a request
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,
	}
}