"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LabelPolicySettingsRequestBuilderRequestsMetadata = exports.LabelPolicySettingsRequestBuilderUriTemplate = 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/");
/**
 * Uri template for the request builder.
 */
exports.LabelPolicySettingsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/security/informationProtection/labelPolicySettings{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const LabelPolicySettingsRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.LabelPolicySettingsRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.LabelPolicySettingsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.LabelPolicySettingsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: security_1.createInformationProtectionPolicySettingFromDiscriminatorValue,
        queryParametersMapper: LabelPolicySettingsRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.LabelPolicySettingsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: security_1.createInformationProtectionPolicySettingFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: security_1.serializeInformationProtectionPolicySetting,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
