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 { AaiInfo } from '../../models/AaiInfo';
import { Node } from '../../../core/models/Node';
/**
 * Constructor.
 * @param {Node} parent
 * @class
 * @extends AaiInfo
 * @author eric.wittmann@gmail.com
 */
var Aai20Info = /** @class */ (function (_super) {
    __extends(Aai20Info, _super);
    function Aai20Info(parent) {
        var _this = this;
        if (((parent != null && parent instanceof Node) || parent === null)) {
            var __args = arguments;
            _this = _super.call(this, parent) || this;
        }
        else if (parent === undefined) {
            var __args = arguments;
            _this = _super.call(this) || this;
        }
        else
            throw new Error('invalid overload');
        return _this;
    }
    /**
     * @see Info#createContact()
     * @return {Aai20Contact}
     */
    Aai20Info.prototype.createContact = function () {
        return new Aai20Contact(this);
    };
    /**
     * @see Info#createLicense()
     * @return {Aai20License}
     */
    Aai20Info.prototype.createLicense = function () {
        return new Aai20License(this);
    };
    return Aai20Info;
}(AaiInfo));
export { Aai20Info };
Aai20Info["__class"] = "io.apicurio.datamodels.asyncapi.v2.models.Aai20Info";
Aai20Info["__interfaces"] = ["io.apicurio.datamodels.core.models.IVisitable"];
import { Aai20License } from './Aai20License';
import { Aai20Contact } from './Aai20Contact';
//# sourceMappingURL=Aai20Info.js.map