/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createPlannerUserFromDiscriminatorValue, serializePlannerUser } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { AllRequestBuilderNavigationMetadata, AllRequestBuilderRequestsMetadata } from './all/index.js';
// @ts-ignore
import { FavoritePlansRequestBuilderNavigationMetadata, FavoritePlansRequestBuilderRequestsMetadata } from './favoritePlans/index.js';
// @ts-ignore
import { MyDayTasksRequestBuilderNavigationMetadata, MyDayTasksRequestBuilderRequestsMetadata } from './myDayTasks/index.js';
// @ts-ignore
import { PlansRequestBuilderNavigationMetadata, PlansRequestBuilderRequestsMetadata } from './plans/index.js';
// @ts-ignore
import { RecentPlansRequestBuilderNavigationMetadata, RecentPlansRequestBuilderRequestsMetadata } from './recentPlans/index.js';
// @ts-ignore
import { RosterPlansRequestBuilderNavigationMetadata, RosterPlansRequestBuilderRequestsMetadata } from './rosterPlans/index.js';
// @ts-ignore
import { TasksRequestBuilderNavigationMetadata, TasksRequestBuilderRequestsMetadata } from './tasks/index.js';
/**
 * Uri template for the request builder.
 */
export const PlannerRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/planner{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const PlannerRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const PlannerRequestBuilderNavigationMetadata = {
    all: {
        requestsMetadata: AllRequestBuilderRequestsMetadata,
        navigationMetadata: AllRequestBuilderNavigationMetadata,
    },
    favoritePlans: {
        requestsMetadata: FavoritePlansRequestBuilderRequestsMetadata,
        navigationMetadata: FavoritePlansRequestBuilderNavigationMetadata,
    },
    myDayTasks: {
        requestsMetadata: MyDayTasksRequestBuilderRequestsMetadata,
        navigationMetadata: MyDayTasksRequestBuilderNavigationMetadata,
    },
    plans: {
        requestsMetadata: PlansRequestBuilderRequestsMetadata,
        navigationMetadata: PlansRequestBuilderNavigationMetadata,
    },
    recentPlans: {
        requestsMetadata: RecentPlansRequestBuilderRequestsMetadata,
        navigationMetadata: RecentPlansRequestBuilderNavigationMetadata,
    },
    rosterPlans: {
        requestsMetadata: RosterPlansRequestBuilderRequestsMetadata,
        navigationMetadata: RosterPlansRequestBuilderNavigationMetadata,
    },
    tasks: {
        requestsMetadata: TasksRequestBuilderRequestsMetadata,
        navigationMetadata: TasksRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const PlannerRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: PlannerRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: PlannerRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createPlannerUserFromDiscriminatorValue,
        queryParametersMapper: PlannerRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: PlannerRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createPlannerUserFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializePlannerUser,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map