code: @Override
      public Metric compare(Model model1, Model model2) throws JsonProcessingException, ApiException {
          validateRequiredModels(model1, model2);
          LOG.debug("Compare models: model1: " + model1.toJson() + "  model: " + model2.toJson());
          return compareApi.compare(toJson(model1, model2), this.retinaName);
      }
docs: {@inheritDoc}