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 { ExtensibleNode } from '../ExtensibleNode';
/**
 * Constructor.
 * @class
 * @extends ExtensibleNode
 * @author eric.wittmann@gmail.com
 */
var Info = /** @class */ (function (_super) {
    __extends(Info, _super);
    function Info() {
        var _this = _super.call(this) || this;
        if (_this.title === undefined)
            _this.title = null;
        if (_this.description === undefined)
            _this.description = null;
        if (_this.termsOfService === undefined)
            _this.termsOfService = null;
        if (_this.contact === undefined)
            _this.contact = null;
        if (_this.license === undefined)
            _this.license = null;
        if (_this.version === undefined)
            _this.version = null;
        return _this;
    }
    /**
     * @see io.apicurio.datamodels.core.models.Node#accept(io.apicurio.datamodels.core.visitors.IVisitor)
     * @param {*} visitor
     */
    Info.prototype.accept = function (visitor) {
        visitor.visitInfo(this);
    };
    return Info;
}(ExtensibleNode));
export { Info };
Info["__class"] = "io.apicurio.datamodels.core.models.common.Info";
Info["__interfaces"] = ["io.apicurio.datamodels.core.models.IVisitable"];
//# sourceMappingURL=Info.js.map