/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createPlannerTaskFromDiscriminatorValue, serializePlannerTask } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { AssignedToTaskBoardFormatRequestBuilderRequestsMetadata } from './assignedToTaskBoardFormat/index.js';
// @ts-ignore
import { BucketTaskBoardFormatRequestBuilderRequestsMetadata } from './bucketTaskBoardFormat/index.js';
// @ts-ignore
import { DetailsRequestBuilderRequestsMetadata } from './details/index.js';
// @ts-ignore
import { ProgressTaskBoardFormatRequestBuilderRequestsMetadata } from './progressTaskBoardFormat/index.js';
/**
 * Uri template for the request builder.
 */
export const PlannerTaskItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const PlannerTaskItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const PlannerTaskItemRequestBuilderNavigationMetadata = {
    assignedToTaskBoardFormat: {
        requestsMetadata: AssignedToTaskBoardFormatRequestBuilderRequestsMetadata,
    },
    bucketTaskBoardFormat: {
        requestsMetadata: BucketTaskBoardFormatRequestBuilderRequestsMetadata,
    },
    details: {
        requestsMetadata: DetailsRequestBuilderRequestsMetadata,
    },
    progressTaskBoardFormat: {
        requestsMetadata: ProgressTaskBoardFormatRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const PlannerTaskItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: PlannerTaskItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: PlannerTaskItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createPlannerTaskFromDiscriminatorValue,
        queryParametersMapper: PlannerTaskItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: PlannerTaskItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createPlannerTaskFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializePlannerTask,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map