/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createOnenoteSectionFromDiscriminatorValue, serializeOnenoteSection } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { CopyToNotebookRequestBuilderRequestsMetadata } from './copyToNotebook/index.js';
// @ts-ignore
import { CopyToSectionGroupRequestBuilderRequestsMetadata } from './copyToSectionGroup/index.js';
// @ts-ignore
import { PagesRequestBuilderNavigationMetadata, PagesRequestBuilderRequestsMetadata } from './pages/index.js';
// @ts-ignore
import { ParentNotebookRequestBuilderRequestsMetadata } from './parentNotebook/index.js';
// @ts-ignore
import { ParentSectionGroupRequestBuilderRequestsMetadata } from './parentSectionGroup/index.js';
/**
 * Uri template for the request builder.
 */
export const OnenoteSectionItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/onenote/sections/{onenoteSection%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const OnenoteSectionItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const OnenoteSectionItemRequestBuilderNavigationMetadata = {
    copyToNotebook: {
        requestsMetadata: CopyToNotebookRequestBuilderRequestsMetadata,
    },
    copyToSectionGroup: {
        requestsMetadata: CopyToSectionGroupRequestBuilderRequestsMetadata,
    },
    pages: {
        requestsMetadata: PagesRequestBuilderRequestsMetadata,
        navigationMetadata: PagesRequestBuilderNavigationMetadata,
    },
    parentNotebook: {
        requestsMetadata: ParentNotebookRequestBuilderRequestsMetadata,
    },
    parentSectionGroup: {
        requestsMetadata: ParentSectionGroupRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const OnenoteSectionItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: OnenoteSectionItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: OnenoteSectionItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createOnenoteSectionFromDiscriminatorValue,
        queryParametersMapper: OnenoteSectionItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: OnenoteSectionItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createOnenoteSectionFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeOnenoteSection,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map