static Model fromXml(DeployState ds, Element model, Set<String> requiredTags) {
        var modelId = XmlHelper.getOptionalAttribute(model, "model-id").orElse(null);
        var url = XmlHelper.getOptionalAttribute(model, "url").map(Model::parseUrl).orElse(null);
        var path = XmlHelper.getOptionalAttribute(model, "path").map(Path::fromString).orElse(null);
        return new Model(ds, model.getTagName(), modelId, url, path, requiredTags);
    }
Represents a model, e.g ONNX model for an embedder.

@author bjorncs
config-model/src/main/java/com/yahoo/vespa/model/container/component/Model.java