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