"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.serializeTeamsAdminRoot = exports.deserializeIntoTeamsAdminRoot = exports.createTeamsAdminRootFromDiscriminatorValue = void 0;
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
const __1 = require("../");
/**
 * Creates a new instance of the appropriate class based on discriminator value
 * @param parseNode The parse node to use to read the discriminator value and create the object
 * @returns {TeamsAdminRoot}
 */
function createTeamsAdminRootFromDiscriminatorValue(parseNode) {
    return deserializeIntoTeamsAdminRoot;
}
exports.createTeamsAdminRootFromDiscriminatorValue = createTeamsAdminRootFromDiscriminatorValue;
/**
 * The deserialization information for the current model
 * @returns {Record<string, (node: ParseNode) => void>}
 */
function deserializeIntoTeamsAdminRoot(teamsAdminRoot = {}) {
    return Object.assign({}, (0, __1.deserializeIntoEntity)(teamsAdminRoot));
}
exports.deserializeIntoTeamsAdminRoot = deserializeIntoTeamsAdminRoot;
/**
 * Serializes information the current object
 * @param writer Serialization writer to use to serialize this model
 */
function serializeTeamsAdminRoot(writer, teamsAdminRoot = {}) {
    (0, __1.serializeEntity)(writer, teamsAdminRoot);
}
exports.serializeTeamsAdminRoot = serializeTeamsAdminRoot;
/* tslint:enable */
/* eslint-enable */
