func (o *UploadRegulaScanViewParams) SetContext(ctx context.Context) {
	o.Context = ctx
}
SetContext adds the context to the upload regula scan view 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"
)
func NewUploadRegulaScanViewParams() *UploadRegulaScanViewParams {
	var ()
	return &UploadRegulaScanViewParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewUploadRegulaScanViewParamsWithTimeout(timeout time.Duration) *UploadRegulaScanViewParams {
	var ()
	return &UploadRegulaScanViewParams{
		timeout: timeout,
	}
}
func NewUploadRegulaScanViewParamsWithContext(ctx context.Context) *UploadRegulaScanViewParams {
	var ()
	return &UploadRegulaScanViewParams{
		Context: ctx,
	}
}
func NewUploadRegulaScanViewParamsWithHTTPClient(client *http.Client) *UploadRegulaScanViewParams {
	var ()
	return &UploadRegulaScanViewParams{
		HTTPClient: client,
	}
}
type UploadRegulaScanViewParams struct {
	ScanID string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *UploadRegulaScanViewParams) WithTimeout(timeout time.Duration) *UploadRegulaScanViewParams {
	o.SetTimeout(timeout)
	return o
}
func (o *UploadRegulaScanViewParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}
func (o *UploadRegulaScanViewParams) WithContext(ctx context.Context) *UploadRegulaScanViewParams {
	o.SetContext(ctx)
	return o
}