func (l DsdCaptureDurationRuntimeSetting) Set(v interface{}) error {
	var err error

	s, ok := v.(string)
	if !ok {
		return fmt.Errorf("%s.Set: Invalid data type", l)
	}

	_, err = time.ParseDuration(s)
	if err != nil {
		return fmt.Errorf("Unsupported type for %s: %v", l, err)
	}

	// TODO
	// common.DSD.Capture.SetDuration(d)

	return nil
}
// Set changes the value of the runtime setting
Set changes the value of the runtime setting
// Set changes the value of the runtime setting
func (l DsdCaptureDurationRuntimeSetting) Set(v interface{}) error {
	var err error
	s, ok := v.(string)
	if !ok {
		return fmt.Errorf("%s.Set: Invalid data type", l)
	}
	_, err = time.ParseDuration(s)
	if err != nil {
		return fmt.Errorf("Unsupported type for %s: %v", l, err)
	}
	return nil
}
func ( l DsdCaptureDurationRuntimeSetting ) Set ( v interface { } ) error { var err error s , ok := v . ( string ) if ! ok { return fmt . Errorf ( " " , l ) } _ , err = time . ParseDuration ( s ) if err != nil { return fmt . Errorf ( " " , l , err ) } return nil }
Set changes the value of the runtime setting
Set changes the value of the runtime setting
// TODO // common.DSD.Capture.SetDuration(d)