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 __());
    };
})();
import { Oas30Example } from './Oas30Example';
/**
 * Constructor.
 * @param {string} name
 * @class
 * @extends Oas30Example
 * @author eric.wittmann@gmail.com
 */
var Oas30ExampleDefinition = /** @class */ (function (_super) {
    __extends(Oas30ExampleDefinition, _super);
    function Oas30ExampleDefinition(name) {
        return _super.call(this, name) || this;
    }
    /**
     * @see io.apicurio.datamodels.openapi.v3.models.Oas30Example#accept(io.apicurio.datamodels.core.visitors.IVisitor)
     * @param {*} visitor
     */
    Oas30ExampleDefinition.prototype.accept = function (visitor) {
        var viz = visitor;
        viz.visitExampleDefinition(this);
    };
    return Oas30ExampleDefinition;
}(Oas30Example));
export { Oas30ExampleDefinition };
Oas30ExampleDefinition["__class"] = "io.apicurio.datamodels.openapi.v3.models.Oas30ExampleDefinition";
Oas30ExampleDefinition["__interfaces"] = ["io.apicurio.datamodels.core.models.common.IDefinition", "io.apicurio.datamodels.core.models.IVisitable", "io.apicurio.datamodels.core.models.IReferenceNode", "io.apicurio.datamodels.core.models.common.IExample", "io.apicurio.datamodels.core.models.common.INamed"];
//# sourceMappingURL=Oas30ExampleDefinition.js.map