"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InformationProtectionRequestBuilderRequestsMetadata = exports.InformationProtectionRequestBuilderNavigationMetadata = exports.InformationProtectionRequestBuilderUriTemplate = 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 bitlocker_1 = require("./bitlocker/");
const dataLossPreventionPolicies_1 = require("./dataLossPreventionPolicies/");
const decryptBuffer_1 = require("./decryptBuffer/");
const encryptBuffer_1 = require("./encryptBuffer/");
const policy_1 = require("./policy/");
const sensitivityLabels_1 = require("./sensitivityLabels/");
const sensitivityPolicySettings_1 = require("./sensitivityPolicySettings/");
const signDigest_1 = require("./signDigest/");
const threatAssessmentRequests_1 = require("./threatAssessmentRequests/");
const verifySignature_1 = require("./verifySignature/");
/**
 * Uri template for the request builder.
 */
exports.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.
 */
exports.InformationProtectionRequestBuilderNavigationMetadata = {
    bitlocker: {
        requestsMetadata: bitlocker_1.BitlockerRequestBuilderRequestsMetadata,
        navigationMetadata: bitlocker_1.BitlockerRequestBuilderNavigationMetadata,
    },
    dataLossPreventionPolicies: {
        requestsMetadata: dataLossPreventionPolicies_1.DataLossPreventionPoliciesRequestBuilderRequestsMetadata,
        navigationMetadata: dataLossPreventionPolicies_1.DataLossPreventionPoliciesRequestBuilderNavigationMetadata,
    },
    decryptBuffer: {
        requestsMetadata: decryptBuffer_1.DecryptBufferRequestBuilderRequestsMetadata,
    },
    encryptBuffer: {
        requestsMetadata: encryptBuffer_1.EncryptBufferRequestBuilderRequestsMetadata,
    },
    policy: {
        requestsMetadata: policy_1.PolicyRequestBuilderRequestsMetadata,
        navigationMetadata: policy_1.PolicyRequestBuilderNavigationMetadata,
    },
    sensitivityLabels: {
        requestsMetadata: sensitivityLabels_1.SensitivityLabelsRequestBuilderRequestsMetadata,
        navigationMetadata: sensitivityLabels_1.SensitivityLabelsRequestBuilderNavigationMetadata,
    },
    sensitivityPolicySettings: {
        requestsMetadata: sensitivityPolicySettings_1.SensitivityPolicySettingsRequestBuilderRequestsMetadata,
    },
    signDigest: {
        requestsMetadata: signDigest_1.SignDigestRequestBuilderRequestsMetadata,
    },
    threatAssessmentRequests: {
        requestsMetadata: threatAssessmentRequests_1.ThreatAssessmentRequestsRequestBuilderRequestsMetadata,
        navigationMetadata: threatAssessmentRequests_1.ThreatAssessmentRequestsRequestBuilderNavigationMetadata,
    },
    verifySignature: {
        requestsMetadata: verifySignature_1.VerifySignatureRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.InformationProtectionRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.InformationProtectionRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.InformationProtectionRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createInformationProtectionFromDiscriminatorValue,
        queryParametersMapper: InformationProtectionRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.InformationProtectionRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createInformationProtectionFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeInformationProtection,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
