code: @Deprecated
      public RepositoryFile updateFile(RepositoryFile file, Integer projectId, String branchName, String commitMessage) throws GitLabApiException {
          return (updateFile(projectId, file, branchName, commitMessage));
      }
docs: Update existing file in repository
  
  <pre><code>GitLab Endpoint: PUT /projects/:id/repository/files</code></pre>
  
  file_path (required) - Full path to new file. Ex. lib/class.rb
  branch_name (required) - The name of branch
  encoding (optional) - 'text' or 'base64'. Text is default.
  content (required) - File content
  commit_message (required) - Commit message
  
  @param file a ReposityoryFile instance with info for the file to update
  @param projectId the project ID
  @param branchName the name of branch
  @param commitMessage the commit message
  @return a RepositoryFile instance with the updated file info
  @throws GitLabApiException if any exception occurs
  @deprecated  Will be removed in version 5.0, replaced by {@link #updateFile(Object, RepositoryFile, String, String)}