/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createTodoTaskFromDiscriminatorValue, serializeTodoTask } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { AttachmentsRequestBuilderNavigationMetadata, AttachmentsRequestBuilderRequestsMetadata } from './attachments/index.js';
// @ts-ignore
import { AttachmentSessionsRequestBuilderNavigationMetadata, AttachmentSessionsRequestBuilderRequestsMetadata } from './attachmentSessions/index.js';
// @ts-ignore
import { ChecklistItemsRequestBuilderNavigationMetadata, ChecklistItemsRequestBuilderRequestsMetadata } from './checklistItems/index.js';
// @ts-ignore
import { ExtensionsRequestBuilderNavigationMetadata, ExtensionsRequestBuilderRequestsMetadata } from './extensions/index.js';
// @ts-ignore
import { LinkedResourcesRequestBuilderNavigationMetadata, LinkedResourcesRequestBuilderRequestsMetadata } from './linkedResources/index.js';
/**
 * Uri template for the request builder.
 */
export const TodoTaskItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/todo/lists/{todoTaskList%2Did}/tasks/{todoTask%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const TodoTaskItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const TodoTaskItemRequestBuilderNavigationMetadata = {
    attachments: {
        requestsMetadata: AttachmentsRequestBuilderRequestsMetadata,
        navigationMetadata: AttachmentsRequestBuilderNavigationMetadata,
    },
    attachmentSessions: {
        requestsMetadata: AttachmentSessionsRequestBuilderRequestsMetadata,
        navigationMetadata: AttachmentSessionsRequestBuilderNavigationMetadata,
    },
    checklistItems: {
        requestsMetadata: ChecklistItemsRequestBuilderRequestsMetadata,
        navigationMetadata: ChecklistItemsRequestBuilderNavigationMetadata,
    },
    extensions: {
        requestsMetadata: ExtensionsRequestBuilderRequestsMetadata,
        navigationMetadata: ExtensionsRequestBuilderNavigationMetadata,
    },
    linkedResources: {
        requestsMetadata: LinkedResourcesRequestBuilderRequestsMetadata,
        navigationMetadata: LinkedResourcesRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const TodoTaskItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: TodoTaskItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: TodoTaskItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createTodoTaskFromDiscriminatorValue,
        queryParametersMapper: TodoTaskItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: TodoTaskItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createTodoTaskFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeTodoTask,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map