code: @Override
      public ByteArrayInputStream getImage(Integer scalar, ImagePlotShape shape, ImageEncoding imageEncoding,
              Double sparsity, Model model) throws JsonProcessingException, ApiException {
          validateRequiredModels(model);
          return getImage(scalar, shape, imageEncoding, sparsity, model.toJson());
      }
docs: {@inheritDoc}