"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PinnedChatMessageInfoItemRequestBuilderRequestsMetadata = exports.PinnedChatMessageInfoItemRequestBuilderNavigationMetadata = exports.PinnedChatMessageInfoItemRequestBuilderUriTemplate = void 0;
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
const models_1 = require("@microsoft/msgraph-beta-sdk/models/");
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/");
const message_1 = require("./message/");
/**
 * Uri template for the request builder.
 */
exports.PinnedChatMessageInfoItemRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/pinnedMessages/{pinnedChatMessageInfo%2Did}{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const PinnedChatMessageInfoItemRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
exports.PinnedChatMessageInfoItemRequestBuilderNavigationMetadata = {
    message: {
        requestsMetadata: message_1.MessageRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.PinnedChatMessageInfoItemRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: exports.PinnedChatMessageInfoItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: exports.PinnedChatMessageInfoItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createPinnedChatMessageInfoFromDiscriminatorValue,
        queryParametersMapper: PinnedChatMessageInfoItemRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: exports.PinnedChatMessageInfoItemRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: models_1.createPinnedChatMessageInfoFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: models_1.serializePinnedChatMessageInfo,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
