func (bd *BundleData) UnmarshalYAML(f func(interface{}) error) error {
	var bdc legacyBundleData
	if err := f(&bdc); err != nil {
		return err
	}
	return bdc.setBundleData(bd)
}
// UnmarshalYAML implements the yaml.Unmarshaler interface.
UnmarshalYAML implements the yaml.Unmarshaler interface.
// UnmarshalYAML implements the yaml . Unmarshaler interface .
func (bd *BundleData) UnmarshalYAML(f func(interface{}) error) error {
	var bdc legacyBundleData
	if err := f(&bdc); err != nil {
		return err
	}
	return bdc.setBundleData(bd)
}
func ( bd * BundleData ) UnmarshalYAML ( f func ( interface { } ) error ) error { var bdc legacyBundleData if err := f ( & bdc ) ; err != nil { return err } return bdc . setBundleData ( bd ) }
UnmarshalYAML implements the yaml.Unmarshaler interface.
UnmarshalYAML implements the yaml . Unmarshaler interface .