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