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 { ModernSecurityScheme } from '../../../core/models/common/ModernSecurityScheme';
/**
 * Constructor.
 * @param {string} schemeName
 * @class
 * @extends ModernSecurityScheme
 * @author eric.wittmann@gmail.com
 */
var Oas30SecurityScheme = /** @class */ (function (_super) {
    __extends(Oas30SecurityScheme, _super);
    function Oas30SecurityScheme(schemeName) {
        return _super.call(this, schemeName) || this;
    }
    /**
     * @see io.apicurio.datamodels.core.models.common.ModernSecurityScheme#createOAuthFlows()
     * @return {OAuthFlows}
     */
    Oas30SecurityScheme.prototype.createOAuthFlows = function () {
        var rval = new Oas30OAuthFlows();
        rval._ownerDocument = this.ownerDocument();
        rval._parent = this;
        return rval;
    };
    return Oas30SecurityScheme;
}(ModernSecurityScheme));
export { Oas30SecurityScheme };
Oas30SecurityScheme["__class"] = "io.apicurio.datamodels.openapi.v3.models.Oas30SecurityScheme";
Oas30SecurityScheme["__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.INamed"];
import { Oas30OAuthFlows } from './Oas30OAuthFlows';
//# sourceMappingURL=Oas30SecurityScheme.js.map