code: func NewUnionTypeDef(init ...*UnionTypeDef) *UnionTypeDef {
  	var o *UnionTypeDef
  	if len(init) == 1 {
  		o = init[0]
  	} else {
  		o = new(UnionTypeDef)
  	}
  	return o.Init()
  }
docs: //
  // NewUnionTypeDef - creates an initialized UnionTypeDef instance, returns a pointer to it
  //