"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 oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/");
const security_1 = require("@microsoft/msgraph-beta-sdk/models/security/");
const labelPolicySettings_1 = require("./labelPolicySettings/");
const sensitivityLabels_1 = require("./sensitivityLabels/");
/**
 * Uri template for the request builder.
 */
exports.InformationProtectionRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/security/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 = {
    labelPolicySettings: {
        requestsMetadata: labelPolicySettings_1.LabelPolicySettingsRequestBuilderRequestsMetadata,
    },
    sensitivityLabels: {
        requestsMetadata: sensitivityLabels_1.SensitivityLabelsRequestBuilderRequestsMetadata,
        navigationMetadata: sensitivityLabels_1.SensitivityLabelsRequestBuilderNavigationMetadata,
    },
};
/**
 * 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: security_1.createInformationProtectionFromDiscriminatorValue,
        queryParametersMapper: InformationProtectionRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.InformationProtectionRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: security_1.createInformationProtectionFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: security_1.serializeInformationProtection,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
