/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createMessageFromDiscriminatorValue, serializeMessage } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { AttachmentsRequestBuilderNavigationMetadata, AttachmentsRequestBuilderRequestsMetadata } from './attachments/index.js';
// @ts-ignore
import { CopyRequestBuilderRequestsMetadata } from './copy/index.js';
// @ts-ignore
import { CreateForwardRequestBuilderRequestsMetadata } from './createForward/index.js';
// @ts-ignore
import { CreateReplyRequestBuilderRequestsMetadata } from './createReply/index.js';
// @ts-ignore
import { CreateReplyAllRequestBuilderRequestsMetadata } from './createReplyAll/index.js';
// @ts-ignore
import { ExtensionsRequestBuilderNavigationMetadata, ExtensionsRequestBuilderRequestsMetadata } from './extensions/index.js';
// @ts-ignore
import { ForwardRequestBuilderRequestsMetadata } from './forward/index.js';
// @ts-ignore
import { MarkAsJunkRequestBuilderRequestsMetadata } from './markAsJunk/index.js';
// @ts-ignore
import { MarkAsNotJunkRequestBuilderRequestsMetadata } from './markAsNotJunk/index.js';
// @ts-ignore
import { MentionsRequestBuilderNavigationMetadata, MentionsRequestBuilderRequestsMetadata } from './mentions/index.js';
// @ts-ignore
import { MoveRequestBuilderRequestsMetadata } from './move/index.js';
// @ts-ignore
import { PermanentDeleteRequestBuilderRequestsMetadata } from './permanentDelete/index.js';
// @ts-ignore
import { ReplyRequestBuilderRequestsMetadata } from './reply/index.js';
// @ts-ignore
import { ReplyAllRequestBuilderRequestsMetadata } from './replyAll/index.js';
// @ts-ignore
import { SendRequestBuilderRequestsMetadata } from './send/index.js';
// @ts-ignore
import { UnsubscribeRequestBuilderRequestsMetadata } from './unsubscribe/index.js';
// @ts-ignore
import { ContentRequestBuilderRequestsMetadata } from './value/index.js';
/**
 * Uri template for the request builder.
 */
export const MessageItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const MessageItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const MessageItemRequestBuilderNavigationMetadata = {
    attachments: {
        requestsMetadata: AttachmentsRequestBuilderRequestsMetadata,
        navigationMetadata: AttachmentsRequestBuilderNavigationMetadata,
    },
    content: {
        requestsMetadata: ContentRequestBuilderRequestsMetadata,
    },
    copy: {
        requestsMetadata: CopyRequestBuilderRequestsMetadata,
    },
    createForward: {
        requestsMetadata: CreateForwardRequestBuilderRequestsMetadata,
    },
    createReply: {
        requestsMetadata: CreateReplyRequestBuilderRequestsMetadata,
    },
    createReplyAll: {
        requestsMetadata: CreateReplyAllRequestBuilderRequestsMetadata,
    },
    extensions: {
        requestsMetadata: ExtensionsRequestBuilderRequestsMetadata,
        navigationMetadata: ExtensionsRequestBuilderNavigationMetadata,
    },
    forward: {
        requestsMetadata: ForwardRequestBuilderRequestsMetadata,
    },
    markAsJunk: {
        requestsMetadata: MarkAsJunkRequestBuilderRequestsMetadata,
    },
    markAsNotJunk: {
        requestsMetadata: MarkAsNotJunkRequestBuilderRequestsMetadata,
    },
    mentions: {
        requestsMetadata: MentionsRequestBuilderRequestsMetadata,
        navigationMetadata: MentionsRequestBuilderNavigationMetadata,
    },
    move: {
        requestsMetadata: MoveRequestBuilderRequestsMetadata,
    },
    permanentDelete: {
        requestsMetadata: PermanentDeleteRequestBuilderRequestsMetadata,
    },
    reply: {
        requestsMetadata: ReplyRequestBuilderRequestsMetadata,
    },
    replyAll: {
        requestsMetadata: ReplyAllRequestBuilderRequestsMetadata,
    },
    send: {
        requestsMetadata: SendRequestBuilderRequestsMetadata,
    },
    unsubscribe: {
        requestsMetadata: UnsubscribeRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const MessageItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: MessageItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: MessageItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createMessageFromDiscriminatorValue,
        queryParametersMapper: MessageItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: MessageItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createMessageFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeMessage,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map