"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CountRequestBuilderUriTemplate = exports.CountRequestBuilderRequestsMetadata = void 0;
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/");
/**
 * 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: {
        responseBodyContentType: "text/plain;q=0.9",
        errorMappings: {
            _4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
            _5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendPrimitiveAsync",
        responseBodyFactory: "number",
        queryParametersMapper: CountRequestBuilderGetQueryParametersMapper,
    },
};
/**
 * Uri template for the request builder.
 */
exports.CountRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/events/{event%2Did}/exceptionOccurrences/$count{?%24filter}";
/* tslint:enable */
/* eslint-enable */
