func (i *Instance) GetDefaultScanSettings() *models.ScanMetadataOptions {
	i.RLock()
	defer i.RUnlock()
	v := i.viper(DefaultScanSettings)

	if v.IsSet(DefaultScanSettings) {
		var ret models.ScanMetadataOptions
		if err := v.UnmarshalKey(DefaultScanSettings, &ret); err != nil {
			return nil
		}
		return &ret
	}

	return nil
}
// GetDefaultScanSettings returns the default Scan task settings.
// Returns nil if the settings could not be unmarshalled, or if it
// has not been set.
GetDefaultScanSettings returns the default Scan task settings.
Returns nil if the settings could not be unmarshalled, or if it
has not been set.
// GetDefaultScanSettings returns the default Scan task settings . // Returns nil if the settings could not be unmarshalled or if it // has not been set .
func (i *Instance) GetDefaultScanSettings() *models.ScanMetadataOptions {
	i.RLock()
	defer i.RUnlock()
	v := i.viper(DefaultScanSettings)
	if v.IsSet(DefaultScanSettings) {
		var ret models.ScanMetadataOptions
		if err := v.UnmarshalKey(DefaultScanSettings, &ret); err != nil {
			return nil
		}
		return &ret
	}
	return nil
}
func ( i * Instance ) GetDefaultScanSettings ( ) * models . ScanMetadataOptions { i . RLock ( ) defer i . RUnlock ( ) v := i . viper ( DefaultScanSettings ) if v . IsSet ( DefaultScanSettings ) { var ret models . ScanMetadataOptions if err := v . UnmarshalKey ( DefaultScanSettings , & ret ) ; err != nil { return nil } return & ret } return nil }
GetDefaultScanSettings returns the default Scan task settings.
GetDefaultScanSettings returns the default Scan task settings .