func (o *ListScansParams) WithRangeFrom(rangeFrom *int64) *ListScansParams {
	o.SetRangeFrom(rangeFrom)
	return o
}
WithRangeFrom adds the rangeFrom to the list scans params
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,
	}
}
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,
	}
}
func NewListScansParamsWithHTTPClient(client *http.Client) *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,
		HTTPClient:     client,
	}
}
type ListScansParams struct {
	EnvironmentID string
	MaxItems *int64
	Offset *int64
	OrderBy *string
	OrderDirection *string
	RangeFrom *int64
	RangeTo *int64
	Status []string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *ListScansParams) WithTimeout(timeout time.Duration) *ListScansParams {
	o.SetTimeout(timeout)
	return o
}
func (o *ListScansParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *ListScansParams) WithContext(ctx context.Context) *ListScansParams {
	o.SetContext(ctx)
	return o
}
func (o *ListScansParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
func (o *ListScansParams) WithHTTPClient(client *http.Client) *ListScansParams {
	o.SetHTTPClient(client)
	return o
}
func (o *ListScansParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}
func (o *ListScansParams) WithEnvironmentID(environmentID string) *ListScansParams {
	o.SetEnvironmentID(environmentID)
	return o
}
func (o *ListScansParams) SetEnvironmentID(environmentID string) {
	o.EnvironmentID = environmentID
}
func (o *ListScansParams) WithMaxItems(maxItems *int64) *ListScansParams {
	o.SetMaxItems(maxItems)
	return o
}
func (o *ListScansParams) SetMaxItems(maxItems *int64) {
	o.MaxItems = maxItems
}
func (o *ListScansParams) WithOffset(offset *int64) *ListScansParams {
	o.SetOffset(offset)
	return o
}
func (o *ListScansParams) SetOffset(offset *int64) {
	o.Offset = offset
}
func (o *ListScansParams) WithOrderBy(orderBy *string) *ListScansParams {
	o.SetOrderBy(orderBy)
	return o
}
func (o *ListScansParams) SetOrderBy(orderBy *string) {
	o.OrderBy = orderBy
}
func (o *ListScansParams) WithOrderDirection(orderDirection *string) *ListScansParams {
	o.SetOrderDirection(orderDirection)
	return o
}
func (o *ListScansParams) SetOrderDirection(orderDirection *string) {
	o.OrderDirection = orderDirection
}