code: def refresh_folder(self, update_parent_if_changed=False):
          
          folder_id = getattr(self, 'folder_id', None)
          if self.root or folder_id is None:
              return False
  
          folder = self.get_folder(folder_id=folder_id)
          if folder is None:
              return False
  
          self.name = folder.name
          if folder.parent_id and self.parent_id:
              if folder.parent_id != self.parent_id:
                  self.parent_id = folder.parent_id
                  self.parent = (self.get_parent_folder()
                                 if update_parent_if_changed else None)
          self.child_folders_count = folder.child_folders_count
          self.unread_items_count = folder.unread_items_count
          self.total_items_count = folder.total_items_count
          self.updated_at = folder.updated_at
  
          return True
docs: Re-download folder data
          Inbox Folder will be unable to download its own data (no folder_id)
  
          :param bool update_parent_if_changed: updates self.parent with new
           parent Folder if changed
          :return: Refreshed or Not
          :rtype: bool