"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MailFolderItemRequestBuilderRequestsMetadata = exports.MailFolderItemRequestBuilderNavigationMetadata = exports.MailFolderItemRequestBuilderUriTemplate = 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 childFolders_1 = require("./childFolders/");
const copy_1 = require("./copy/");
const messageRules_1 = require("./messageRules/");
const messages_1 = require("./messages/");
const move_1 = require("./move/");
const userConfigurations_1 = require("./userConfigurations/");
/**
 * Uri template for the request builder.
 */
exports.MailFolderItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}{?%24expand,%24select,includeHiddenFolders*}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const MailFolderItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.MailFolderItemRequestBuilderNavigationMetadata = {
    childFolders: {
        requestsMetadata: childFolders_1.ChildFoldersRequestBuilderRequestsMetadata,
        navigationMetadata: childFolders_1.ChildFoldersRequestBuilderNavigationMetadata,
    },
    copy: {
        requestsMetadata: copy_1.CopyRequestBuilderRequestsMetadata,
    },
    messageRules: {
        requestsMetadata: messageRules_1.MessageRulesRequestBuilderRequestsMetadata,
        navigationMetadata: messageRules_1.MessageRulesRequestBuilderNavigationMetadata,
    },
    messages: {
        requestsMetadata: messages_1.MessagesRequestBuilderRequestsMetadata,
        navigationMetadata: messages_1.MessagesRequestBuilderNavigationMetadata,
    },
    move: {
        requestsMetadata: move_1.MoveRequestBuilderRequestsMetadata,
    },
    userConfigurations: {
        requestsMetadata: userConfigurations_1.UserConfigurationsRequestBuilderRequestsMetadata,
        navigationMetadata: userConfigurations_1.UserConfigurationsRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.MailFolderItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.MailFolderItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.MailFolderItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createMailFolderFromDiscriminatorValue,
        queryParametersMapper: MailFolderItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.MailFolderItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createMailFolderFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeMailFolder,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
