"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VirtualEventsRequestBuilderRequestsMetadata = exports.VirtualEventsRequestBuilderNavigationMetadata = exports.VirtualEventsRequestBuilderUriTemplate = void 0;
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
const models_1 = require("@microsoft/msgraph-beta-sdk/models/");
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/");
const webinars_1 = require("./webinars/");
/**
 * Uri template for the request builder.
 */
exports.VirtualEventsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/virtualEvents{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const VirtualEventsRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.VirtualEventsRequestBuilderNavigationMetadata = {
    webinars: {
        requestsMetadata: webinars_1.WebinarsRequestBuilderRequestsMetadata,
        navigationMetadata: webinars_1.WebinarsRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.VirtualEventsRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.VirtualEventsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.VirtualEventsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createUserVirtualEventsRootFromDiscriminatorValue,
        queryParametersMapper: VirtualEventsRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.VirtualEventsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createUserVirtualEventsRootFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeUserVirtualEventsRoot,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
