@Override
    public ByteArrayInputStream compare(Integer scalar, ImagePlotShape shape, ImageEncoding imageEncoding,
            Model model1, Model model2) throws JsonProcessingException, ApiException {
        Model[] models = { model1, model2 };
        validateRequiredModels(models);
        return compare(scalar, shape, imageEncoding, toJson(models));
    }
@ Override public ByteArrayInputStream compare ( Integer scalar , ImagePlotShape shape , ImageEncoding imageEncoding , Model model1 , Model model2 ) throws JsonProcessingException , ApiException { Model [ ] models = { model1 , model2 } ; validateRequiredModels ( models ) ; return compare ( scalar , shape , imageEncoding , toJson ( models ) ) ; }
{@inheritDoc}