/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createAccessReviewInstanceFromDiscriminatorValue, serializeAccessReviewInstance } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { AcceptRecommendationsRequestBuilderRequestsMetadata } from './acceptRecommendations/index.js';
// @ts-ignore
import { ApplyDecisionsRequestBuilderRequestsMetadata } from './applyDecisions/index.js';
// @ts-ignore
import { BatchRecordDecisionsRequestBuilderRequestsMetadata } from './batchRecordDecisions/index.js';
// @ts-ignore
import { ContactedReviewersRequestBuilderNavigationMetadata, ContactedReviewersRequestBuilderRequestsMetadata } from './contactedReviewers/index.js';
// @ts-ignore
import { DecisionsRequestBuilderNavigationMetadata, DecisionsRequestBuilderRequestsMetadata } from './decisions/index.js';
// @ts-ignore
import { DefinitionRequestBuilderRequestsMetadata } from './definition/index.js';
// @ts-ignore
import { ResetDecisionsRequestBuilderRequestsMetadata } from './resetDecisions/index.js';
// @ts-ignore
import { SendReminderRequestBuilderRequestsMetadata } from './sendReminder/index.js';
// @ts-ignore
import { StagesRequestBuilderNavigationMetadata, StagesRequestBuilderRequestsMetadata } from './stages/index.js';
// @ts-ignore
import { StopRequestBuilderRequestsMetadata } from './stop/index.js';
// @ts-ignore
import { StopApplyDecisionsRequestBuilderRequestsMetadata } from './stopApplyDecisions/index.js';
/**
 * Uri template for the request builder.
 */
export const 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.
 */
export const AccessReviewInstanceItemRequestBuilderNavigationMetadata = {
    acceptRecommendations: {
        requestsMetadata: AcceptRecommendationsRequestBuilderRequestsMetadata,
    },
    applyDecisions: {
        requestsMetadata: ApplyDecisionsRequestBuilderRequestsMetadata,
    },
    batchRecordDecisions: {
        requestsMetadata: BatchRecordDecisionsRequestBuilderRequestsMetadata,
    },
    contactedReviewers: {
        requestsMetadata: ContactedReviewersRequestBuilderRequestsMetadata,
        navigationMetadata: ContactedReviewersRequestBuilderNavigationMetadata,
    },
    decisions: {
        requestsMetadata: DecisionsRequestBuilderRequestsMetadata,
        navigationMetadata: DecisionsRequestBuilderNavigationMetadata,
    },
    definition: {
        requestsMetadata: DefinitionRequestBuilderRequestsMetadata,
    },
    resetDecisions: {
        requestsMetadata: ResetDecisionsRequestBuilderRequestsMetadata,
    },
    sendReminder: {
        requestsMetadata: SendReminderRequestBuilderRequestsMetadata,
    },
    stages: {
        requestsMetadata: StagesRequestBuilderRequestsMetadata,
        navigationMetadata: StagesRequestBuilderNavigationMetadata,
    },
    stop: {
        requestsMetadata: StopRequestBuilderRequestsMetadata,
    },
    stopApplyDecisions: {
        requestsMetadata: StopApplyDecisionsRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const AccessReviewInstanceItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: AccessReviewInstanceItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: AccessReviewInstanceItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createAccessReviewInstanceFromDiscriminatorValue,
        queryParametersMapper: AccessReviewInstanceItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: AccessReviewInstanceItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createAccessReviewInstanceFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeAccessReviewInstance,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map