/* tslint:disable */
/* eslint-disable */
// Generated by Microsoft Kiota
// @ts-ignore
import { createUserCollectionResponseFromDiscriminatorValue, createUserFromDiscriminatorValue, serializeUser } from '@microsoft/msgraph-beta-sdk/models/index.js';
// @ts-ignore
import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js';
// @ts-ignore
import { CountRequestBuilderRequestsMetadata } from './count/index.js';
// @ts-ignore
import { DeltaRequestBuilderRequestsMetadata } from './delta/index.js';
// @ts-ignore
import { GetByIdsRequestBuilderRequestsMetadata } from './getByIds/index.js';
// @ts-ignore
import { GetManagedAppBlockedUsersRequestBuilderRequestsMetadata } from './getManagedAppBlockedUsers/index.js';
// @ts-ignore
import { GetUserOwnedObjectsRequestBuilderRequestsMetadata } from './getUserOwnedObjects/index.js';
// @ts-ignore
import { UserItemRequestBuilderNavigationMetadata, UserItemRequestBuilderRequestsMetadata } from './item/index.js';
// @ts-ignore
import { ValidatePasswordRequestBuilderRequestsMetadata } from './validatePassword/index.js';
// @ts-ignore
import { ValidatePropertiesRequestBuilderRequestsMetadata } from './validateProperties/index.js';
/**
 * Uri template for the request builder.
 */
export const UsersRequestBuilderUriTemplate = "{+baseurl}/users{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}";
/**
 * Mapper for query parameters from symbol name to serialization name represented as a constant.
 */
const UsersRequestBuilderGetQueryParametersMapper = {
    "count": "%24count",
    "expand": "%24expand",
    "filter": "%24filter",
    "orderby": "%24orderby",
    "search": "%24search",
    "select": "%24select",
    "top": "%24top",
};
/**
 * Metadata for all the navigation properties in the request builder.
 */
export const UsersRequestBuilderNavigationMetadata = {
    byUserId: {
        requestsMetadata: UserItemRequestBuilderRequestsMetadata,
        navigationMetadata: UserItemRequestBuilderNavigationMetadata,
        pathParametersMappings: ["user%2Did"],
    },
    count: {
        requestsMetadata: CountRequestBuilderRequestsMetadata,
    },
    delta: {
        requestsMetadata: DeltaRequestBuilderRequestsMetadata,
    },
    getByIds: {
        requestsMetadata: GetByIdsRequestBuilderRequestsMetadata,
    },
    getManagedAppBlockedUsers: {
        requestsMetadata: GetManagedAppBlockedUsersRequestBuilderRequestsMetadata,
    },
    getUserOwnedObjects: {
        requestsMetadata: GetUserOwnedObjectsRequestBuilderRequestsMetadata,
    },
    validatePassword: {
        requestsMetadata: ValidatePasswordRequestBuilderRequestsMetadata,
    },
    validateProperties: {
        requestsMetadata: ValidatePropertiesRequestBuilderRequestsMetadata,
    },
};
/**
 * Metadata for all the requests in the request builder.
 */
export const UsersRequestBuilderRequestsMetadata = {
    get: {
        uriTemplate: UsersRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createUserCollectionResponseFromDiscriminatorValue,
        queryParametersMapper: UsersRequestBuilderGetQueryParametersMapper,
    },
    post: {
        uriTemplate: UsersRequestBuilderUriTemplate,
        responseBodyContentType: "application/json",
        errorMappings: {
            XXX: createODataErrorFromDiscriminatorValue,
        },
        adapterMethodName: "send",
        responseBodyFactory: createUserFromDiscriminatorValue,
        requestBodyContentType: "application/json",
        requestBodySerializer: serializeUser,
        requestInformationContentSetMethod: "setContentFromParsable",
    },
};
/* tslint:enable */
/* eslint-enable */
//# sourceMappingURL=index.js.map