UNPKG

@microsoft/msgraph-sdk

Version:
933 lines 6.41 MB
/* tslint:disable */ /* eslint-disable */ // Generated by Microsoft Kiota // @ts-ignore import { createCallRecordFromDiscriminatorValue, deserializeIntoCallRecord, deserializeIntoOrganizer, deserializeIntoParticipantBase, deserializeIntoSegment, deserializeIntoSession, serializeCallRecord, serializeOrganizer, serializeParticipantBase, serializeSegment, serializeSession } from './callRecords/index.js'; // @ts-ignore import { deserializeIntoConnectionOperation, deserializeIntoExternalActivity, deserializeIntoExternalActivityResult, deserializeIntoExternalConnection, deserializeIntoExternalGroup, deserializeIntoExternalItem, deserializeIntoIdentity as I137354aa1f844bbb5aa5ffd805e739993f9683605f407d143ca49924697fa7af, deserializeIntoSchema, serializeConnectionOperation, serializeExternalActivity, serializeExternalActivityResult, serializeExternalConnection, serializeExternalGroup, serializeExternalItem, serializeIdentity as I178254c80164e8fb331c0f13cad495cf2b0e29315eef8e9581b000c7356716dd, serializeSchema } from './externalConnectors/index.js'; // @ts-ignore import { createLifecycleWorkflowsContainerFromDiscriminatorValue, createWorkflowFromDiscriminatorValue, deserializeIntoCustomTaskExtension, deserializeIntoCustomTaskExtensionCallbackConfiguration, deserializeIntoCustomTaskExtensionCallbackData, deserializeIntoCustomTaskExtensionCalloutData, deserializeIntoGroupBasedSubjectSet, deserializeIntoInsights, deserializeIntoLifecycleManagementSettings, deserializeIntoLifecycleWorkflowsContainer, deserializeIntoRuleBasedSubjectSet, deserializeIntoRun, deserializeIntoTask, deserializeIntoTaskDefinition, deserializeIntoTaskProcessingResult, deserializeIntoTaskReport, deserializeIntoUserProcessingResult, deserializeIntoWorkflowTemplate, serializeCustomTaskExtension, serializeCustomTaskExtensionCallbackConfiguration, serializeCustomTaskExtensionCallbackData, serializeCustomTaskExtensionCalloutData, serializeGroupBasedSubjectSet, serializeInsights, serializeLifecycleManagementSettings, serializeLifecycleWorkflowsContainer, serializeRuleBasedSubjectSet, serializeRun, serializeTask, serializeTaskDefinition, serializeTaskProcessingResult, serializeTaskReport, serializeUserProcessingResult, serializeWorkflow, serializeWorkflowTemplate } from './identityGovernance/index.js'; // @ts-ignore import { createBillingFromDiscriminatorValue, deserializeIntoAzureUsage, deserializeIntoBilledReconciliation, deserializeIntoBilledUsage, deserializeIntoBilling, deserializeIntoBillingReconciliation, deserializeIntoExportSuccessOperation, deserializeIntoFailedOperation, deserializeIntoManifest, deserializeIntoRunningOperation, deserializeIntoUnbilledReconciliation, deserializeIntoUnbilledUsage, serializeAzureUsage, serializeBilledReconciliation, serializeBilledUsage, serializeBilling, serializeBillingReconciliation, serializeExportSuccessOperation, serializeFailedOperation, serializeManifest, serializeRunningOperation, serializeUnbilledReconciliation, serializeUnbilledUsage } from './partners/billing/index.js'; // @ts-ignore import { createAcronymFromDiscriminatorValue, createBookmarkFromDiscriminatorValue, createQnaFromDiscriminatorValue, deserializeIntoAcronym, deserializeIntoBookmark, deserializeIntoQna, deserializeIntoSearchAnswer, serializeAcronym, serializeBookmark, serializeQna, serializeSearchAnswer } from './search/index.js'; // @ts-ignore import { BehaviorDuringRetentionPeriodObject, createCasesRootFromDiscriminatorValue, createIdentityContainerFromDiscriminatorValue as I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9, createIncidentFromDiscriminatorValue, createLabelsRootFromDiscriminatorValue, createThreatIntelligenceFromDiscriminatorValue, createTriggersRootFromDiscriminatorValue, createTriggerTypesRootFromDiscriminatorValue, deserializeIntoArticle, deserializeIntoArticleIndicator, deserializeIntoArtifact, deserializeIntoAuthorityTemplate, deserializeIntoCaseEscaped, deserializeIntoCaseOperation, deserializeIntoCasesRoot, deserializeIntoCategoryTemplate, deserializeIntoCitationTemplate, deserializeIntoDataSet, deserializeIntoDataSource, deserializeIntoDataSourceContainer, deserializeIntoDepartmentTemplate, deserializeIntoDispositionReviewStage, deserializeIntoEdiscoveryAddToReviewSetOperation, deserializeIntoEdiscoveryCase, deserializeIntoEdiscoveryCaseSettings, deserializeIntoEdiscoveryCustodian, deserializeIntoEdiscoveryEstimateOperation, deserializeIntoEdiscoveryExportOperation, deserializeIntoEdiscoveryHoldOperation, deserializeIntoEdiscoveryIndexOperation, deserializeIntoEdiscoveryNoncustodialDataSource, deserializeIntoEdiscoveryPurgeDataOperation, deserializeIntoEdiscoveryReviewSet, deserializeIntoEdiscoveryReviewSetQuery, deserializeIntoEdiscoveryReviewTag, deserializeIntoEdiscoverySearch, deserializeIntoEdiscoverySearchExportOperation, deserializeIntoEdiscoveryTagOperation, deserializeIntoFilePlanDescriptor, deserializeIntoFilePlanDescriptorTemplate, deserializeIntoFilePlanReferenceTemplate, deserializeIntoHealthIssue, deserializeIntoHost, deserializeIntoHostComponent, deserializeIntoHostCookie, deserializeIntoHostname, deserializeIntoHostPair, deserializeIntoHostPort, deserializeIntoHostReputation, deserializeIntoHostSslCertificate, deserializeIntoHostTracker, deserializeIntoIncident, deserializeIntoIndicator, deserializeIntoIntelligenceProfile, deserializeIntoIntelligenceProfileIndicator, deserializeIntoIpAddress, deserializeIntoLabelsRoot, deserializeIntoNetworkAdapter, deserializeIntoPassiveDnsRecord, deserializeIntoRetentionEvent, deserializeIntoRetentionEventType, deserializeIntoRetentionLabel, deserializeIntoSearch, deserializeIntoSensor, deserializeIntoSiteSource, deserializeIntoSslCertificate, deserializeIntoSubcategoryTemplate, deserializeIntoSubdomain, deserializeIntoTag, deserializeIntoThreatIntelligence, deserializeIntoTriggersRoot, deserializeIntoTriggerTypesRoot, deserializeIntoUnclassifiedArtifact, deserializeIntoUnifiedGroupSource, deserializeIntoUserSource, deserializeIntoVulnerability, deserializeIntoVulnerabilityComponent, deserializeIntoWhoisBaseRecord, deserializeIntoWhoisHistoryRecord, deserializeIntoWhoisRecord, serializeArticle, serializeArticleIndicator, serializeArtifact, serializeAuthorityTemplate, serializeCaseEscaped, serializeCaseOperation, serializeCasesRoot, serializeCategoryTemplate, serializeCitationTemplate, serializeDataSet, serializeDataSource, serializeDataSourceContainer, serializeDepartmentTemplate, serializeDispositionReviewStage, serializeEdiscoveryAddToReviewSetOperation, serializeEdiscoveryCase, serializeEdiscoveryCaseSettings, serializeEdiscoveryCustodian, serializeEdiscoveryEstimateOperation, serializeEdiscoveryExportOperation, serializeEdiscoveryHoldOperation, serializeEdiscoveryIndexOperation, serializeEdiscoveryNoncustodialDataSource, serializeEdiscoveryPurgeDataOperation, serializeEdiscoveryReviewSet, serializeEdiscoveryReviewSetQuery, serializeEdiscoveryReviewTag, serializeEdiscoverySearch, serializeEdiscoverySearchExportOperation, serializeEdiscoveryTagOperation, serializeFilePlanDescriptor, serializeFilePlanDescriptorTemplate, serializeFilePlanReferenceTemplate, serializeHealthIssue, serializeHost, serializeHostComponent, serializeHostCookie, serializeHostname, serializeHostPair, serializeHostPort, serializeHostReputation, serializeHostSslCertificate, serializeHostTracker, serializeIdentityContainer as I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1, serializeIncident, serializeIndicator, serializeIntelligenceProfile, serializeIntelligenceProfileIndicator, serializeIpAddress, serializeLabelsRoot, serializeNetworkAdapter, serializePassiveDnsRecord, serializeRetentionEvent, serializeRetentionEventType, serializeRetentionLabel, serializeSearch, serializeSensor, serializeSiteSource, serializeSslCertificate, serializeSubcategoryTemplate, serializeSubdomain, serializeTag, serializeThreatIntelligence, serializeTriggersRoot, serializeTriggerTypesRoot, serializeUnclassifiedArtifact, serializeUnifiedGroupSource, serializeUserSource, serializeVulnerability, serializeVulnerabilityComponent, serializeWhoisBaseRecord, serializeWhoisHistoryRecord, serializeWhoisRecord } from './security/index.js'; // @ts-ignore import { createSetFromDiscriminatorValue, createStoreFromDiscriminatorValue, createTermFromDiscriminatorValue, deserializeIntoRelation, deserializeIntoSet, deserializeIntoStore, deserializeIntoTerm, serializeRelation, serializeSet, serializeStore, serializeTerm } from './termStore/index.js'; // @ts-ignore import { createUntypedNodeFromDiscriminatorValue } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AadUserConversationMember} */ // @ts-ignore export function createAadUserConversationMemberFromDiscriminatorValue(parseNode) { return deserializeIntoAadUserConversationMember; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AadUserConversationMemberResult} */ // @ts-ignore export function createAadUserConversationMemberResultFromDiscriminatorValue(parseNode) { return deserializeIntoAadUserConversationMemberResult; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AadUserNotificationRecipient} */ // @ts-ignore export function createAadUserNotificationRecipientFromDiscriminatorValue(parseNode) { return deserializeIntoAadUserNotificationRecipient; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessAction} */ // @ts-ignore export function createAccessActionFromDiscriminatorValue(parseNode) { return deserializeIntoAccessAction; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAnswerChoice} */ // @ts-ignore export function createAccessPackageAnswerChoiceFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAnswerChoice; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAnswer} */ // @ts-ignore export function createAccessPackageAnswerFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.accessPackageAnswerString": return deserializeIntoAccessPackageAnswerString; } } } return deserializeIntoAccessPackageAnswer; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAnswerString} */ // @ts-ignore export function createAccessPackageAnswerStringFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAnswerString; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageApprovalStage} */ // @ts-ignore export function createAccessPackageApprovalStageFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageApprovalStage; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentApprovalSettings} */ // @ts-ignore export function createAccessPackageAssignmentApprovalSettingsFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentApprovalSettings; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentCollectionResponse} */ // @ts-ignore export function createAccessPackageAssignmentCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignment} */ // @ts-ignore export function createAccessPackageAssignmentFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignment; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentPolicyCollectionResponse} */ // @ts-ignore export function createAccessPackageAssignmentPolicyCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentPolicyCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentPolicy} */ // @ts-ignore export function createAccessPackageAssignmentPolicyFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentPolicy; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentRequestCallbackData} */ // @ts-ignore export function createAccessPackageAssignmentRequestCallbackDataFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentRequestCallbackData; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentRequestCollectionResponse} */ // @ts-ignore export function createAccessPackageAssignmentRequestCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentRequestCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentRequest} */ // @ts-ignore export function createAccessPackageAssignmentRequestFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentRequest; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentRequestorSettings} */ // @ts-ignore export function createAccessPackageAssignmentRequestorSettingsFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentRequestorSettings; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentRequestRequirements} */ // @ts-ignore export function createAccessPackageAssignmentRequestRequirementsFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentRequestRequirements; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentRequestWorkflowExtension} */ // @ts-ignore export function createAccessPackageAssignmentRequestWorkflowExtensionFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentRequestWorkflowExtension; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentReviewSettings} */ // @ts-ignore export function createAccessPackageAssignmentReviewSettingsFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentReviewSettings; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAssignmentWorkflowExtension} */ // @ts-ignore export function createAccessPackageAssignmentWorkflowExtensionFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAssignmentWorkflowExtension; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageAutomaticRequestSettings} */ // @ts-ignore export function createAccessPackageAutomaticRequestSettingsFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageAutomaticRequestSettings; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageCatalogCollectionResponse} */ // @ts-ignore export function createAccessPackageCatalogCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageCatalogCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageCatalog} */ // @ts-ignore export function createAccessPackageCatalogFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageCatalog; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageCollectionResponse} */ // @ts-ignore export function createAccessPackageCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackage} */ // @ts-ignore export function createAccessPackageFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackage; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageLocalizedText} */ // @ts-ignore export function createAccessPackageLocalizedTextFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageLocalizedText; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageMultipleChoiceQuestion} */ // @ts-ignore export function createAccessPackageMultipleChoiceQuestionFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageMultipleChoiceQuestion; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageNotificationSettings} */ // @ts-ignore export function createAccessPackageNotificationSettingsFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageNotificationSettings; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageQuestionCollectionResponse} */ // @ts-ignore export function createAccessPackageQuestionCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageQuestionCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageQuestion} */ // @ts-ignore export function createAccessPackageQuestionFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.accessPackageMultipleChoiceQuestion": return deserializeIntoAccessPackageMultipleChoiceQuestion; case "#microsoft.graph.accessPackageTextInputQuestion": return deserializeIntoAccessPackageTextInputQuestion; } } } return deserializeIntoAccessPackageQuestion; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceAttributeDestination} */ // @ts-ignore export function createAccessPackageResourceAttributeDestinationFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.accessPackageUserDirectoryAttributeStore": return deserializeIntoAccessPackageUserDirectoryAttributeStore; } } } return deserializeIntoAccessPackageResourceAttributeDestination; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceAttribute} */ // @ts-ignore export function createAccessPackageResourceAttributeFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceAttribute; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceAttributeQuestion} */ // @ts-ignore export function createAccessPackageResourceAttributeQuestionFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceAttributeQuestion; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceAttributeSource} */ // @ts-ignore export function createAccessPackageResourceAttributeSourceFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.accessPackageResourceAttributeQuestion": return deserializeIntoAccessPackageResourceAttributeQuestion; } } } return deserializeIntoAccessPackageResourceAttributeSource; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceCollectionResponse} */ // @ts-ignore export function createAccessPackageResourceCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceEnvironmentCollectionResponse} */ // @ts-ignore export function createAccessPackageResourceEnvironmentCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceEnvironmentCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceEnvironment} */ // @ts-ignore export function createAccessPackageResourceEnvironmentFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceEnvironment; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResource} */ // @ts-ignore export function createAccessPackageResourceFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResource; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceRequestCollectionResponse} */ // @ts-ignore export function createAccessPackageResourceRequestCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceRequestCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceRequest} */ // @ts-ignore export function createAccessPackageResourceRequestFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceRequest; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceRoleCollectionResponse} */ // @ts-ignore export function createAccessPackageResourceRoleCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceRoleCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceRole} */ // @ts-ignore export function createAccessPackageResourceRoleFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceRole; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceRoleScopeCollectionResponse} */ // @ts-ignore export function createAccessPackageResourceRoleScopeCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceRoleScopeCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceRoleScope} */ // @ts-ignore export function createAccessPackageResourceRoleScopeFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceRoleScope; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceScopeCollectionResponse} */ // @ts-ignore export function createAccessPackageResourceScopeCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceScopeCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageResourceScope} */ // @ts-ignore export function createAccessPackageResourceScopeFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageResourceScope; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageSubject} */ // @ts-ignore export function createAccessPackageSubjectFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageSubject; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageTextInputQuestion} */ // @ts-ignore export function createAccessPackageTextInputQuestionFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageTextInputQuestion; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessPackageUserDirectoryAttributeStore} */ // @ts-ignore export function createAccessPackageUserDirectoryAttributeStoreFromDiscriminatorValue(parseNode) { return deserializeIntoAccessPackageUserDirectoryAttributeStore; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewApplyAction} */ // @ts-ignore export function createAccessReviewApplyActionFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.disableAndDeleteUserApplyAction": return deserializeIntoDisableAndDeleteUserApplyAction; case "#microsoft.graph.removeAccessApplyAction": return deserializeIntoRemoveAccessApplyAction; } } } return deserializeIntoAccessReviewApplyAction; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewHistoryDefinitionCollectionResponse} */ // @ts-ignore export function createAccessReviewHistoryDefinitionCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewHistoryDefinitionCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewHistoryDefinition} */ // @ts-ignore export function createAccessReviewHistoryDefinitionFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewHistoryDefinition; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewHistoryInstanceCollectionResponse} */ // @ts-ignore export function createAccessReviewHistoryInstanceCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewHistoryInstanceCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewHistoryInstance} */ // @ts-ignore export function createAccessReviewHistoryInstanceFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewHistoryInstance; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewHistoryScheduleSettings} */ // @ts-ignore export function createAccessReviewHistoryScheduleSettingsFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewHistoryScheduleSettings; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewInactiveUsersQueryScope} */ // @ts-ignore export function createAccessReviewInactiveUsersQueryScopeFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewInactiveUsersQueryScope; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewInstanceCollectionResponse} */ // @ts-ignore export function createAccessReviewInstanceCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewInstanceCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource} */ // @ts-ignore export function createAccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResourceFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewInstanceDecisionItemAzureRoleResource} */ // @ts-ignore export function createAccessReviewInstanceDecisionItemAzureRoleResourceFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewInstanceDecisionItemAzureRoleResource; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewInstanceDecisionItemCollectionResponse} */ // @ts-ignore export function createAccessReviewInstanceDecisionItemCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewInstanceDecisionItemCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewInstanceDecisionItem} */ // @ts-ignore export function createAccessReviewInstanceDecisionItemFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewInstanceDecisionItem; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewInstanceDecisionItemResource} */ // @ts-ignore export function createAccessReviewInstanceDecisionItemResourceFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource": return deserializeIntoAccessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource; case "#microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource": return deserializeIntoAccessReviewInstanceDecisionItemAzureRoleResource; case "#microsoft.graph.accessReviewInstanceDecisionItemServicePrincipalResource": return deserializeIntoAccessReviewInstanceDecisionItemServicePrincipalResource; } } } return deserializeIntoAccessReviewInstanceDecisionItemResource; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewInstanceDecisionItemServicePrincipalResource} */ // @ts-ignore export function createAccessReviewInstanceDecisionItemServicePrincipalResourceFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewInstanceDecisionItemServicePrincipalResource; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewInstance} */ // @ts-ignore export function createAccessReviewInstanceFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewInstance; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewNotificationRecipientItem} */ // @ts-ignore export function createAccessReviewNotificationRecipientItemFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewNotificationRecipientItem; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewNotificationRecipientQueryScope} */ // @ts-ignore export function createAccessReviewNotificationRecipientQueryScopeFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewNotificationRecipientQueryScope; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewNotificationRecipientScope} */ // @ts-ignore export function createAccessReviewNotificationRecipientScopeFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.accessReviewNotificationRecipientQueryScope": return deserializeIntoAccessReviewNotificationRecipientQueryScope; } } } return deserializeIntoAccessReviewNotificationRecipientScope; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewQueryScope} */ // @ts-ignore export function createAccessReviewQueryScopeFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.accessReviewInactiveUsersQueryScope": return deserializeIntoAccessReviewInactiveUsersQueryScope; } } } return deserializeIntoAccessReviewQueryScope; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewRecommendationInsightSetting} */ // @ts-ignore export function createAccessReviewRecommendationInsightSettingFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.groupPeerOutlierRecommendationInsightSettings": return deserializeIntoGroupPeerOutlierRecommendationInsightSettings; case "#microsoft.graph.userLastSignInRecommendationInsightSetting": return deserializeIntoUserLastSignInRecommendationInsightSetting; } } } return deserializeIntoAccessReviewRecommendationInsightSetting; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewReviewerCollectionResponse} */ // @ts-ignore export function createAccessReviewReviewerCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewReviewerCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewReviewer} */ // @ts-ignore export function createAccessReviewReviewerFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewReviewer; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewReviewerScope} */ // @ts-ignore export function createAccessReviewReviewerScopeFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewReviewerScope; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewScheduleDefinitionCollectionResponse} */ // @ts-ignore export function createAccessReviewScheduleDefinitionCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewScheduleDefinitionCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewScheduleDefinition} */ // @ts-ignore export function createAccessReviewScheduleDefinitionFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewScheduleDefinition; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewScheduleSettings} */ // @ts-ignore export function createAccessReviewScheduleSettingsFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewScheduleSettings; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewScope} */ // @ts-ignore export function createAccessReviewScopeFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.accessReviewInactiveUsersQueryScope": return deserializeIntoAccessReviewInactiveUsersQueryScope; case "#microsoft.graph.accessReviewQueryScope": return deserializeIntoAccessReviewQueryScope; case "#microsoft.graph.principalResourceMembershipsScope": return deserializeIntoPrincipalResourceMembershipsScope; } } } return deserializeIntoAccessReviewScope; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewSet} */ // @ts-ignore export function createAccessReviewSetFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewSet; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewStageCollectionResponse} */ // @ts-ignore export function createAccessReviewStageCollectionResponseFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewStageCollectionResponse; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewStage} */ // @ts-ignore export function createAccessReviewStageFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewStage; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccessReviewStageSettings} */ // @ts-ignore export function createAccessReviewStageSettingsFromDiscriminatorValue(parseNode) { return deserializeIntoAccessReviewStageSettings; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {AccountTargetContent} */ // @ts-ignore export function createAccountTargetContentFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.addressBookAccountTargetContent": return deserializeIntoAddressBookAccountTargetContent; case "#microsoft.graph.includeAllAccountTargetContent": return deserializeIntoIncludeAllAccountTargetContent; } } } return deserializeIntoAccountTargetContent; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {ActionResultPart} */ // @ts-ignore export function createActionResultPartFromDiscriminatorValue(parseNode) { if (!parseNode) throw new Error("parseNode cannot be undefined"); const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type"); if (mappingValueNode) { const mappingValue = mappingValueNode.getStringValue(); if (mappingValue) { switch (mappingValue) { case "#microsoft.graph.aadUserConversationMemberResult": return deserializeIntoAadUserConversationMemberResult; } } } return deserializeIntoActionResultPart; } /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {ActivitiesContainer} */ // @ts-ignore export function createActivit