func (sl *NullableStringList) UnmarshalYAML(unmarshal func(interface{}) error) error {
	var single *string
	singleCandidate := UnmarshalCandidate{
		Unmarshal: func() error { return unmarshal(&single) },
		Assign:    func() { *sl = []*string{single} },
	}

	var list []*string
	listCandidate := UnmarshalCandidate{
		Unmarshal: func() error { return unmarshal(&list) },
		Assign:    func() { *sl = list },
	}

	return UnmarshalOneOf(singleCandidate, listCandidate)
}
// UnmarshalYAML unmarshals a nullable string or list of nullable strings always into a list.
UnmarshalYAML unmarshals a nullable string or list of nullable strings always into a list.
// UnmarshalYAML unmarshals a nullable string or list of nullable strings always into a list .
func (sl *NullableStringList) UnmarshalYAML(unmarshal func(interface{}) error) error {
	var single *string
	singleCandidate := UnmarshalCandidate{
		Unmarshal: func() error { return unmarshal(&single) },
		Assign:    func() { *sl = []*string{single} },
	}
	var list []*string
	listCandidate := UnmarshalCandidate{
		Unmarshal: func() error { return unmarshal(&list) },
		Assign:    func() { *sl = list },
	}
	return UnmarshalOneOf(singleCandidate, listCandidate)
}
func ( sl * NullableStringList ) UnmarshalYAML ( unmarshal func ( interface { } ) error ) error { var single * string singleCandidate := UnmarshalCandidate { Unmarshal : func ( ) error { return unmarshal ( & single ) } , Assign : func ( ) { * sl = [ ] * string { single } } , } var list [ ] * string listCandidate := UnmarshalCandidate { Unmarshal : func ( ) error { return unmarshal ( & list ) } , Assign : func ( ) { * sl = list } , } return UnmarshalOneOf ( singleCandidate , listCandidate ) }
UnmarshalYAML unmarshals a nullable string or list of nullable strings always into a list.
UnmarshalYAML unmarshals a nullable string or list of nullable strings always into a list .