/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createManagedDeviceCollectionResponseFromDiscriminatorValue, createManagedDeviceFromDiscriminatorValue, serializeManagedDevice } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { AppDiagnosticsWithUpnRequestBuilderRequestsMetadata } from './appDiagnosticsWithUpn/index.js';
// @ts-ignore
import { BulkReprovisionCloudPcRequestBuilderRequestsMetadata } from './bulkReprovisionCloudPc/index.js';
// @ts-ignore
import { BulkRestoreCloudPcRequestBuilderRequestsMetadata } from './bulkRestoreCloudPc/index.js';
// @ts-ignore
import { BulkSetCloudPcReviewStatusRequestBuilderRequestsMetadata } from './bulkSetCloudPcReviewStatus/index.js';
// @ts-ignore
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
// @ts-ignore
import { DownloadAppDiagnosticsRequestBuilderRequestsMetadata } from './downloadAppDiagnostics/index.js';
// @ts-ignore
import { DownloadPowerliftAppDiagnosticRequestBuilderRequestsMetadata } from './downloadPowerliftAppDiagnostic/index.js';
// @ts-ignore
import { ExecuteActionRequestBuilderRequestsMetadata } from './executeAction/index.js';
// @ts-ignore
import { ManagedDeviceItemRequestBuilderNavigationMetadata, ManagedDeviceItemRequestBuilderRequestsMetadata } from './item/index.js';
// @ts-ignore
import { MoveDevicesToOURequestBuilderRequestsMetadata } from './moveDevicesToOU/index.js';
// @ts-ignore
import { RetrievePowerliftAppDiagnosticsDetailsWithUserPrincipalNameRequestBuilderRequestsMetadata } from './retrievePowerliftAppDiagnosticsDetailsWithUserPrincipalName/index.js';
/**
 * Uri template for the request builder.
 */
export const ManagedDevicesRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/managedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const ManagedDevicesRequestBuilderGetQueryParametersMapper = {
    "count": "%24count",
    "expand": "%24expand",
    "filter": "%24filter",
    "orderby": "%24orderby",
    "search": "%24search",
    "select": "%24select",
    "skip": "%24skip",
    "top": "%24top",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const ManagedDevicesRequestBuilderNavigationMetadata = {
    appDiagnosticsWithUpn: {
        requestsMetadata: AppDiagnosticsWithUpnRequestBuilderRequestsMetadata,
        pathParametersMappings: ["upn"],
    },
    byManagedDeviceId: {
        requestsMetadata: ManagedDeviceItemRequestBuilderRequestsMetadata,
        navigationMetadata: ManagedDeviceItemRequestBuilderNavigationMetadata,
        pathParametersMappings: ["managedDevice%2Did"],
    },
    retrievePowerliftAppDiagnosticsDetailsWithUserPrincipalName: {
        requestsMetadata: RetrievePowerliftAppDiagnosticsDetailsWithUserPrincipalNameRequestBuilderRequestsMetadata,
        pathParametersMappings: ["userPrincipalName"],
    },
    bulkReprovisionCloudPc: {
        requestsMetadata: BulkReprovisionCloudPcRequestBuilderRequestsMetadata,
    },
    bulkRestoreCloudPc: {
        requestsMetadata: BulkRestoreCloudPcRequestBuilderRequestsMetadata,
    },
    bulkSetCloudPcReviewStatus: {
        requestsMetadata: BulkSetCloudPcReviewStatusRequestBuilderRequestsMetadata,
    },
    count: {
        requestsMetadata: CountRequestBuilderRequestsMetadata,
    },
    downloadAppDiagnostics: {
        requestsMetadata: DownloadAppDiagnosticsRequestBuilderRequestsMetadata,
    },
    downloadPowerliftAppDiagnostic: {
        requestsMetadata: DownloadPowerliftAppDiagnosticRequestBuilderRequestsMetadata,
    },
    executeAction: {
        requestsMetadata: ExecuteActionRequestBuilderRequestsMetadata,
    },
    moveDevicesToOU: {
        requestsMetadata: MoveDevicesToOURequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const ManagedDevicesRequestBuilderRequestsMetadata = {
    get: {
        uriTemplate: ManagedDevicesRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createManagedDeviceCollectionResponseFromDiscriminatorValue,
        queryParametersMapper: ManagedDevicesRequestBuilderGetQueryParametersMapper,
    },
    post: {
        uriTemplate: ManagedDevicesRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createManagedDeviceFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeManagedDevice,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map