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