"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OnenoteSectionItemRequestBuilderRequestsMetadata = exports.OnenoteSectionItemRequestBuilderNavigationMetadata = exports.OnenoteSectionItemRequestBuilderUriTemplate = void 0;
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
const models_1 = require("@microsoft/msgraph-beta-sdk/models/");
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/");
const copyToNotebook_1 = require("./copyToNotebook/");
const copyToSectionGroup_1 = require("./copyToSectionGroup/");
const pages_1 = require("./pages/");
const parentNotebook_1 = require("./parentNotebook/");
const parentSectionGroup_1 = require("./parentSectionGroup/");
/**
 * Uri template for the request builder.
 */
exports.OnenoteSectionItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/onenote/notebooks/{notebook%2Did}/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.
 */
exports.OnenoteSectionItemRequestBuilderNavigationMetadata = {
    copyToNotebook: {
        requestsMetadata: copyToNotebook_1.CopyToNotebookRequestBuilderRequestsMetadata,
    },
    copyToSectionGroup: {
        requestsMetadata: copyToSectionGroup_1.CopyToSectionGroupRequestBuilderRequestsMetadata,
    },
    pages: {
        requestsMetadata: pages_1.PagesRequestBuilderRequestsMetadata,
        navigationMetadata: pages_1.PagesRequestBuilderNavigationMetadata,
    },
    parentNotebook: {
        requestsMetadata: parentNotebook_1.ParentNotebookRequestBuilderRequestsMetadata,
    },
    parentSectionGroup: {
        requestsMetadata: parentSectionGroup_1.ParentSectionGroupRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.OnenoteSectionItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.OnenoteSectionItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.OnenoteSectionItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createOnenoteSectionFromDiscriminatorValue,
        queryParametersMapper: OnenoteSectionItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.OnenoteSectionItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createOnenoteSectionFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeOnenoteSection,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
