@microsoft/msgraph-beta-sdk-devicemanagement
Version:
DeviceManagement fluent API for Microsoft Graph
56 lines • 2.44 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createMicrosoftTunnelHealthThresholdFromDiscriminatorValue, serializeMicrosoftTunnelHealthThreshold } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
/**
* Uri template for the request builder.
*/
export const MicrosoftTunnelHealthThresholdItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/microsoftTunnelHealthThresholds/{microsoftTunnelHealthThreshold%2Did}{?%24expand,%24select}";
/**
* Mapper for query parameters from symbol name to serialization name represented as a constant.
*/
const MicrosoftTunnelHealthThresholdItemRequestBuilderGetQueryParametersMapper = {
"expand": "%24expand",
"select": "%24select",
};
/**
* Metadata for all the requests in the request builder.
*/
export const MicrosoftTunnelHealthThresholdItemRequestBuilderRequestsMetadata = {
delete: {
uriTemplate: MicrosoftTunnelHealthThresholdItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue,
},
adapterMethodName: "sendNoResponseContent",
},
get: {
uriTemplate: MicrosoftTunnelHealthThresholdItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue,
},
adapterMethodName: "send",
responseBodyFactory: createMicrosoftTunnelHealthThresholdFromDiscriminatorValue,
queryParametersMapper: MicrosoftTunnelHealthThresholdItemRequestBuilderGetQueryParametersMapper,
},
patch: {
uriTemplate: MicrosoftTunnelHealthThresholdItemRequestBuilderUriTemplate,
responseBodyContentType: "application/json",
errorMappings: {
XXX: createODataErrorFromDiscriminatorValue,
},
adapterMethodName: "send",
responseBodyFactory: createMicrosoftTunnelHealthThresholdFromDiscriminatorValue,
requestBodyContentType: "application/json",
requestBodySerializer: serializeMicrosoftTunnelHealthThreshold,
requestInformationContentSetMethod: "setContentFromParsable",
},
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map