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 { OasResponses } from '../../models/OasResponses';
/**
 * Constructor.
 * @class
 * @extends OasResponses
 * @author eric.wittmann@gmail.com
 */
var Oas30Responses = /** @class */ (function (_super) {
    __extends(Oas30Responses, _super);
    function Oas30Responses() {
        return _super.call(this) || this;
    }
    /**
     * @see io.apicurio.datamodels.openapi.models.OasResponses#createResponse(java.lang.String)
     * @param {string} statusCode
     * @return {OasResponse}
     */
    Oas30Responses.prototype.createResponse = function (statusCode) {
        var response = new Oas30Response(statusCode);
        response._ownerDocument = this.ownerDocument();
        response._parent = this;
        return response;
    };
    return Oas30Responses;
}(OasResponses));
export { Oas30Responses };
Oas30Responses["__class"] = "io.apicurio.datamodels.openapi.v3.models.Oas30Responses";
Oas30Responses["__interfaces"] = ["io.apicurio.datamodels.core.models.IVisitable", "io.apicurio.datamodels.core.models.IIndexedNode"];
import { Oas30Response } from './Oas30Response';
//# sourceMappingURL=Oas30Responses.js.map