func NewValidationTypeFromStringArray(arr []string) ([]ValidationType, error) {
	vals := []ValidationType{}

	for _, s := range arr {
		v, err := NewValidationTypeFromString(s)
		if err != nil {
			return nil, errors.New(s)
		}

		vals = append(vals, *v)
	}

	return vals, nil
}
// NewValidationTypeFromStringArray generates validation types based on an array of strings
NewValidationTypeFromStringArray generates validation types based on an array of strings
// NewValidationTypeFromStringArray generates validation types based on an array of strings
func NewValidationTypeFromStringArray(arr []string) ([]ValidationType, error) {
	vals := []ValidationType{}
	for _, s := range arr {
		v, err := NewValidationTypeFromString(s)
		if err != nil {
			return nil, errors.New(s)
		}
		vals = append(vals, *v)
	}
	return vals, nil
}
func NewValidationTypeFromStringArray ( arr [ ] string ) ( [ ] ValidationType , error ) { vals := [ ] ValidationType { } for _ , s := range arr { v , err := NewValidationTypeFromString ( s ) if err != nil { return nil , errors . New ( s ) } vals = append ( vals , * v ) } return vals , nil }
NewValidationTypeFromStringArray generates validation types based on an array of strings
NewValidationTypeFromStringArray generates validation types based on an array of strings