"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccessReviewInstanceItemRequestBuilderRequestsMetadata = exports.AccessReviewInstanceItemRequestBuilderNavigationMetadata = exports.AccessReviewInstanceItemRequestBuilderUriTemplate = 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 acceptRecommendations_1 = require("./acceptRecommendations/");
const applyDecisions_1 = require("./applyDecisions/");
const batchRecordDecisions_1 = require("./batchRecordDecisions/");
const contactedReviewers_1 = require("./contactedReviewers/");
const decisions_1 = require("./decisions/");
const definition_1 = require("./definition/");
const resetDecisions_1 = require("./resetDecisions/");
const sendReminder_1 = require("./sendReminder/");
const stages_1 = require("./stages/");
const stop_1 = require("./stop/");
const stopApplyDecisions_1 = require("./stopApplyDecisions/");
/**
 * Uri template for the request builder.
 */
exports.AccessReviewInstanceItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/pendingAccessReviewInstances/{accessReviewInstance%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const AccessReviewInstanceItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.AccessReviewInstanceItemRequestBuilderNavigationMetadata = {
    acceptRecommendations: {
        requestsMetadata: acceptRecommendations_1.AcceptRecommendationsRequestBuilderRequestsMetadata,
    },
    applyDecisions: {
        requestsMetadata: applyDecisions_1.ApplyDecisionsRequestBuilderRequestsMetadata,
    },
    batchRecordDecisions: {
        requestsMetadata: batchRecordDecisions_1.BatchRecordDecisionsRequestBuilderRequestsMetadata,
    },
    contactedReviewers: {
        requestsMetadata: contactedReviewers_1.ContactedReviewersRequestBuilderRequestsMetadata,
        navigationMetadata: contactedReviewers_1.ContactedReviewersRequestBuilderNavigationMetadata,
    },
    decisions: {
        requestsMetadata: decisions_1.DecisionsRequestBuilderRequestsMetadata,
        navigationMetadata: decisions_1.DecisionsRequestBuilderNavigationMetadata,
    },
    definition: {
        requestsMetadata: definition_1.DefinitionRequestBuilderRequestsMetadata,
    },
    resetDecisions: {
        requestsMetadata: resetDecisions_1.ResetDecisionsRequestBuilderRequestsMetadata,
    },
    sendReminder: {
        requestsMetadata: sendReminder_1.SendReminderRequestBuilderRequestsMetadata,
    },
    stages: {
        requestsMetadata: stages_1.StagesRequestBuilderRequestsMetadata,
        navigationMetadata: stages_1.StagesRequestBuilderNavigationMetadata,
    },
    stop: {
        requestsMetadata: stop_1.StopRequestBuilderRequestsMetadata,
    },
    stopApplyDecisions: {
        requestsMetadata: stopApplyDecisions_1.StopApplyDecisionsRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.AccessReviewInstanceItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.AccessReviewInstanceItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.AccessReviewInstanceItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createAccessReviewInstanceFromDiscriminatorValue,
        queryParametersMapper: AccessReviewInstanceItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.AccessReviewInstanceItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createAccessReviewInstanceFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeAccessReviewInstance,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
