var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
/* Generated from Java with JSweet 2.3.7 - http://www.jsweet.org */
import { ExtensibleNode } from '../../core/models/ExtensibleNode';
/**
 * @author eric.wittmann@gmail.com
 * @class
 * @extends ExtensibleNode
 */
var OasXML = /** @class */ (function (_super) {
    __extends(OasXML, _super);
    function OasXML() {
        var _this = _super.call(this) || this;
        if (_this.name === undefined)
            _this.name = null;
        if (_this.namespace === undefined)
            _this.namespace = null;
        if (_this.prefix === undefined)
            _this.prefix = null;
        if (_this.attribute === undefined)
            _this.attribute = null;
        if (_this.wrapped === undefined)
            _this.wrapped = null;
        return _this;
    }
    /**
     * @see io.apicurio.datamodels.core.models.Node#accept(io.apicurio.datamodels.core.visitors.IVisitor)
     * @param {*} visitor
     */
    OasXML.prototype.accept = function (visitor) {
        var viz = visitor;
        viz.visitXML(this);
    };
    return OasXML;
}(ExtensibleNode));
export { OasXML };
OasXML["__class"] = "io.apicurio.datamodels.openapi.models.OasXML";
OasXML["__interfaces"] = ["io.apicurio.datamodels.core.models.IVisitable"];
//# sourceMappingURL=OasXML.js.map