func Properties(folder *object.Folder) (*mo.Folder, error) {
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	var props mo.Folder
	if err := folder.Properties(ctx, folder.Reference(), nil, &props); err != nil {
		return nil, err
	}
	return &props, nil
}
func Properties(folder *object.Folder) (*mo.Folder, error) {
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	var props mo.Folder
	if err := folder.Properties(ctx, folder.Reference(), nil, &props); err != nil {
		return nil, err
	}
	return &props, nil
}
func Properties ( folder * object . Folder ) ( * mo . Folder , error ) { ctx , cancel := context . WithTimeout ( context . Background ( ) , provider . DefaultAPITimeout ) defer cancel ( ) var props mo . Folder if err := folder . Properties ( ctx , folder . Reference ( ) , nil , & props ) ; err != nil { return nil , err } return & props , nil }
// Properties is a convenience method that wraps fetching the
// Folder MO from its higher-level object.
Properties is a convenience method that wraps fetching the Folder MO from its higher - level object .