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