"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WindowsProtectionStateRequestBuilderRequestsMetadata = exports.WindowsProtectionStateRequestBuilderNavigationMetadata = exports.WindowsProtectionStateRequestBuilderUriTemplate = 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 detectedMalwareState_1 = require("./detectedMalwareState/");
/**
 * Uri template for the request builder.
 */
exports.WindowsProtectionStateRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/managedDevices/{managedDevice%2Did}/windowsProtectionState{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const WindowsProtectionStateRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.WindowsProtectionStateRequestBuilderNavigationMetadata = {
    detectedMalwareState: {
        requestsMetadata: detectedMalwareState_1.DetectedMalwareStateRequestBuilderRequestsMetadata,
        navigationMetadata: detectedMalwareState_1.DetectedMalwareStateRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.WindowsProtectionStateRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.WindowsProtectionStateRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.WindowsProtectionStateRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createWindowsProtectionStateFromDiscriminatorValue,
        queryParametersMapper: WindowsProtectionStateRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.WindowsProtectionStateRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createWindowsProtectionStateFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeWindowsProtectionState,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
