func (a ArchitecturesTypeList) Validate() error {
	var errs []error

	for _, s := range a {
		if err := s.Validate(); err != nil {
			errs = append(errs, err)
		}
	}

	if len(errs) > 1 {
		return elemental.NewErrors(errs...)
	}

	return nil
}
// Validate validates an architectures type list.
Validate validates an architectures type list.
// Validate validates an architectures type list .
func (a ArchitecturesTypeList) Validate() error {
	var errs []error
	for _, s := range a {
		if err := s.Validate(); err != nil {
			errs = append(errs, err)
		}
	}
	if len(errs) > 1 {
		return elemental.NewErrors(errs...)
	}
	return nil
}
func ( a ArchitecturesTypeList ) Validate ( ) error { var errs [ ] error for _ , s := range a { if err := s . Validate ( ) ; err != nil { errs = append ( errs , err ) } } if len ( errs ) > 1 { return elemental . NewErrors ( errs ... ) } return nil }
Validate validates an architectures type list.
Validate validates an architectures type list .