/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createPlannerPlanFromDiscriminatorValue, serializePlannerPlan } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { ArchiveRequestBuilderRequestsMetadata } from './archive/index.js';
// @ts-ignore
import { BucketsRequestBuilderNavigationMetadata, BucketsRequestBuilderRequestsMetadata } from './buckets/index.js';
// @ts-ignore
import { DetailsRequestBuilderRequestsMetadata } from './details/index.js';
// @ts-ignore
import { MoveToContainerRequestBuilderRequestsMetadata } from './moveToContainer/index.js';
// @ts-ignore
import { TasksRequestBuilderNavigationMetadata, TasksRequestBuilderRequestsMetadata } from './tasks/index.js';
// @ts-ignore
import { UnarchiveRequestBuilderRequestsMetadata } from './unarchive/index.js';
/**
 * Uri template for the request builder.
 */
export const PlannerPlanItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/planner/plans/{plannerPlan%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const PlannerPlanItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const PlannerPlanItemRequestBuilderNavigationMetadata = {
    archive: {
        requestsMetadata: ArchiveRequestBuilderRequestsMetadata,
    },
    buckets: {
        requestsMetadata: BucketsRequestBuilderRequestsMetadata,
        navigationMetadata: BucketsRequestBuilderNavigationMetadata,
    },
    details: {
        requestsMetadata: DetailsRequestBuilderRequestsMetadata,
    },
    moveToContainer: {
        requestsMetadata: MoveToContainerRequestBuilderRequestsMetadata,
    },
    tasks: {
        requestsMetadata: TasksRequestBuilderRequestsMetadata,
        navigationMetadata: TasksRequestBuilderNavigationMetadata,
    },
    unarchive: {
        requestsMetadata: UnarchiveRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const PlannerPlanItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: PlannerPlanItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: PlannerPlanItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createPlannerPlanFromDiscriminatorValue,
        queryParametersMapper: PlannerPlanItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: PlannerPlanItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createPlannerPlanFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializePlannerPlan,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map