func (o *TriggerScanParams) SetDefaults() {
	var (
		scanTypeDefault = string("dry-run")
	)
	val := TriggerScanParams{
		ScanType: scanTypeDefault,
	}
	val.timeout = o.timeout
	val.Context = o.Context
	val.HTTPClient = o.HTTPClient
	*o = val
}
SetDefaults hydrates default values in the trigger scan params (not the query body).

All values with no default are reset to their zero value.
package kubernetes_protection
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 NewTriggerScanParams() *TriggerScanParams {
	return &TriggerScanParams{
		timeout: cr.DefaultTimeout,
	}
}
func NewTriggerScanParamsWithTimeout(timeout time.Duration) *TriggerScanParams {
	return &TriggerScanParams{
		timeout: timeout,
	}
}
func NewTriggerScanParamsWithContext(ctx context.Context) *TriggerScanParams {
	return &TriggerScanParams{
		Context: ctx,
	}
}
func NewTriggerScanParamsWithHTTPClient(client *http.Client) *TriggerScanParams {
	return &TriggerScanParams{
		HTTPClient: client,
	}
}
type TriggerScanParams struct {
	ScanType string
	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}
func (o *TriggerScanParams) WithDefaults() *TriggerScanParams {
	o.SetDefaults()
	return o
}