code: func flattenVMwareUplinkLacpPolicy(d *schema.ResourceData, obj *types.VMwareUplinkLacpPolicy) error {
  	if obj == nil {
  		return nil
  	}
  
  	structure.SetBoolPolicy(d, "lacp_enabled", obj.Enable)
  	structure.SetStringPolicy(d, "lacp_mode", obj.Mode)
  	return nil
  }
docs: // flattenVMwareUplinkLacpPolicy reads various fields from a
  // VMwareUplinkLacpPolicy into the passed in ResourceData.