"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentRequestBuilderRequestsMetadata = exports.ContentRequestBuilderUriTemplate = void 0;
/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
const oDataErrors_1 = require("@microsoft/msgraph-beta-sdk/models/oDataErrors/");
/**
 * Uri template for the request builder.
 */
exports.ContentRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value{?%24format*}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const ContentRequestBuilderGetQueryParametersMapper = {
    "format": "%24format",
};
/**
 * Metadata for all the requests in the request builder.
 */
exports.ContentRequestBuilderRequestsMetadata = {
    get: {
        uriTemplate: exports.ContentRequestBuilderUriTemplate,
        responseBodyContentType: "application/octet-stream, application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendPrimitive",
        responseBodyFactory: "ArrayBuffer",
        queryParametersMapper: ContentRequestBuilderGetQueryParametersMapper,
    },
    put: {
        uriTemplate: exports.ContentRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendPrimitive",
        responseBodyFactory: "ArrayBuffer",
        requestBodyContentType: "application/octet-stream",
        requestInformationContentSetMethod: "setStreamContent",
    },
};
/* tslint:enable */
/* eslint-enable */
