code: public Folder updateFolder(Folder folder) throws SmartsheetException {
  
          return this.updateResource("folders/" + folder.getId(), Folder.class, folder);
      }
docs: Update a folder.
  
  It mirrors to the following Smartsheet REST API method: PUT /folder/{id}
  
  Exceptions:
  IllegalArgumentException : if folder is null
  InvalidRequestException : if there is any problem with the REST API request
  AuthorizationException : if there is any problem with the REST API authorization(access token)
  ResourceNotFoundException : if the resource can not be found
  ServiceUnavailableException : if the REST API service is not available (possibly due to rate limiting)
  SmartsheetRestException : if there is any other REST API related error occurred during the operation
  SmartsheetException : if there is any other error occurred during the operation
  
  @param folder the folder to update
  @return the updated folder (note that if there is no such folder, this method will throw
  ResourceNotFoundException rather than returning null).
  @throws SmartsheetException the smartsheet exception