code: func (pTypeDef *Test) Validate() error {
  	if pTypeDef.Name == "" {
  		return fmt.Errorf("Test: Missing required field: name")
  	}
  	if pTypeDef.Utfname == "" {
  		return fmt.Errorf("Test: Missing required field: utfname")
  	}
  	if pTypeDef.My_int_array == nil {
  		return fmt.Errorf("Test: Missing required field: my_int_array")
  	}
  	if pTypeDef.My_str_array == nil {
  		return fmt.Errorf("Test: Missing required field: my_str_array")
  	}
  	fmt.Println("myuuid:", pTypeDef.Myuuid)
  	if pTypeDef.Myuuid == nil {
  		return fmt.Errorf("Test: Missing required field: myuuid")
  	}
  	if pTypeDef.Myaz == "" {
  		return fmt.Errorf("Test: Missing required field: myaz")
  	}
  	if pTypeDef.Mytime.IsZero() {
  		return fmt.Errorf("Test: Missing required field: mytime")
  	}
  	if pTypeDef.Co1 == "" {
  		return fmt.Errorf("Test: Missing required field: co1")
  	}
  	if pTypeDef.Co2 == "" {
  		return fmt.Errorf("Test: Missing required field: co2")
  	}
  	if pTypeDef.Co3 == "" {
  		return fmt.Errorf("Test: Missing required field: co3")
  	}
  	if pTypeDef.Symtest == nil {
  		return fmt.Errorf("Test: Missing required field: symtest")
  	}
  	return nil
  }
docs: //
  // Validate - checks for missing required fields, etc
  //