"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OutlookTaskFolderItemRequestBuilderRequestsMetadata = exports.OutlookTaskFolderItemRequestBuilderNavigationMetadata = exports.OutlookTaskFolderItemRequestBuilderUriTemplate = 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 tasks_1 = require("./tasks/");
/**
 * Uri template for the request builder.
 */
exports.OutlookTaskFolderItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/outlook/taskFolders/{outlookTaskFolder%2Did}{?%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const OutlookTaskFolderItemRequestBuilderGetQueryParametersMapper = {
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.OutlookTaskFolderItemRequestBuilderNavigationMetadata = {
    tasks: {
        requestsMetadata: tasks_1.TasksRequestBuilderRequestsMetadata,
        navigationMetadata: tasks_1.TasksRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.OutlookTaskFolderItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.OutlookTaskFolderItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.OutlookTaskFolderItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createOutlookTaskFolderFromDiscriminatorValue,
        queryParametersMapper: OutlookTaskFolderItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.OutlookTaskFolderItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createOutlookTaskFolderFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeOutlookTaskFolder,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
