func ValidateModel(name string, details ModelDetails) error {
	if err := ValidateModelName(name); err != nil {
		return err
	}
	if err := ValidateModelDetails(details); err != nil {
		return err
	}
	return nil
}
// ValidateModel validates the given model name and details.
ValidateModel validates the given model name and details.
// ValidateModel validates the given model name and details .
func ValidateModel(name string, details ModelDetails) error {
	if err := ValidateModelName(name); err != nil {
		return err
	}
	if err := ValidateModelDetails(details); err != nil {
		return err
	}
	return nil
}
func ValidateModel ( name string , details ModelDetails ) error { if err := ValidateModelName ( name ) ; err != nil { return err } if err := ValidateModelDetails ( details ) ; err != nil { return err } return nil }
ValidateModel validates the given model name and details.
ValidateModel validates the given model name and details .