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