/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createChatMessageFromDiscriminatorValue, serializeChatMessage } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { HostedContentsRequestBuilderNavigationMetadata, HostedContentsRequestBuilderRequestsMetadata } from './hostedContents/index.js';
// @ts-ignore
import { SetReactionRequestBuilderRequestsMetadata } from './setReaction/index.js';
// @ts-ignore
import { SoftDeleteRequestBuilderRequestsMetadata } from './softDelete/index.js';
// @ts-ignore
import { UndoSoftDeleteRequestBuilderRequestsMetadata } from './undoSoftDelete/index.js';
// @ts-ignore
import { UnsetReactionRequestBuilderRequestsMetadata } from './unsetReaction/index.js';
/**
 * Uri template for the request builder.
 */
export const ChatMessageItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const ChatMessageItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const ChatMessageItemRequestBuilderNavigationMetadata = {
    hostedContents: {
        requestsMetadata: HostedContentsRequestBuilderRequestsMetadata,
        navigationMetadata: HostedContentsRequestBuilderNavigationMetadata,
    },
    setReaction: {
        requestsMetadata: SetReactionRequestBuilderRequestsMetadata,
    },
    softDelete: {
        requestsMetadata: SoftDeleteRequestBuilderRequestsMetadata,
    },
    undoSoftDelete: {
        requestsMetadata: UndoSoftDeleteRequestBuilderRequestsMetadata,
    },
    unsetReaction: {
        requestsMetadata: UnsetReactionRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const ChatMessageItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: ChatMessageItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: ChatMessageItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createChatMessageFromDiscriminatorValue,
        queryParametersMapper: ChatMessageItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: ChatMessageItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createChatMessageFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeChatMessage,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map