func (i *Instance) GetDefaultGenerateSettings() *models.GenerateMetadataOptions {
	i.RLock()
	defer i.RUnlock()
	v := i.viper(DefaultGenerateSettings)

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

	return nil
}
// GetDefaultGenerateSettings returns the default Scan task settings.
// Returns nil if the settings could not be unmarshalled, or if it
// has not been set.
GetDefaultGenerateSettings returns the default Scan task settings.
Returns nil if the settings could not be unmarshalled, or if it
has not been set.
// GetDefaultGenerateSettings 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) GetDefaultGenerateSettings() *models.GenerateMetadataOptions {
	i.RLock()
	defer i.RUnlock()
	v := i.viper(DefaultGenerateSettings)
	if v.IsSet(DefaultGenerateSettings) {
		var ret models.GenerateMetadataOptions
		if err := v.UnmarshalKey(DefaultGenerateSettings, &ret); err != nil {
			return nil
		}
		return &ret
	}
	return nil
}
func ( i * Instance ) GetDefaultGenerateSettings ( ) * models . GenerateMetadataOptions { i . RLock ( ) defer i . RUnlock ( ) v := i . viper ( DefaultGenerateSettings ) if v . IsSet ( DefaultGenerateSettings ) { var ret models . GenerateMetadataOptions if err := v . UnmarshalKey ( DefaultGenerateSettings , & ret ) ; err != nil { return nil } return & ret } return nil }
GetDefaultGenerateSettings returns the default Scan task settings.
GetDefaultGenerateSettings returns the default Scan task settings .