code: func Properties(obj *object.ResourcePool) (*mo.ResourcePool, error) {
  	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
  	defer cancel()
  	var props mo.ResourcePool
  	if err := obj.Properties(ctx, obj.Reference(), nil, &props); err != nil {
  		return nil, err
  	}
  	return &props, nil
  }
docs: // Properties returns the ResourcePool managed object from its higher-level
  // object.