/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createPresenceFromDiscriminatorValue, serializePresence } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { ClearPresenceRequestBuilderRequestsMetadata } from './clearPresence/index.js';
// @ts-ignore
import { ClearUserPreferredPresenceRequestBuilderRequestsMetadata } from './clearUserPreferredPresence/index.js';
// @ts-ignore
import { SetPresenceRequestBuilderRequestsMetadata } from './setPresence/index.js';
// @ts-ignore
import { SetStatusMessageRequestBuilderRequestsMetadata } from './setStatusMessage/index.js';
// @ts-ignore
import { SetUserPreferredPresenceRequestBuilderRequestsMetadata } from './setUserPreferredPresence/index.js';
/**
 * Uri template for the request builder.
 */
export const PresenceRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/presence{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const PresenceRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const PresenceRequestBuilderNavigationMetadata = {
    clearPresence: {
        requestsMetadata: ClearPresenceRequestBuilderRequestsMetadata,
    },
    clearUserPreferredPresence: {
        requestsMetadata: ClearUserPreferredPresenceRequestBuilderRequestsMetadata,
    },
    setPresence: {
        requestsMetadata: SetPresenceRequestBuilderRequestsMetadata,
    },
    setStatusMessage: {
        requestsMetadata: SetStatusMessageRequestBuilderRequestsMetadata,
    },
    setUserPreferredPresence: {
        requestsMetadata: SetUserPreferredPresenceRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const PresenceRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: PresenceRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: PresenceRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createPresenceFromDiscriminatorValue,
        queryParametersMapper: PresenceRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: PresenceRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createPresenceFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializePresence,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map