code: protected Response putUpload(Response.Status expectedStatus, String name, File fileToUpload, Object... pathArgs) throws GitLabApiException {
          try {
              return validate(getApiClient().putUpload(name, fileToUpload, pathArgs), expectedStatus);
          } catch (Exception e) {
              throw handle(e);
          }
      }
docs: Perform a file upload using the HTTP PUT method with the specified File instance and path objects,
  returning a ClientResponse instance with the data returned from the endpoint.
  
  @param expectedStatus the HTTP status that should be returned from the server
  @param name the name for the form field that contains the file name
  @param fileToUpload a File instance pointing to the file to upload
  @param pathArgs variable list of arguments used to build the URI
  @return a ClientResponse instance with the data returned from the endpoint
  @throws GitLabApiException if any exception occurs during execution