"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CloudPCItemRequestBuilderRequestsMetadata = exports.CloudPCItemRequestBuilderNavigationMetadata = exports.CloudPCItemRequestBuilderUriTemplate = 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 changeUserAccountType_1 = require("./changeUserAccountType/");
const createSnapshot_1 = require("./createSnapshot/");
const endGracePeriod_1 = require("./endGracePeriod/");
const getCloudPcConnectivityHistory_1 = require("./getCloudPcConnectivityHistory/");
const getCloudPcLaunchInfo_1 = require("./getCloudPcLaunchInfo/");
const getSupportedCloudPcRemoteActions_1 = require("./getSupportedCloudPcRemoteActions/");
const powerOff_1 = require("./powerOff/");
const powerOn_1 = require("./powerOn/");
const reboot_1 = require("./reboot/");
const rename_1 = require("./rename/");
const reprovision_1 = require("./reprovision/");
const resize_1 = require("./resize/");
const restore_1 = require("./restore/");
const retryPartnerAgentInstallation_1 = require("./retryPartnerAgentInstallation/");
const start_1 = require("./start/");
const stop_1 = require("./stop/");
const troubleshoot_1 = require("./troubleshoot/");
/**
 * Uri template for the request builder.
 */
exports.CloudPCItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const CloudPCItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.CloudPCItemRequestBuilderNavigationMetadata = {
    changeUserAccountType: {
        requestsMetadata: changeUserAccountType_1.ChangeUserAccountTypeRequestBuilderRequestsMetadata,
    },
    createSnapshot: {
        requestsMetadata: createSnapshot_1.CreateSnapshotRequestBuilderRequestsMetadata,
    },
    endGracePeriod: {
        requestsMetadata: endGracePeriod_1.EndGracePeriodRequestBuilderRequestsMetadata,
    },
    getCloudPcConnectivityHistory: {
        requestsMetadata: getCloudPcConnectivityHistory_1.GetCloudPcConnectivityHistoryRequestBuilderRequestsMetadata,
    },
    getCloudPcLaunchInfo: {
        requestsMetadata: getCloudPcLaunchInfo_1.GetCloudPcLaunchInfoRequestBuilderRequestsMetadata,
    },
    getSupportedCloudPcRemoteActions: {
        requestsMetadata: getSupportedCloudPcRemoteActions_1.GetSupportedCloudPcRemoteActionsRequestBuilderRequestsMetadata,
    },
    powerOff: {
        requestsMetadata: powerOff_1.PowerOffRequestBuilderRequestsMetadata,
    },
    powerOn: {
        requestsMetadata: powerOn_1.PowerOnRequestBuilderRequestsMetadata,
    },
    reboot: {
        requestsMetadata: reboot_1.RebootRequestBuilderRequestsMetadata,
    },
    rename: {
        requestsMetadata: rename_1.RenameRequestBuilderRequestsMetadata,
    },
    reprovision: {
        requestsMetadata: reprovision_1.ReprovisionRequestBuilderRequestsMetadata,
    },
    resize: {
        requestsMetadata: resize_1.ResizeRequestBuilderRequestsMetadata,
    },
    restore: {
        requestsMetadata: restore_1.RestoreRequestBuilderRequestsMetadata,
    },
    retryPartnerAgentInstallation: {
        requestsMetadata: retryPartnerAgentInstallation_1.RetryPartnerAgentInstallationRequestBuilderRequestsMetadata,
    },
    start: {
        requestsMetadata: start_1.StartRequestBuilderRequestsMetadata,
    },
    stop: {
        requestsMetadata: stop_1.StopRequestBuilderRequestsMetadata,
    },
    troubleshoot: {
        requestsMetadata: troubleshoot_1.TroubleshootRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.CloudPCItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.CloudPCItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.CloudPCItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createCloudPCFromDiscriminatorValue,
        queryParametersMapper: CloudPCItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.CloudPCItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createCloudPCFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializeCloudPC,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
