/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createUserSolutionRootFromDiscriminatorValue, serializeUserSolutionRoot } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { WorkingTimeScheduleRequestBuilderNavigationMetadata, WorkingTimeScheduleRequestBuilderRequestsMetadata } from './workingTimeSchedule/index.js';
/**
 * Uri template for the request builder.
 */
export const SolutionsRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/solutions{?%24expand,%24select}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const SolutionsRequestBuilderGetQueryParametersMapper = {
    "expand": "%24expand",
    "select": "%24select",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const SolutionsRequestBuilderNavigationMetadata = {
    workingTimeSchedule: {
        requestsMetadata: WorkingTimeScheduleRequestBuilderRequestsMetadata,
        navigationMetadata: WorkingTimeScheduleRequestBuilderNavigationMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const SolutionsRequestBuilderRequestsMetadata = {
    delete: {
        uriTemplate: SolutionsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "sendNoResponseContent",
    },
    get: {
        uriTemplate: SolutionsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createUserSolutionRootFromDiscriminatorValue,
        queryParametersMapper: SolutionsRequestBuilderGetQueryParametersMapper,
    },
    patch: {
        uriTemplate: SolutionsRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createUserSolutionRootFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeUserSolutionRoot,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map