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