/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createOnenotePageFromDiscriminatorValue, serializeOnenotePage } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { ContentRequestBuilderRequestsMetadata } from './content/index.js';
// @ts-ignore
import { CopyToSectionRequestBuilderRequestsMetadata } from './copyToSection/index.js';
// @ts-ignore
import { OnenotePatchContentRequestBuilderRequestsMetadata } from './onenotePatchContent/index.js';
// @ts-ignore
import { ParentNotebookRequestBuilderRequestsMetadata } from './parentNotebook/index.js';
// @ts-ignore
import { ParentSectionRequestBuilderRequestsMetadata } from './parentSection/index.js';
// @ts-ignore
import { PreviewRequestBuilderRequestsMetadata } from './preview/index.js';
/**
 * Uri template for the request builder.
 */
export const OnenotePageItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/onenote/pages/{onenotePage%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const OnenotePageItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const OnenotePageItemRequestBuilderNavigationMetadata = {
    content: {
        requestsMetadata: ContentRequestBuilderRequestsMetadata,
    },
    copyToSection: {
        requestsMetadata: CopyToSectionRequestBuilderRequestsMetadata,
    },
    onenotePatchContent: {
        requestsMetadata: OnenotePatchContentRequestBuilderRequestsMetadata,
    },
    parentNotebook: {
        requestsMetadata: ParentNotebookRequestBuilderRequestsMetadata,
    },
    parentSection: {
        requestsMetadata: ParentSectionRequestBuilderRequestsMetadata,
    },
    preview: {
        requestsMetadata: PreviewRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const OnenotePageItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: OnenotePageItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: OnenotePageItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createOnenotePageFromDiscriminatorValue,
        queryParametersMapper: OnenotePageItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: OnenotePageItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createOnenotePageFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeOnenotePage,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map