func NewListScansParamsWithContext(ctx context.Context) *ListScansParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderByDefault        = string("created_at")
		orderDirectionDefault = string("desc")
	)
	return &ListScansParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		Context: ctx,
	}
}
NewListScansParamsWithContext creates a new ListScansParams object
with the default values initialized, and the ability to set a context for a request
package scans
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 NewListScansParams() *ListScansParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderByDefault        = string("created_at")
		orderDirectionDefault = string("desc")
	)
	return &ListScansParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: cr.DefaultTimeout,
	}
}
func NewListScansParamsWithTimeout(timeout time.Duration) *ListScansParams {
	var (
		maxItemsDefault       = int64(100)
		offsetDefault         = int64(0)
		orderByDefault        = string("created_at")
		orderDirectionDefault = string("desc")
	)
	return &ListScansParams{
		MaxItems:       &maxItemsDefault,
		Offset:         &offsetDefault,
		OrderBy:        &orderByDefault,
		OrderDirection: &orderDirectionDefault,
		timeout: timeout,
	}
}