/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createDeviceFromDiscriminatorValue, serializeDevice } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { CommandsRequestBuilderNavigationMetadata, CommandsRequestBuilderRequestsMetadata } from './commands/index.js';
// @ts-ignore
import { DeviceTemplateRequestBuilderNavigationMetadata, DeviceTemplateRequestBuilderRequestsMetadata } from './deviceTemplate/index.js';
// @ts-ignore
import { ExtensionsRequestBuilderNavigationMetadata, ExtensionsRequestBuilderRequestsMetadata } from './extensions/index.js';
// @ts-ignore
import { MemberOfRequestBuilderNavigationMetadata, MemberOfRequestBuilderRequestsMetadata } from './memberOf/index.js';
// @ts-ignore
import { RegisteredOwnersRequestBuilderNavigationMetadata, RegisteredOwnersRequestBuilderRequestsMetadata } from './registeredOwners/index.js';
// @ts-ignore
import { RegisteredUsersRequestBuilderNavigationMetadata, RegisteredUsersRequestBuilderRequestsMetadata } from './registeredUsers/index.js';
// @ts-ignore
import { TransitiveMemberOfRequestBuilderNavigationMetadata, TransitiveMemberOfRequestBuilderRequestsMetadata } from './transitiveMemberOf/index.js';
// @ts-ignore
import { UsageRightsRequestBuilderNavigationMetadata, UsageRightsRequestBuilderRequestsMetadata } from './usageRights/index.js';
/**
 * Uri template for the request builder.
 */
export const DeviceItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/devices/{device%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const DeviceItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const DeviceItemRequestBuilderNavigationMetadata = {
    commands: {
        requestsMetadata: CommandsRequestBuilderRequestsMetadata,
        navigationMetadata: CommandsRequestBuilderNavigationMetadata,
    },
    deviceTemplate: {
        requestsMetadata: DeviceTemplateRequestBuilderRequestsMetadata,
        navigationMetadata: DeviceTemplateRequestBuilderNavigationMetadata,
    },
    extensions: {
        requestsMetadata: ExtensionsRequestBuilderRequestsMetadata,
        navigationMetadata: ExtensionsRequestBuilderNavigationMetadata,
    },
    memberOf: {
        requestsMetadata: MemberOfRequestBuilderRequestsMetadata,
        navigationMetadata: MemberOfRequestBuilderNavigationMetadata,
    },
    registeredOwners: {
        requestsMetadata: RegisteredOwnersRequestBuilderRequestsMetadata,
        navigationMetadata: RegisteredOwnersRequestBuilderNavigationMetadata,
    },
    registeredUsers: {
        requestsMetadata: RegisteredUsersRequestBuilderRequestsMetadata,
        navigationMetadata: RegisteredUsersRequestBuilderNavigationMetadata,
    },
    transitiveMemberOf: {
        requestsMetadata: TransitiveMemberOfRequestBuilderRequestsMetadata,
        navigationMetadata: TransitiveMemberOfRequestBuilderNavigationMetadata,
    },
    usageRights: {
        requestsMetadata: UsageRightsRequestBuilderRequestsMetadata,
        navigationMetadata: UsageRightsRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const DeviceItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: DeviceItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: DeviceItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createDeviceFromDiscriminatorValue,
        queryParametersMapper: DeviceItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: DeviceItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createDeviceFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeDevice,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map