/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createUserSettingsFromDiscriminatorValue, serializeUserSettings } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { ContactMergeSuggestionsRequestBuilderRequestsMetadata } from './contactMergeSuggestions/index.js';
// @ts-ignore
import { ExchangeRequestBuilderRequestsMetadata } from './exchange/index.js';
// @ts-ignore
import { ItemInsightsRequestBuilderRequestsMetadata } from './itemInsights/index.js';
// @ts-ignore
import { RegionalAndLanguageSettingsRequestBuilderRequestsMetadata } from './regionalAndLanguageSettings/index.js';
// @ts-ignore
import { ShiftPreferencesRequestBuilderRequestsMetadata } from './shiftPreferences/index.js';
// @ts-ignore
import { StorageRequestBuilderNavigationMetadata, StorageRequestBuilderRequestsMetadata } from './storage/index.js';
// @ts-ignore
import { WindowsRequestBuilderNavigationMetadata, WindowsRequestBuilderRequestsMetadata } from './windows/index.js';
/**
 * Uri template for the request builder.
 */
export const SettingsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/settings{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const SettingsRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const SettingsRequestBuilderNavigationMetadata = {
    contactMergeSuggestions: {
        requestsMetadata: ContactMergeSuggestionsRequestBuilderRequestsMetadata,
    },
    exchange: {
        requestsMetadata: ExchangeRequestBuilderRequestsMetadata,
    },
    itemInsights: {
        requestsMetadata: ItemInsightsRequestBuilderRequestsMetadata,
    },
    regionalAndLanguageSettings: {
        requestsMetadata: RegionalAndLanguageSettingsRequestBuilderRequestsMetadata,
    },
    shiftPreferences: {
        requestsMetadata: ShiftPreferencesRequestBuilderRequestsMetadata,
    },
    storage: {
        requestsMetadata: StorageRequestBuilderRequestsMetadata,
        navigationMetadata: StorageRequestBuilderNavigationMetadata,
    },
    windows: {
        requestsMetadata: WindowsRequestBuilderRequestsMetadata,
        navigationMetadata: WindowsRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const SettingsRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: SettingsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: SettingsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createUserSettingsFromDiscriminatorValue,
        queryParametersMapper: SettingsRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: SettingsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createUserSettingsFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeUserSettings,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map