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 { OasInfo } from '../../models/OasInfo';
/**
 * Constructor.
 * @class
 * @extends OasInfo
 * @author eric.wittmann@gmail.com
 */
var Oas30Info = /** @class */ (function (_super) {
    __extends(Oas30Info, _super);
    function Oas30Info() {
        return _super.call(this) || this;
    }
    /**
     * @see io.apicurio.datamodels.core.models.common.Info#createContact()
     * @return {Contact}
     */
    Oas30Info.prototype.createContact = function () {
        var contact = new Oas30Contact();
        contact._ownerDocument = this.ownerDocument();
        contact._parent = this;
        return contact;
    };
    /**
     * @see io.apicurio.datamodels.core.models.common.Info#createLicense()
     * @return {License}
     */
    Oas30Info.prototype.createLicense = function () {
        var license = new Oas30License();
        license._ownerDocument = this.ownerDocument();
        license._parent = this;
        return license;
    };
    return Oas30Info;
}(OasInfo));
export { Oas30Info };
Oas30Info["__class"] = "io.apicurio.datamodels.openapi.v3.models.Oas30Info";
Oas30Info["__interfaces"] = ["io.apicurio.datamodels.core.models.IVisitable"];
import { Oas30License } from './Oas30License';
import { Oas30Contact } from './Oas30Contact';
//# sourceMappingURL=Oas30Info.js.map