/**
 * @author Jakub Senko<jsenko@redhat.com>
 * @class
 */
var Aai20NodeFactory = /** @class */ (function () {
    function Aai20NodeFactory() {
    }
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiChannelItem}
     */
    Aai20NodeFactory.prototype.createChannelItem = function (parent, key) {
        return new Aai20ChannelItem(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiComponents}
     */
    Aai20NodeFactory.prototype.createComponents = function (parent) {
        return new Aai20Components(parent);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiContact}
     */
    Aai20NodeFactory.prototype.createContact = function (parent) {
        return new Aai20Contact(parent);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiCorrelationId}
     */
    Aai20NodeFactory.prototype.createCorrelationId = function (parent, key) {
        return new Aai20CorrelationId(parent, key);
    };
    /**
     *
     * @return {AaiDocument}
     */
    Aai20NodeFactory.prototype.createDocument = function () {
        return new Aai20Document();
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiExternalDocumentation}
     */
    Aai20NodeFactory.prototype.createExternalDocumentation = function (parent) {
        return new Aai20ExternalDocumentation(parent);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiHeaderItem}
     */
    Aai20NodeFactory.prototype.createHeaderItem = function (parent) {
        return new Aai20HeaderItem(parent);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiInfo}
     */
    Aai20NodeFactory.prototype.createInfo = function (parent) {
        return new Aai20Info(parent);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiLicense}
     */
    Aai20NodeFactory.prototype.createLicense = function (parent) {
        return new Aai20License(parent);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiMessage}
     */
    Aai20NodeFactory.prototype.createMessage = function (parent, key) {
        return new Aai20Message(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiMessageTrait}
     */
    Aai20NodeFactory.prototype.createMessageTrait = function (parent, key) {
        return new Aai20MessageTrait(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiMessageTraitDefinition}
     */
    Aai20NodeFactory.prototype.createMessageTraitDefinition = function (parent, key) {
        return new Aai20MessageTraitDefinition(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiOAuthFlows}
     */
    Aai20NodeFactory.prototype.createOAuthFlows = function (parent) {
        return new Aai20OAuthFlows(parent);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiOperation}
     */
    Aai20NodeFactory.prototype.createOperation = function (parent, key) {
        return new Aai20Operation(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiOperationTrait}
     */
    Aai20NodeFactory.prototype.createOperationTrait = function (parent, key) {
        return new Aai20OperationTrait(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiOperationTraitDefinition}
     */
    Aai20NodeFactory.prototype.createOperationTraitDefinition = function (parent, key) {
        return new Aai20OperationTraitDefinition(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiParameter}
     */
    Aai20NodeFactory.prototype.createParameter = function (parent, key) {
        return new Aai20Parameter(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiSecurityRequirement}
     */
    Aai20NodeFactory.prototype.createSecurityRequirement = function (parent) {
        return new Aai20SecurityRequirement(parent);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiSecurityScheme}
     */
    Aai20NodeFactory.prototype.createSecurityScheme = function (parent, key) {
        return new Aai20SecurityScheme(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiServer}
     */
    Aai20NodeFactory.prototype.createServer = function (parent, key) {
        return new Aai20Server(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiServerVariable}
     */
    Aai20NodeFactory.prototype.createServerVariable = function (parent, key) {
        return new Aai20ServerVariable(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiTag}
     */
    Aai20NodeFactory.prototype.createTag = function (parent) {
        return new Aai20Tag(parent);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiServerBindings}
     */
    Aai20NodeFactory.prototype.createServerBindings = function (parent) {
        return new Aai20ServerBindings(parent);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiServerBindingsDefinition}
     */
    Aai20NodeFactory.prototype.createServerBindingsDefinition = function (parent, key) {
        return new Aai20ServerBindingsDefinition(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiOperationBindings}
     */
    Aai20NodeFactory.prototype.createOperationBindings = function (parent) {
        return new Aai20OperationBindings(parent);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiOperationBindingsDefinition}
     */
    Aai20NodeFactory.prototype.createOperationBindingsDefinition = function (parent, key) {
        return new Aai20OperationBindingsDefinition(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiMessageBindings}
     */
    Aai20NodeFactory.prototype.createMessageBindings = function (parent) {
        return new Aai20MessageBindings(parent);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiMessageBindingsDefinition}
     */
    Aai20NodeFactory.prototype.createMessageBindingsDefinition = function (parent, key) {
        return new Aai20MessageBindingsDefinition(parent, key);
    };
    /**
     *
     * @param {Node} parent
     * @return {AaiChannelBindings}
     */
    Aai20NodeFactory.prototype.createChannelBindings = function (parent) {
        return new Aai20ChannelBindings(parent);
    };
    /**
     *
     * @param {Node} parent
     * @param {string} key
     * @return {AaiChannelBindingsDefinition}
     */
    Aai20NodeFactory.prototype.createChannelBindingsDefinition = function (parent, key) {
        return new Aai20ChannelBindingsDefinition(parent, key);
    };
    return Aai20NodeFactory;
}());
export { Aai20NodeFactory };
Aai20NodeFactory["__class"] = "io.apicurio.datamodels.asyncapi.v2.models.Aai20NodeFactory";
Aai20NodeFactory["__interfaces"] = ["io.apicurio.datamodels.asyncapi.models.IAaiNodeFactory"];
import { Aai20ChannelBindingsDefinition } from './Aai20ChannelBindingsDefinition';
import { Aai20ChannelBindings } from './Aai20ChannelBindings';
import { Aai20MessageBindingsDefinition } from './Aai20MessageBindingsDefinition';
import { Aai20MessageBindings } from './Aai20MessageBindings';
import { Aai20OperationBindingsDefinition } from './Aai20OperationBindingsDefinition';
import { Aai20OperationBindings } from './Aai20OperationBindings';
import { Aai20ServerBindingsDefinition } from './Aai20ServerBindingsDefinition';
import { Aai20ServerBindings } from './Aai20ServerBindings';
import { Aai20Tag } from './Aai20Tag';
import { Aai20ServerVariable } from './Aai20ServerVariable';
import { Aai20Server } from './Aai20Server';
import { Aai20SecurityScheme } from './Aai20SecurityScheme';
import { Aai20SecurityRequirement } from './Aai20SecurityRequirement';
import { Aai20Parameter } from './Aai20Parameter';
import { Aai20OperationTraitDefinition } from './Aai20OperationTraitDefinition';
import { Aai20OperationTrait } from './Aai20OperationTrait';
import { Aai20Operation } from './Aai20Operation';
import { Aai20OAuthFlows } from './Aai20OAuthFlows';
import { Aai20MessageTraitDefinition } from './Aai20MessageTraitDefinition';
import { Aai20MessageTrait } from './Aai20MessageTrait';
import { Aai20Message } from './Aai20Message';
import { Aai20License } from './Aai20License';
import { Aai20Info } from './Aai20Info';
import { Aai20HeaderItem } from './Aai20HeaderItem';
import { Aai20ExternalDocumentation } from './Aai20ExternalDocumentation';
import { Aai20Document } from './Aai20Document';
import { Aai20CorrelationId } from './Aai20CorrelationId';
import { Aai20Contact } from './Aai20Contact';
import { Aai20Components } from './Aai20Components';
import { Aai20ChannelItem } from './Aai20ChannelItem';
//# sourceMappingURL=Aai20NodeFactory.js.map