/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createInformationProtectionFromDiscriminatorValue, serializeInformationProtection } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { BitlockerRequestBuilderNavigationMetadata, BitlockerRequestBuilderRequestsMetadata } from './bitlocker/index.js';
// @ts-ignore
import { DataLossPreventionPoliciesRequestBuilderNavigationMetadata, DataLossPreventionPoliciesRequestBuilderRequestsMetadata } from './dataLossPreventionPolicies/index.js';
// @ts-ignore
import { DecryptBufferRequestBuilderRequestsMetadata } from './decryptBuffer/index.js';
// @ts-ignore
import { EncryptBufferRequestBuilderRequestsMetadata } from './encryptBuffer/index.js';
// @ts-ignore
import { PolicyRequestBuilderNavigationMetadata, PolicyRequestBuilderRequestsMetadata } from './policy/index.js';
// @ts-ignore
import { SensitivityLabelsRequestBuilderNavigationMetadata, SensitivityLabelsRequestBuilderRequestsMetadata } from './sensitivityLabels/index.js';
// @ts-ignore
import { SensitivityPolicySettingsRequestBuilderRequestsMetadata } from './sensitivityPolicySettings/index.js';
// @ts-ignore
import { SignDigestRequestBuilderRequestsMetadata } from './signDigest/index.js';
// @ts-ignore
import { ThreatAssessmentRequestsRequestBuilderNavigationMetadata, ThreatAssessmentRequestsRequestBuilderRequestsMetadata } from './threatAssessmentRequests/index.js';
// @ts-ignore
import { VerifySignatureRequestBuilderRequestsMetadata } from './verifySignature/index.js';
/**
 * Uri template for the request builder.
 */
export const InformationProtectionRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/informationProtection{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const InformationProtectionRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const InformationProtectionRequestBuilderNavigationMetadata = {
    bitlocker: {
        requestsMetadata: BitlockerRequestBuilderRequestsMetadata,
        navigationMetadata: BitlockerRequestBuilderNavigationMetadata,
    },
    dataLossPreventionPolicies: {
        requestsMetadata: DataLossPreventionPoliciesRequestBuilderRequestsMetadata,
        navigationMetadata: DataLossPreventionPoliciesRequestBuilderNavigationMetadata,
    },
    decryptBuffer: {
        requestsMetadata: DecryptBufferRequestBuilderRequestsMetadata,
    },
    encryptBuffer: {
        requestsMetadata: EncryptBufferRequestBuilderRequestsMetadata,
    },
    policy: {
        requestsMetadata: PolicyRequestBuilderRequestsMetadata,
        navigationMetadata: PolicyRequestBuilderNavigationMetadata,
    },
    sensitivityLabels: {
        requestsMetadata: SensitivityLabelsRequestBuilderRequestsMetadata,
        navigationMetadata: SensitivityLabelsRequestBuilderNavigationMetadata,
    },
    sensitivityPolicySettings: {
        requestsMetadata: SensitivityPolicySettingsRequestBuilderRequestsMetadata,
    },
    signDigest: {
        requestsMetadata: SignDigestRequestBuilderRequestsMetadata,
    },
    threatAssessmentRequests: {
        requestsMetadata: ThreatAssessmentRequestsRequestBuilderRequestsMetadata,
        navigationMetadata: ThreatAssessmentRequestsRequestBuilderNavigationMetadata,
    },
    verifySignature: {
        requestsMetadata: VerifySignatureRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const InformationProtectionRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: InformationProtectionRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: InformationProtectionRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createInformationProtectionFromDiscriminatorValue,
        queryParametersMapper: InformationProtectionRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: InformationProtectionRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createInformationProtectionFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeInformationProtection,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map