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