code: public ServiceCall<CompareReturn> compareDocuments(CompareDocumentsOptions compareDocumentsOptions) {
      Validator.notNull(compareDocumentsOptions, "compareDocumentsOptions cannot be null");
      String[] pathSegments = { "v1/comparison" };
      RequestBuilder builder = RequestBuilder.post(RequestBuilder.constructHttpUrl(getEndPoint(), pathSegments));
      builder.query("version", versionDate);
      Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("compare-comply", "v1", "compareDocuments");
      for (Entry<String, String> header : sdkHeaders.entrySet()) {
        builder.header(header.getKey(), header.getValue());
      }
      builder.header("Accept", "application/json");
      if (compareDocumentsOptions.file1Label() != null) {
        builder.query("file_1_label", compareDocumentsOptions.file1Label());
      }
      if (compareDocumentsOptions.file2Label() != null) {
        builder.query("file_2_label", compareDocumentsOptions.file2Label());
      }
      if (compareDocumentsOptions.model() != null) {
        builder.query("model", compareDocumentsOptions.model());
      }
      MultipartBody.Builder multipartBuilder = new MultipartBody.Builder();
      multipartBuilder.setType(MultipartBody.FORM);
      RequestBody file1Body = RequestUtils.inputStreamBody(compareDocumentsOptions.file1(), compareDocumentsOptions
          .file1ContentType());
      multipartBuilder.addFormDataPart("file_1", "filename", file1Body);
      RequestBody file2Body = RequestUtils.inputStreamBody(compareDocumentsOptions.file2(), compareDocumentsOptions
          .file2ContentType());
      multipartBuilder.addFormDataPart("file_2", "filename", file2Body);
      builder.body(multipartBuilder.build());
      return createServiceCall(builder.build(), ResponseConverterUtils.getObject(CompareReturn.class));
    }
docs: Compare two documents.
  
  Compares two input documents. Documents must be in the same format.
  
  @param compareDocumentsOptions the {@link CompareDocumentsOptions} containing the options for the call
  @return a {@link ServiceCall} with a response type of {@link CompareReturn}