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 { PasswordOAuthFlow } from '../../../core/models/common/PasswordOAuthFlow';
/**
 * Models an OpenAPI 3.0.x password OAuth flow.
 *
 * @author eric.wittmann@gmail.com
 * @class
 * @extends PasswordOAuthFlow
 */
var Oas30PasswordOAuthFlow = /** @class */ (function (_super) {
    __extends(Oas30PasswordOAuthFlow, _super);
    function Oas30PasswordOAuthFlow() {
        return _super.call(this) || this;
    }
    /**
     * @see io.apicurio.datamodels.core.models.Node#accept(io.apicurio.datamodels.core.visitors.IVisitor)
     * @param {*} visitor
     */
    Oas30PasswordOAuthFlow.prototype.accept = function (visitor) {
        var viz = visitor;
        viz.visitPasswordOAuthFlow(this);
    };
    return Oas30PasswordOAuthFlow;
}(PasswordOAuthFlow));
export { Oas30PasswordOAuthFlow };
Oas30PasswordOAuthFlow["__class"] = "io.apicurio.datamodels.openapi.v3.models.Oas30PasswordOAuthFlow";
Oas30PasswordOAuthFlow["__interfaces"] = ["io.apicurio.datamodels.core.models.IVisitable"];
//# sourceMappingURL=Oas30PasswordOAuthFlow.js.map