"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CountRequestBuilderRequestsMetadata = exports.CountRequestBuilderUriTemplate = void 0;
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/");
/**
 * Uri template for the request builder.
 */
exports.CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/calendars/$count{?%24filter}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const CountRequestBuilderGetQueryParametersMapper = {
    "filter": "%24filter",
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.CountRequestBuilderRequestsMetadata = {
    get: {
        uriTemplate: exports.CountRequestBuilderUriTemplate,
        responseBodyContentType: "text/plain;q=0.9",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendPrimitive",
        responseBodyFactory: "number",
        queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
    },
};
/* tslint:enable */
/* eslint-enable */
