UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
71 lines 2.94 kB
/* tslint:disable */ /* eslint-disable */ // Generated by Microsoft Kiota // @ts-ignore import { createODataErrorFromDiscriminatorValue } from '@microsoft/msgraph-beta-sdk/models/oDataErrors/index.js'; // @ts-ignore import { createInformationProtectionFromDiscriminatorValue, serializeInformationProtection } from '@microsoft/msgraph-beta-sdk/models/security/index.js'; // @ts-ignore import { LabelPolicySettingsRequestBuilderRequestsMetadata } from './labelPolicySettings/index.js'; // @ts-ignore import { SensitivityLabelsRequestBuilderNavigationMetadata, SensitivityLabelsRequestBuilderRequestsMetadata } from './sensitivityLabels/index.js'; /** * Uri template for the request builder. */ export const InformationProtectionRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/security/informationProtection{?%24expand,%24select}"; /** * Mapper for query parameters from symbol name to serialization name represented as a constant. */ const InformationProtectionRequestBuilderGetQueryParametersMapper = { "expand": "%24expand", "select": "%24select", }; /** * Metadata for all the navigation properties in the request builder. */ export const InformationProtectionRequestBuilderNavigationMetadata = { labelPolicySettings: { requestsMetadata: LabelPolicySettingsRequestBuilderRequestsMetadata, }, sensitivityLabels: { requestsMetadata: SensitivityLabelsRequestBuilderRequestsMetadata, navigationMetadata: SensitivityLabelsRequestBuilderNavigationMetadata, }, }; /** * Metadata for all the requests in the request builder. */ export const InformationProtectionRequestBuilderRequestsMetadata = { delete: { uriTemplate: InformationProtectionRequestBuilderUriTemplate, errorMappings: { XXX: createODataErrorFromDiscriminatorValue, }, adapterMethodName: "sendNoResponseContent", }, get: { uriTemplate: InformationProtectionRequestBuilderUriTemplate, responseBodyContentType: "application/json", errorMappings: { XXX: createODataErrorFromDiscriminatorValue, }, adapterMethodName: "send", responseBodyFactory: createInformationProtectionFromDiscriminatorValue, queryParametersMapper: InformationProtectionRequestBuilderGetQueryParametersMapper, }, patch: { uriTemplate: InformationProtectionRequestBuilderUriTemplate, responseBodyContentType: "application/json", errorMappings: { XXX: createODataErrorFromDiscriminatorValue, }, adapterMethodName: "send", responseBodyFactory: createInformationProtectionFromDiscriminatorValue, requestBodyContentType: "application/json", requestBodySerializer: serializeInformationProtection, requestInformationContentSetMethod: "setContentFromParsable", }, }; /* tslint:enable */ /* eslint-enable */ //# sourceMappingURL=index.js.map