/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue, serializeHardwareOathTokenAuthenticationMethodDevice } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { AssignToRequestBuilderNavigationMetadata, AssignToRequestBuilderRequestsMetadata } from './assignTo/index.js';
// @ts-ignore
import { HardwareOathDevicesRequestBuilderNavigationMetadata, HardwareOathDevicesRequestBuilderRequestsMetadata } from './hardwareOathDevices/index.js';
/**
 * Uri template for the request builder.
 */
export const DeviceRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const DeviceRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const DeviceRequestBuilderNavigationMetadata = {
    assignTo: {
        requestsMetadata: AssignToRequestBuilderRequestsMetadata,
        navigationMetadata: AssignToRequestBuilderNavigationMetadata,
    },
    hardwareOathDevices: {
        requestsMetadata: HardwareOathDevicesRequestBuilderRequestsMetadata,
        navigationMetadata: HardwareOathDevicesRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const DeviceRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: DeviceRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: DeviceRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue,
        queryParametersMapper: DeviceRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: DeviceRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createHardwareOathTokenAuthenticationMethodDeviceFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeHardwareOathTokenAuthenticationMethodDevice,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map