@microsoft/msgraph-sdk 1.0.0-preview.27 → 1.0.0-preview.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/models/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  // @ts-ignore
5
5
  import { createCallRecordFromDiscriminatorValue, deserializeIntoCallRecord, deserializeIntoOrganizer, deserializeIntoParticipantBase, deserializeIntoSegment, deserializeIntoSession, serializeCallRecord } from './callRecords/index.js';
6
6
  // @ts-ignore
7
- import { deserializeIntoConnectionOperation, deserializeIntoExternalActivity, deserializeIntoExternalActivityResult, deserializeIntoExternalConnection, deserializeIntoExternalGroup, deserializeIntoExternalItem, deserializeIntoSchema } from './externalConnectors/index.js';
7
+ import { deserializeIntoConnectionOperation, deserializeIntoExternalActivity, deserializeIntoExternalActivityResult, deserializeIntoExternalConnection, deserializeIntoExternalGroup, deserializeIntoExternalItem, deserializeIntoIdentity as I137354aa1f844bbb5aa5ffd805e739993f9683605f407d143ca49924697fa7af, deserializeIntoSchema } from './externalConnectors/index.js';
8
8
  // @ts-ignore
9
9
  import { createLifecycleWorkflowsContainerFromDiscriminatorValue, createWorkflowFromDiscriminatorValue, deserializeIntoCustomTaskExtension, deserializeIntoCustomTaskExtensionCallbackConfiguration, deserializeIntoCustomTaskExtensionCallbackData, deserializeIntoCustomTaskExtensionCalloutData, deserializeIntoGroupBasedSubjectSet, deserializeIntoInsights, deserializeIntoLifecycleManagementSettings, deserializeIntoLifecycleWorkflowsContainer, deserializeIntoRuleBasedSubjectSet, deserializeIntoRun, deserializeIntoTask, deserializeIntoTaskDefinition, deserializeIntoTaskProcessingResult, deserializeIntoTaskReport, deserializeIntoUserProcessingResult, deserializeIntoWorkflowTemplate, serializeLifecycleWorkflowsContainer, serializeWorkflow } from './identityGovernance/index.js';
10
10
  // @ts-ignore
@@ -71,7 +71,7 @@ export function createAccessPackageAnswerChoiceFromDiscriminatorValue(parseNode)
71
71
  export function createAccessPackageAnswerFromDiscriminatorValue(parseNode) {
72
72
  if (!parseNode)
73
73
  throw new Error("parseNode cannot be undefined");
74
- const mappingValueNode = parseNode.getChildNode("@odata.type");
74
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
75
75
  if (mappingValueNode) {
76
76
  const mappingValue = mappingValueNode.getStringValue();
77
77
  if (mappingValue) {
@@ -299,7 +299,7 @@ export function createAccessPackageQuestionCollectionResponseFromDiscriminatorVa
299
299
  export function createAccessPackageQuestionFromDiscriminatorValue(parseNode) {
300
300
  if (!parseNode)
301
301
  throw new Error("parseNode cannot be undefined");
302
- const mappingValueNode = parseNode.getChildNode("@odata.type");
302
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
303
303
  if (mappingValueNode) {
304
304
  const mappingValue = mappingValueNode.getStringValue();
305
305
  if (mappingValue) {
@@ -322,7 +322,7 @@ export function createAccessPackageQuestionFromDiscriminatorValue(parseNode) {
322
322
  export function createAccessPackageResourceAttributeDestinationFromDiscriminatorValue(parseNode) {
323
323
  if (!parseNode)
324
324
  throw new Error("parseNode cannot be undefined");
325
- const mappingValueNode = parseNode.getChildNode("@odata.type");
325
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
326
326
  if (mappingValueNode) {
327
327
  const mappingValue = mappingValueNode.getStringValue();
328
328
  if (mappingValue) {
@@ -361,7 +361,7 @@ export function createAccessPackageResourceAttributeQuestionFromDiscriminatorVal
361
361
  export function createAccessPackageResourceAttributeSourceFromDiscriminatorValue(parseNode) {
362
362
  if (!parseNode)
363
363
  throw new Error("parseNode cannot be undefined");
364
- const mappingValueNode = parseNode.getChildNode("@odata.type");
364
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
365
365
  if (mappingValueNode) {
366
366
  const mappingValue = mappingValueNode.getStringValue();
367
367
  if (mappingValue) {
@@ -517,7 +517,7 @@ export function createAccessPackageUserDirectoryAttributeStoreFromDiscriminatorV
517
517
  export function createAccessReviewApplyActionFromDiscriminatorValue(parseNode) {
518
518
  if (!parseNode)
519
519
  throw new Error("parseNode cannot be undefined");
520
- const mappingValueNode = parseNode.getChildNode("@odata.type");
520
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
521
521
  if (mappingValueNode) {
522
522
  const mappingValue = mappingValueNode.getStringValue();
523
523
  if (mappingValue) {
@@ -639,7 +639,7 @@ export function createAccessReviewInstanceDecisionItemFromDiscriminatorValue(par
639
639
  export function createAccessReviewInstanceDecisionItemResourceFromDiscriminatorValue(parseNode) {
640
640
  if (!parseNode)
641
641
  throw new Error("parseNode cannot be undefined");
642
- const mappingValueNode = parseNode.getChildNode("@odata.type");
642
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
643
643
  if (mappingValueNode) {
644
644
  const mappingValue = mappingValueNode.getStringValue();
645
645
  if (mappingValue) {
@@ -700,7 +700,7 @@ export function createAccessReviewNotificationRecipientQueryScopeFromDiscriminat
700
700
  export function createAccessReviewNotificationRecipientScopeFromDiscriminatorValue(parseNode) {
701
701
  if (!parseNode)
702
702
  throw new Error("parseNode cannot be undefined");
703
- const mappingValueNode = parseNode.getChildNode("@odata.type");
703
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
704
704
  if (mappingValueNode) {
705
705
  const mappingValue = mappingValueNode.getStringValue();
706
706
  if (mappingValue) {
@@ -721,7 +721,7 @@ export function createAccessReviewNotificationRecipientScopeFromDiscriminatorVal
721
721
  export function createAccessReviewQueryScopeFromDiscriminatorValue(parseNode) {
722
722
  if (!parseNode)
723
723
  throw new Error("parseNode cannot be undefined");
724
- const mappingValueNode = parseNode.getChildNode("@odata.type");
724
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
725
725
  if (mappingValueNode) {
726
726
  const mappingValue = mappingValueNode.getStringValue();
727
727
  if (mappingValue) {
@@ -742,7 +742,7 @@ export function createAccessReviewQueryScopeFromDiscriminatorValue(parseNode) {
742
742
  export function createAccessReviewRecommendationInsightSettingFromDiscriminatorValue(parseNode) {
743
743
  if (!parseNode)
744
744
  throw new Error("parseNode cannot be undefined");
745
- const mappingValueNode = parseNode.getChildNode("@odata.type");
745
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
746
746
  if (mappingValueNode) {
747
747
  const mappingValue = mappingValueNode.getStringValue();
748
748
  if (mappingValue) {
@@ -819,7 +819,7 @@ export function createAccessReviewScheduleSettingsFromDiscriminatorValue(parseNo
819
819
  export function createAccessReviewScopeFromDiscriminatorValue(parseNode) {
820
820
  if (!parseNode)
821
821
  throw new Error("parseNode cannot be undefined");
822
- const mappingValueNode = parseNode.getChildNode("@odata.type");
822
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
823
823
  if (mappingValueNode) {
824
824
  const mappingValue = mappingValueNode.getStringValue();
825
825
  if (mappingValue) {
@@ -880,7 +880,7 @@ export function createAccessReviewStageSettingsFromDiscriminatorValue(parseNode)
880
880
  export function createAccountTargetContentFromDiscriminatorValue(parseNode) {
881
881
  if (!parseNode)
882
882
  throw new Error("parseNode cannot be undefined");
883
- const mappingValueNode = parseNode.getChildNode("@odata.type");
883
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
884
884
  if (mappingValueNode) {
885
885
  const mappingValue = mappingValueNode.getStringValue();
886
886
  if (mappingValue) {
@@ -903,7 +903,7 @@ export function createAccountTargetContentFromDiscriminatorValue(parseNode) {
903
903
  export function createActionResultPartFromDiscriminatorValue(parseNode) {
904
904
  if (!parseNode)
905
905
  throw new Error("parseNode cannot be undefined");
906
- const mappingValueNode = parseNode.getChildNode("@odata.type");
906
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
907
907
  if (mappingValueNode) {
908
908
  const mappingValue = mappingValueNode.getStringValue();
909
909
  if (mappingValue) {
@@ -1113,7 +1113,7 @@ export function createAgreementFileLocalizationFromDiscriminatorValue(parseNode)
1113
1113
  export function createAgreementFilePropertiesFromDiscriminatorValue(parseNode) {
1114
1114
  if (!parseNode)
1115
1115
  throw new Error("parseNode cannot be undefined");
1116
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1116
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1117
1117
  if (mappingValueNode) {
1118
1118
  const mappingValue = mappingValueNode.getStringValue();
1119
1119
  if (mappingValue) {
@@ -1444,7 +1444,7 @@ export function createApiApplicationFromDiscriminatorValue(parseNode) {
1444
1444
  export function createApiAuthenticationConfigurationBaseFromDiscriminatorValue(parseNode) {
1445
1445
  if (!parseNode)
1446
1446
  throw new Error("parseNode cannot be undefined");
1447
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1447
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1448
1448
  if (mappingValueNode) {
1449
1449
  const mappingValue = mappingValueNode.getStringValue();
1450
1450
  if (mappingValue) {
@@ -1541,7 +1541,7 @@ export function createAppIdentityFromDiscriminatorValue(parseNode) {
1541
1541
  export function createAppleDeviceFeaturesConfigurationBaseFromDiscriminatorValue(parseNode) {
1542
1542
  if (!parseNode)
1543
1543
  throw new Error("parseNode cannot be undefined");
1544
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1544
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1545
1545
  if (mappingValueNode) {
1546
1546
  const mappingValue = mappingValueNode.getStringValue();
1547
1547
  if (mappingValue) {
@@ -1690,7 +1690,7 @@ export function createAppManagementApplicationConfigurationFromDiscriminatorValu
1690
1690
  export function createAppManagementConfigurationFromDiscriminatorValue(parseNode) {
1691
1691
  if (!parseNode)
1692
1692
  throw new Error("parseNode cannot be undefined");
1693
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1693
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1694
1694
  if (mappingValueNode) {
1695
1695
  const mappingValue = mappingValueNode.getStringValue();
1696
1696
  if (mappingValue) {
@@ -1931,7 +1931,7 @@ export function createAttachmentBaseCollectionResponseFromDiscriminatorValue(par
1931
1931
  export function createAttachmentBaseFromDiscriminatorValue(parseNode) {
1932
1932
  if (!parseNode)
1933
1933
  throw new Error("parseNode cannot be undefined");
1934
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1934
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1935
1935
  if (mappingValueNode) {
1936
1936
  const mappingValue = mappingValueNode.getStringValue();
1937
1937
  if (mappingValue) {
@@ -1961,7 +1961,7 @@ export function createAttachmentCollectionResponseFromDiscriminatorValue(parseNo
1961
1961
  export function createAttachmentFromDiscriminatorValue(parseNode) {
1962
1962
  if (!parseNode)
1963
1963
  throw new Error("parseNode cannot be undefined");
1964
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1964
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1965
1965
  if (mappingValueNode) {
1966
1966
  const mappingValue = mappingValueNode.getStringValue();
1967
1967
  if (mappingValue) {
@@ -2121,7 +2121,7 @@ export function createAttendeeAvailabilityFromDiscriminatorValue(parseNode) {
2121
2121
  export function createAttendeeBaseFromDiscriminatorValue(parseNode) {
2122
2122
  if (!parseNode)
2123
2123
  throw new Error("parseNode cannot be undefined");
2124
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2124
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2125
2125
  if (mappingValueNode) {
2126
2126
  const mappingValue = mappingValueNode.getStringValue();
2127
2127
  if (mappingValue) {
@@ -2394,7 +2394,7 @@ export function createAuthenticationCombinationConfigurationCollectionResponseFr
2394
2394
  export function createAuthenticationCombinationConfigurationFromDiscriminatorValue(parseNode) {
2395
2395
  if (!parseNode)
2396
2396
  throw new Error("parseNode cannot be undefined");
2397
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2397
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2398
2398
  if (mappingValueNode) {
2399
2399
  const mappingValue = mappingValueNode.getStringValue();
2400
2400
  if (mappingValue) {
@@ -2489,7 +2489,7 @@ export function createAuthenticationEventListenerCollectionResponseFromDiscrimin
2489
2489
  export function createAuthenticationEventListenerFromDiscriminatorValue(parseNode) {
2490
2490
  if (!parseNode)
2491
2491
  throw new Error("parseNode cannot be undefined");
2492
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2492
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2493
2493
  if (mappingValueNode) {
2494
2494
  const mappingValue = mappingValueNode.getStringValue();
2495
2495
  if (mappingValue) {
@@ -2527,7 +2527,7 @@ export function createAuthenticationEventsFlowCollectionResponseFromDiscriminato
2527
2527
  export function createAuthenticationEventsFlowFromDiscriminatorValue(parseNode) {
2528
2528
  if (!parseNode)
2529
2529
  throw new Error("parseNode cannot be undefined");
2530
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2530
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2531
2531
  if (mappingValueNode) {
2532
2532
  const mappingValue = mappingValueNode.getStringValue();
2533
2533
  if (mappingValue) {
@@ -2584,7 +2584,7 @@ export function createAuthenticationMethodConfigurationCollectionResponseFromDis
2584
2584
  export function createAuthenticationMethodConfigurationFromDiscriminatorValue(parseNode) {
2585
2585
  if (!parseNode)
2586
2586
  throw new Error("parseNode cannot be undefined");
2587
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2587
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2588
2588
  if (mappingValueNode) {
2589
2589
  const mappingValue = mappingValueNode.getStringValue();
2590
2590
  if (mappingValue) {
@@ -2628,7 +2628,7 @@ export function createAuthenticationMethodFeatureConfigurationFromDiscriminatorV
2628
2628
  export function createAuthenticationMethodFromDiscriminatorValue(parseNode) {
2629
2629
  if (!parseNode)
2630
2630
  throw new Error("parseNode cannot be undefined");
2631
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2631
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2632
2632
  if (mappingValueNode) {
2633
2633
  const mappingValue = mappingValueNode.getStringValue();
2634
2634
  if (mappingValue) {
@@ -2717,7 +2717,7 @@ export function createAuthenticationMethodsRootFromDiscriminatorValue(parseNode)
2717
2717
  export function createAuthenticationMethodTargetFromDiscriminatorValue(parseNode) {
2718
2718
  if (!parseNode)
2719
2719
  throw new Error("parseNode cannot be undefined");
2720
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2720
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2721
2721
  if (mappingValueNode) {
2722
2722
  const mappingValue = mappingValueNode.getStringValue();
2723
2723
  if (mappingValue) {
@@ -2956,7 +2956,7 @@ export function createBaseDeltaFunctionResponseFromDiscriminatorValue(parseNode)
2956
2956
  export function createBaseEndUserNotificationFromDiscriminatorValue(parseNode) {
2957
2957
  if (!parseNode)
2958
2958
  throw new Error("parseNode cannot be undefined");
2959
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2959
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2960
2960
  if (mappingValueNode) {
2961
2961
  const mappingValue = mappingValueNode.getStringValue();
2962
2962
  if (mappingValue) {
@@ -2990,7 +2990,7 @@ export function createBaseItemCollectionResponseFromDiscriminatorValue(parseNode
2990
2990
  export function createBaseItemFromDiscriminatorValue(parseNode) {
2991
2991
  if (!parseNode)
2992
2992
  throw new Error("parseNode cannot be undefined");
2993
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2993
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2994
2994
  if (mappingValueNode) {
2995
2995
  const mappingValue = mappingValueNode.getStringValue();
2996
2996
  if (mappingValue) {
@@ -3025,7 +3025,7 @@ export function createBaseItemFromDiscriminatorValue(parseNode) {
3025
3025
  export function createBaseItemVersionFromDiscriminatorValue(parseNode) {
3026
3026
  if (!parseNode)
3027
3027
  throw new Error("parseNode cannot be undefined");
3028
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3028
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3029
3029
  if (mappingValueNode) {
3030
3030
  const mappingValue = mappingValueNode.getStringValue();
3031
3031
  if (mappingValue) {
@@ -3059,7 +3059,7 @@ export function createBaseSitePageCollectionResponseFromDiscriminatorValue(parse
3059
3059
  export function createBaseSitePageFromDiscriminatorValue(parseNode) {
3060
3060
  if (!parseNode)
3061
3061
  throw new Error("parseNode cannot be undefined");
3062
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3062
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3063
3063
  if (mappingValueNode) {
3064
3064
  const mappingValue = mappingValueNode.getStringValue();
3065
3065
  if (mappingValue) {
@@ -3188,7 +3188,7 @@ export function createBookingCustomerBaseCollectionResponseFromDiscriminatorValu
3188
3188
  export function createBookingCustomerBaseFromDiscriminatorValue(parseNode) {
3189
3189
  if (!parseNode)
3190
3190
  throw new Error("parseNode cannot be undefined");
3191
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3191
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3192
3192
  if (mappingValueNode) {
3193
3193
  const mappingValue = mappingValueNode.getStringValue();
3194
3194
  if (mappingValue) {
@@ -3218,7 +3218,7 @@ export function createBookingCustomerFromDiscriminatorValue(parseNode) {
3218
3218
  export function createBookingCustomerInformationBaseFromDiscriminatorValue(parseNode) {
3219
3219
  if (!parseNode)
3220
3220
  throw new Error("parseNode cannot be undefined");
3221
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3221
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3222
3222
  if (mappingValueNode) {
3223
3223
  const mappingValue = mappingValueNode.getStringValue();
3224
3224
  if (mappingValue) {
@@ -3302,7 +3302,7 @@ export function createBookingReminderFromDiscriminatorValue(parseNode) {
3302
3302
  export function createBookingsAvailabilityFromDiscriminatorValue(parseNode) {
3303
3303
  if (!parseNode)
3304
3304
  throw new Error("parseNode cannot be undefined");
3305
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3305
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3306
3306
  if (mappingValueNode) {
3307
3307
  const mappingValue = mappingValueNode.getStringValue();
3308
3308
  if (mappingValue) {
@@ -3368,7 +3368,7 @@ export function createBookingStaffMemberBaseCollectionResponseFromDiscriminatorV
3368
3368
  export function createBookingStaffMemberBaseFromDiscriminatorValue(parseNode) {
3369
3369
  if (!parseNode)
3370
3370
  throw new Error("parseNode cannot be undefined");
3371
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3371
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3372
3372
  if (mappingValueNode) {
3373
3373
  const mappingValue = mappingValueNode.getStringValue();
3374
3374
  if (mappingValue) {
@@ -3677,7 +3677,7 @@ export function createCallMediaStateFromDiscriminatorValue(parseNode) {
3677
3677
  export function createCallOptionsFromDiscriminatorValue(parseNode) {
3678
3678
  if (!parseNode)
3679
3679
  throw new Error("parseNode cannot be undefined");
3680
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3680
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3681
3681
  if (mappingValueNode) {
3682
3682
  const mappingValue = mappingValueNode.getStringValue();
3683
3683
  if (mappingValue) {
@@ -3853,7 +3853,7 @@ export function createCertificationFromDiscriminatorValue(parseNode) {
3853
3853
  export function createChangeTrackedEntityFromDiscriminatorValue(parseNode) {
3854
3854
  if (!parseNode)
3855
3855
  throw new Error("parseNode cannot be undefined");
3856
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3856
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3857
3857
  if (mappingValueNode) {
3858
3858
  const mappingValue = mappingValueNode.getStringValue();
3859
3859
  if (mappingValue) {
@@ -4400,7 +4400,7 @@ export function createCloudPcGalleryImageFromDiscriminatorValue(parseNode) {
4400
4400
  export function createCloudPcManagementAssignmentTargetFromDiscriminatorValue(parseNode) {
4401
4401
  if (!parseNode)
4402
4402
  throw new Error("parseNode cannot be undefined");
4403
- const mappingValueNode = parseNode.getChildNode("@odata.type");
4403
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
4404
4404
  if (mappingValueNode) {
4405
4405
  const mappingValue = mappingValueNode.getStringValue();
4406
4406
  if (mappingValue) {
@@ -4646,7 +4646,7 @@ export function createCommsOperationCollectionResponseFromDiscriminatorValue(par
4646
4646
  export function createCommsOperationFromDiscriminatorValue(parseNode) {
4647
4647
  if (!parseNode)
4648
4648
  throw new Error("parseNode cannot be undefined");
4649
- const mappingValueNode = parseNode.getChildNode("@odata.type");
4649
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
4650
4650
  if (mappingValueNode) {
4651
4651
  const mappingValue = mappingValueNode.getStringValue();
4652
4652
  if (mappingValue) {
@@ -4887,7 +4887,7 @@ export function createConditionalAccessEnumeratedExternalTenantsFromDiscriminato
4887
4887
  export function createConditionalAccessExternalTenantsFromDiscriminatorValue(parseNode) {
4888
4888
  if (!parseNode)
4889
4889
  throw new Error("parseNode cannot be undefined");
4890
- const mappingValueNode = parseNode.getChildNode("@odata.type");
4890
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
4891
4891
  if (mappingValueNode) {
4892
4892
  const mappingValue = mappingValueNode.getStringValue();
4893
4893
  if (mappingValue) {
@@ -4991,7 +4991,7 @@ export function createConditionalAccessRootFromDiscriminatorValue(parseNode) {
4991
4991
  export function createConditionalAccessSessionControlFromDiscriminatorValue(parseNode) {
4992
4992
  if (!parseNode)
4993
4993
  throw new Error("parseNode cannot be undefined");
4994
- const mappingValueNode = parseNode.getChildNode("@odata.type");
4994
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
4995
4995
  if (mappingValueNode) {
4996
4996
  const mappingValue = mappingValueNode.getStringValue();
4997
4997
  if (mappingValue) {
@@ -5279,7 +5279,7 @@ export function createConversationMemberCollectionResponseFromDiscriminatorValue
5279
5279
  export function createConversationMemberFromDiscriminatorValue(parseNode) {
5280
5280
  if (!parseNode)
5281
5281
  throw new Error("parseNode cannot be undefined");
5282
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5282
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5283
5283
  if (mappingValueNode) {
5284
5284
  const mappingValue = mappingValueNode.getStringValue();
5285
5285
  if (mappingValue) {
@@ -5373,7 +5373,7 @@ export function createCrossCloudAzureActiveDirectoryTenantFromDiscriminatorValue
5373
5373
  export function createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue(parseNode) {
5374
5374
  if (!parseNode)
5375
5375
  throw new Error("parseNode cannot be undefined");
5376
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5376
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5377
5377
  if (mappingValueNode) {
5378
5378
  const mappingValue = mappingValueNode.getStringValue();
5379
5379
  if (mappingValue) {
@@ -5511,7 +5511,7 @@ export function createCustomAuthenticationExtensionCollectionResponseFromDiscrim
5511
5511
  export function createCustomAuthenticationExtensionFromDiscriminatorValue(parseNode) {
5512
5512
  if (!parseNode)
5513
5513
  throw new Error("parseNode cannot be undefined");
5514
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5514
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5515
5515
  if (mappingValueNode) {
5516
5516
  const mappingValue = mappingValueNode.getStringValue();
5517
5517
  if (mappingValue) {
@@ -5541,7 +5541,7 @@ export function createCustomCalloutExtensionCollectionResponseFromDiscriminatorV
5541
5541
  export function createCustomCalloutExtensionFromDiscriminatorValue(parseNode) {
5542
5542
  if (!parseNode)
5543
5543
  throw new Error("parseNode cannot be undefined");
5544
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5544
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5545
5545
  if (mappingValueNode) {
5546
5546
  const mappingValue = mappingValueNode.getStringValue();
5547
5547
  if (mappingValue) {
@@ -5570,7 +5570,7 @@ export function createCustomCalloutExtensionFromDiscriminatorValue(parseNode) {
5570
5570
  export function createCustomExtensionAuthenticationConfigurationFromDiscriminatorValue(parseNode) {
5571
5571
  if (!parseNode)
5572
5572
  throw new Error("parseNode cannot be undefined");
5573
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5573
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5574
5574
  if (mappingValueNode) {
5575
5575
  const mappingValue = mappingValueNode.getStringValue();
5576
5576
  if (mappingValue) {
@@ -5593,7 +5593,7 @@ export function createCustomExtensionAuthenticationConfigurationFromDiscriminato
5593
5593
  export function createCustomExtensionCallbackConfigurationFromDiscriminatorValue(parseNode) {
5594
5594
  if (!parseNode)
5595
5595
  throw new Error("parseNode cannot be undefined");
5596
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5596
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5597
5597
  if (mappingValueNode) {
5598
5598
  const mappingValue = mappingValueNode.getStringValue();
5599
5599
  if (mappingValue) {
@@ -5632,7 +5632,7 @@ export function createCustomExtensionClientConfigurationFromDiscriminatorValue(p
5632
5632
  export function createCustomExtensionDataFromDiscriminatorValue(parseNode) {
5633
5633
  if (!parseNode)
5634
5634
  throw new Error("parseNode cannot be undefined");
5635
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5635
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5636
5636
  if (mappingValueNode) {
5637
5637
  const mappingValue = mappingValueNode.getStringValue();
5638
5638
  if (mappingValue) {
@@ -5657,7 +5657,7 @@ export function createCustomExtensionDataFromDiscriminatorValue(parseNode) {
5657
5657
  export function createCustomExtensionEndpointConfigurationFromDiscriminatorValue(parseNode) {
5658
5658
  if (!parseNode)
5659
5659
  throw new Error("parseNode cannot be undefined");
5660
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5660
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5661
5661
  if (mappingValueNode) {
5662
5662
  const mappingValue = mappingValueNode.getStringValue();
5663
5663
  if (mappingValue) {
@@ -5932,7 +5932,7 @@ export function createDelegatedAdminRelationshipCustomerParticipantFromDiscrimin
5932
5932
  export function createDelegatedAdminRelationshipFromDiscriminatorValue(parseNode) {
5933
5933
  if (!parseNode)
5934
5934
  throw new Error("parseNode cannot be undefined");
5935
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5935
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5936
5936
  if (mappingValueNode) {
5937
5937
  const mappingValue = mappingValueNode.getStringValue();
5938
5938
  if (mappingValue) {
@@ -6124,7 +6124,7 @@ export function createDetectedAppFromDiscriminatorValue(parseNode) {
6124
6124
  export function createDeviceActionResultFromDiscriminatorValue(parseNode) {
6125
6125
  if (!parseNode)
6126
6126
  throw new Error("parseNode cannot be undefined");
6127
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6127
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6128
6128
  if (mappingValueNode) {
6129
6129
  const mappingValue = mappingValueNode.getStringValue();
6130
6130
  if (mappingValue) {
@@ -6155,7 +6155,7 @@ export function createDeviceActionResultFromDiscriminatorValue(parseNode) {
6155
6155
  export function createDeviceAndAppManagementAssignmentTargetFromDiscriminatorValue(parseNode) {
6156
6156
  if (!parseNode)
6157
6157
  throw new Error("parseNode cannot be undefined");
6158
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6158
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6159
6159
  if (mappingValueNode) {
6160
6160
  const mappingValue = mappingValueNode.getStringValue();
6161
6161
  if (mappingValue) {
@@ -6337,7 +6337,7 @@ export function createDeviceCompliancePolicyDeviceStateSummaryFromDiscriminatorV
6337
6337
  export function createDeviceCompliancePolicyFromDiscriminatorValue(parseNode) {
6338
6338
  if (!parseNode)
6339
6339
  throw new Error("parseNode cannot be undefined");
6340
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6340
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6341
6341
  if (mappingValueNode) {
6342
6342
  const mappingValue = mappingValueNode.getStringValue();
6343
6343
  if (mappingValue) {
@@ -6543,7 +6543,7 @@ export function createDeviceConfigurationDeviceStatusFromDiscriminatorValue(pars
6543
6543
  export function createDeviceConfigurationFromDiscriminatorValue(parseNode) {
6544
6544
  if (!parseNode)
6545
6545
  throw new Error("parseNode cannot be undefined");
6546
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6546
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6547
6547
  if (mappingValueNode) {
6548
6548
  const mappingValue = mappingValueNode.getStringValue();
6549
6549
  if (mappingValue) {
@@ -6686,7 +6686,7 @@ export function createDeviceEnrollmentConfigurationCollectionResponseFromDiscrim
6686
6686
  export function createDeviceEnrollmentConfigurationFromDiscriminatorValue(parseNode) {
6687
6687
  if (!parseNode)
6688
6688
  throw new Error("parseNode cannot be undefined");
6689
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6689
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6690
6690
  if (mappingValueNode) {
6691
6691
  const mappingValue = mappingValueNode.getStringValue();
6692
6692
  if (mappingValue) {
@@ -6956,7 +6956,7 @@ export function createDeviceManagementTroubleshootingEventCollectionResponseFrom
6956
6956
  export function createDeviceManagementTroubleshootingEventFromDiscriminatorValue(parseNode) {
6957
6957
  if (!parseNode)
6958
6958
  throw new Error("parseNode cannot be undefined");
6959
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6959
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6960
6960
  if (mappingValueNode) {
6961
6961
  const mappingValue = mappingValueNode.getStringValue();
6962
6962
  if (mappingValue) {
@@ -6995,7 +6995,7 @@ export function createDeviceProtectionOverviewFromDiscriminatorValue(parseNode)
6995
6995
  export function createDeviceRegistrationMembershipFromDiscriminatorValue(parseNode) {
6996
6996
  if (!parseNode)
6997
6997
  throw new Error("parseNode cannot be undefined");
6998
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6998
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6999
6999
  if (mappingValueNode) {
7000
7000
  const mappingValue = mappingValueNode.getStringValue();
7001
7001
  if (mappingValue) {
@@ -7038,7 +7038,7 @@ export function createDevicesFilterFromDiscriminatorValue(parseNode) {
7038
7038
  export function createDictionaryFromDiscriminatorValue(parseNode) {
7039
7039
  if (!parseNode)
7040
7040
  throw new Error("parseNode cannot be undefined");
7041
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7041
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7042
7042
  if (mappingValueNode) {
7043
7043
  const mappingValue = mappingValueNode.getStringValue();
7044
7044
  if (mappingValue) {
@@ -7115,7 +7115,7 @@ export function createDirectoryObjectCollectionResponseFromDiscriminatorValue(pa
7115
7115
  export function createDirectoryObjectFromDiscriminatorValue(parseNode) {
7116
7116
  if (!parseNode)
7117
7117
  throw new Error("parseNode cannot be undefined");
7118
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7118
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7119
7119
  if (mappingValueNode) {
7120
7120
  const mappingValue = mappingValueNode.getStringValue();
7121
7121
  if (mappingValue) {
@@ -7340,7 +7340,7 @@ export function createDomainDnsRecordCollectionResponseFromDiscriminatorValue(pa
7340
7340
  export function createDomainDnsRecordFromDiscriminatorValue(parseNode) {
7341
7341
  if (!parseNode)
7342
7342
  throw new Error("parseNode cannot be undefined");
7343
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7343
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7344
7344
  if (mappingValueNode) {
7345
7345
  const mappingValue = mappingValueNode.getStringValue();
7346
7346
  if (mappingValue) {
@@ -7576,7 +7576,7 @@ export function createEdgeFromDiscriminatorValue(parseNode) {
7576
7576
  export function createEdgeSearchEngineBaseFromDiscriminatorValue(parseNode) {
7577
7577
  if (!parseNode)
7578
7578
  throw new Error("parseNode cannot be undefined");
7579
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7579
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7580
7580
  if (mappingValueNode) {
7581
7581
  const mappingValue = mappingValueNode.getStringValue();
7582
7582
  if (mappingValue) {
@@ -7662,7 +7662,7 @@ export function createEducationAssignmentFromDiscriminatorValue(parseNode) {
7662
7662
  export function createEducationAssignmentGradeFromDiscriminatorValue(parseNode) {
7663
7663
  if (!parseNode)
7664
7664
  throw new Error("parseNode cannot be undefined");
7665
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7665
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7666
7666
  if (mappingValueNode) {
7667
7667
  const mappingValue = mappingValueNode.getStringValue();
7668
7668
  if (mappingValue) {
@@ -7683,7 +7683,7 @@ export function createEducationAssignmentGradeFromDiscriminatorValue(parseNode)
7683
7683
  export function createEducationAssignmentGradeTypeFromDiscriminatorValue(parseNode) {
7684
7684
  if (!parseNode)
7685
7685
  throw new Error("parseNode cannot be undefined");
7686
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7686
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7687
7687
  if (mappingValueNode) {
7688
7688
  const mappingValue = mappingValueNode.getStringValue();
7689
7689
  if (mappingValue) {
@@ -7740,7 +7740,7 @@ export function createEducationAssignmentPointsGradeTypeFromDiscriminatorValue(p
7740
7740
  export function createEducationAssignmentRecipientFromDiscriminatorValue(parseNode) {
7741
7741
  if (!parseNode)
7742
7742
  throw new Error("parseNode cannot be undefined");
7743
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7743
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7744
7744
  if (mappingValueNode) {
7745
7745
  const mappingValue = mappingValueNode.getStringValue();
7746
7746
  if (mappingValue) {
@@ -7999,7 +7999,7 @@ export function createEducationOnPremisesInfoFromDiscriminatorValue(parseNode) {
7999
7999
  export function createEducationOrganizationFromDiscriminatorValue(parseNode) {
8000
8000
  if (!parseNode)
8001
8001
  throw new Error("parseNode cannot be undefined");
8002
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8002
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8003
8003
  if (mappingValueNode) {
8004
8004
  const mappingValue = mappingValueNode.getStringValue();
8005
8005
  if (mappingValue) {
@@ -8029,7 +8029,7 @@ export function createEducationOutcomeCollectionResponseFromDiscriminatorValue(p
8029
8029
  export function createEducationOutcomeFromDiscriminatorValue(parseNode) {
8030
8030
  if (!parseNode)
8031
8031
  throw new Error("parseNode cannot be undefined");
8032
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8032
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8033
8033
  if (mappingValueNode) {
8034
8034
  const mappingValue = mappingValueNode.getStringValue();
8035
8035
  if (mappingValue) {
@@ -8074,7 +8074,7 @@ export function createEducationPowerPointResourceFromDiscriminatorValue(parseNod
8074
8074
  export function createEducationResourceFromDiscriminatorValue(parseNode) {
8075
8075
  if (!parseNode)
8076
8076
  throw new Error("parseNode cannot be undefined");
8077
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8077
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8078
8078
  if (mappingValueNode) {
8079
8079
  const mappingValue = mappingValueNode.getStringValue();
8080
8080
  if (mappingValue) {
@@ -8203,7 +8203,7 @@ export function createEducationSubmissionIndividualRecipientFromDiscriminatorVal
8203
8203
  export function createEducationSubmissionRecipientFromDiscriminatorValue(parseNode) {
8204
8204
  if (!parseNode)
8205
8205
  throw new Error("parseNode cannot be undefined");
8206
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8206
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8207
8207
  if (mappingValueNode) {
8208
8208
  const mappingValue = mappingValueNode.getStringValue();
8209
8209
  if (mappingValue) {
@@ -8449,7 +8449,7 @@ export function createEndUserNotificationFromDiscriminatorValue(parseNode) {
8449
8449
  export function createEndUserNotificationSettingFromDiscriminatorValue(parseNode) {
8450
8450
  if (!parseNode)
8451
8451
  throw new Error("parseNode cannot be undefined");
8452
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8452
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8453
8453
  if (mappingValueNode) {
8454
8454
  const mappingValue = mappingValueNode.getStringValue();
8455
8455
  if (mappingValue) {
@@ -8553,7 +8553,7 @@ export function createEntitlementManagementSettingsFromDiscriminatorValue(parseN
8553
8553
  export function createEntityFromDiscriminatorValue(parseNode) {
8554
8554
  if (!parseNode)
8555
8555
  throw new Error("parseNode cannot be undefined");
8556
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8556
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8557
8557
  if (mappingValueNode) {
8558
8558
  const mappingValue = mappingValueNode.getStringValue();
8559
8559
  if (mappingValue) {
@@ -9161,7 +9161,7 @@ export function createEntityFromDiscriminatorValue(parseNode) {
9161
9161
  case "#microsoft.graph.externalConnectors.externalItem":
9162
9162
  return deserializeIntoExternalItem;
9163
9163
  case "#microsoft.graph.externalConnectors.identity":
9164
- return deserializeIntoIdentity;
9164
+ return I137354aa1f844bbb5aa5ffd805e739993f9683605f407d143ca49924697fa7af;
9165
9165
  case "#microsoft.graph.externalConnectors.schema":
9166
9166
  return deserializeIntoSchema;
9167
9167
  case "#microsoft.graph.externalDomainName":
@@ -10256,6 +10256,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10256
10256
  return deserializeIntoUserSettings;
10257
10257
  case "#microsoft.graph.userSignInInsight":
10258
10258
  return deserializeIntoUserSignInInsight;
10259
+ case "#microsoft.graph.userSolutionRoot":
10260
+ return deserializeIntoUserSolutionRoot;
10259
10261
  case "#microsoft.graph.userStorage":
10260
10262
  return deserializeIntoUserStorage;
10261
10263
  case "#microsoft.graph.userTeamwork":
@@ -10464,6 +10466,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10464
10466
  return deserializeIntoWorkbookWorksheetProtection;
10465
10467
  case "#microsoft.graph.workforceIntegration":
10466
10468
  return deserializeIntoWorkforceIntegration;
10469
+ case "#microsoft.graph.workingTimeSchedule":
10470
+ return deserializeIntoWorkingTimeSchedule;
10467
10471
  case "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration":
10468
10472
  return deserializeIntoX509CertificateAuthenticationMethodConfiguration;
10469
10473
  case "#microsoft.graph.x509CertificateCombinationConfiguration":
@@ -10509,7 +10513,7 @@ export function createEventFromDiscriminatorValue(parseNode) {
10509
10513
  export function createEventMessageDetailFromDiscriminatorValue(parseNode) {
10510
10514
  if (!parseNode)
10511
10515
  throw new Error("parseNode cannot be undefined");
10512
- const mappingValueNode = parseNode.getChildNode("@odata.type");
10516
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
10513
10517
  if (mappingValueNode) {
10514
10518
  const mappingValue = mappingValueNode.getStringValue();
10515
10519
  if (mappingValue) {
@@ -10588,7 +10592,7 @@ export function createEventMessageDetailFromDiscriminatorValue(parseNode) {
10588
10592
  export function createEventMessageFromDiscriminatorValue(parseNode) {
10589
10593
  if (!parseNode)
10590
10594
  throw new Error("parseNode cannot be undefined");
10591
- const mappingValueNode = parseNode.getChildNode("@odata.type");
10595
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
10592
10596
  if (mappingValueNode) {
10593
10597
  const mappingValue = mappingValueNode.getStringValue();
10594
10598
  if (mappingValue) {
@@ -10710,7 +10714,7 @@ export function createExtensionCollectionResponseFromDiscriminatorValue(parseNod
10710
10714
  export function createExtensionFromDiscriminatorValue(parseNode) {
10711
10715
  if (!parseNode)
10712
10716
  throw new Error("parseNode cannot be undefined");
10713
- const mappingValueNode = parseNode.getChildNode("@odata.type");
10717
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
10714
10718
  if (mappingValueNode) {
10715
10719
  const mappingValue = mappingValueNode.getStringValue();
10716
10720
  if (mappingValue) {
@@ -11154,7 +11158,7 @@ export function createGovernanceInsightCollectionResponseFromDiscriminatorValue(
11154
11158
  export function createGovernanceInsightFromDiscriminatorValue(parseNode) {
11155
11159
  if (!parseNode)
11156
11160
  throw new Error("parseNode cannot be undefined");
11157
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11161
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11158
11162
  if (mappingValueNode) {
11159
11163
  const mappingValue = mappingValueNode.getStringValue();
11160
11164
  if (mappingValue) {
@@ -11195,7 +11199,7 @@ export function createGranularMailboxRestoreArtifactFromDiscriminatorValue(parse
11195
11199
  export function createGroupAssignmentTargetFromDiscriminatorValue(parseNode) {
11196
11200
  if (!parseNode)
11197
11201
  throw new Error("parseNode cannot be undefined");
11198
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11202
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11199
11203
  if (mappingValueNode) {
11200
11204
  const mappingValue = mappingValueNode.getStringValue();
11201
11205
  if (mappingValue) {
@@ -11450,7 +11454,7 @@ export function createIdentityCustomUserFlowAttributeFromDiscriminatorValue(pars
11450
11454
  export function createIdentityFromDiscriminatorValue(parseNode) {
11451
11455
  if (!parseNode)
11452
11456
  throw new Error("parseNode cannot be undefined");
11453
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11457
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11454
11458
  if (mappingValueNode) {
11455
11459
  const mappingValue = mappingValueNode.getStringValue();
11456
11460
  if (mappingValue) {
@@ -11536,7 +11540,7 @@ export function createIdentityProviderBaseCollectionResponseFromDiscriminatorVal
11536
11540
  export function createIdentityProviderBaseFromDiscriminatorValue(parseNode) {
11537
11541
  if (!parseNode)
11538
11542
  throw new Error("parseNode cannot be undefined");
11539
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11543
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11540
11544
  if (mappingValueNode) {
11541
11545
  const mappingValue = mappingValueNode.getStringValue();
11542
11546
  if (mappingValue) {
@@ -11594,7 +11598,7 @@ export function createIdentitySecurityDefaultsEnforcementPolicyFromDiscriminator
11594
11598
  export function createIdentitySetFromDiscriminatorValue(parseNode) {
11595
11599
  if (!parseNode)
11596
11600
  throw new Error("parseNode cannot be undefined");
11597
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11601
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11598
11602
  if (mappingValueNode) {
11599
11603
  const mappingValue = mappingValueNode.getStringValue();
11600
11604
  if (mappingValue) {
@@ -11623,7 +11627,7 @@ export function createIdentitySetFromDiscriminatorValue(parseNode) {
11623
11627
  export function createIdentitySourceFromDiscriminatorValue(parseNode) {
11624
11628
  if (!parseNode)
11625
11629
  throw new Error("parseNode cannot be undefined");
11626
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11630
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11627
11631
  if (mappingValueNode) {
11628
11632
  const mappingValue = mappingValueNode.getStringValue();
11629
11633
  if (mappingValue) {
@@ -11679,7 +11683,7 @@ export function createIdentityUserFlowAttributeCollectionResponseFromDiscriminat
11679
11683
  export function createIdentityUserFlowAttributeFromDiscriminatorValue(parseNode) {
11680
11684
  if (!parseNode)
11681
11685
  throw new Error("parseNode cannot be undefined");
11682
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11686
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11683
11687
  if (mappingValueNode) {
11684
11688
  const mappingValue = mappingValueNode.getStringValue();
11685
11689
  if (mappingValue) {
@@ -11702,7 +11706,7 @@ export function createIdentityUserFlowAttributeFromDiscriminatorValue(parseNode)
11702
11706
  export function createIdentityUserFlowFromDiscriminatorValue(parseNode) {
11703
11707
  if (!parseNode)
11704
11708
  throw new Error("parseNode cannot be undefined");
11705
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11709
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11706
11710
  if (mappingValueNode) {
11707
11711
  const mappingValue = mappingValueNode.getStringValue();
11708
11712
  if (mappingValue) {
@@ -12029,7 +12033,7 @@ export function createInvitationParticipantInfoFromDiscriminatorValue(parseNode)
12029
12033
  export function createInvitationRedemptionIdentityProviderConfigurationFromDiscriminatorValue(parseNode) {
12030
12034
  if (!parseNode)
12031
12035
  throw new Error("parseNode cannot be undefined");
12032
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12036
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12033
12037
  if (mappingValueNode) {
12034
12038
  const mappingValue = mappingValueNode.getStringValue();
12035
12039
  if (mappingValue) {
@@ -12149,7 +12153,7 @@ export function createIosHomeScreenFolderPageFromDiscriminatorValue(parseNode) {
12149
12153
  export function createIosHomeScreenItemFromDiscriminatorValue(parseNode) {
12150
12154
  if (!parseNode)
12151
12155
  throw new Error("parseNode cannot be undefined");
12152
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12156
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12153
12157
  if (mappingValueNode) {
12154
12158
  const mappingValue = mappingValueNode.getStringValue();
12155
12159
  if (mappingValue) {
@@ -12406,7 +12410,7 @@ export function createIpNamedLocationFromDiscriminatorValue(parseNode) {
12406
12410
  export function createIpRangeFromDiscriminatorValue(parseNode) {
12407
12411
  if (!parseNode)
12408
12412
  throw new Error("parseNode cannot be undefined");
12409
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12413
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12410
12414
  if (mappingValueNode) {
12411
12415
  const mappingValue = mappingValueNode.getStringValue();
12412
12416
  if (mappingValue) {
@@ -12703,7 +12707,7 @@ export function createLearningCourseActivityCollectionResponseFromDiscriminatorV
12703
12707
  export function createLearningCourseActivityFromDiscriminatorValue(parseNode) {
12704
12708
  if (!parseNode)
12705
12709
  throw new Error("parseNode cannot be undefined");
12706
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12710
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12707
12711
  if (mappingValueNode) {
12708
12712
  const mappingValue = mappingValueNode.getStringValue();
12709
12713
  if (mappingValue) {
@@ -12870,7 +12874,7 @@ export function createListItemVersionCollectionResponseFromDiscriminatorValue(pa
12870
12874
  export function createListItemVersionFromDiscriminatorValue(parseNode) {
12871
12875
  if (!parseNode)
12872
12876
  throw new Error("parseNode cannot be undefined");
12873
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12877
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12874
12878
  if (mappingValueNode) {
12875
12879
  const mappingValue = mappingValueNode.getStringValue();
12876
12880
  if (mappingValue) {
@@ -12963,7 +12967,7 @@ export function createLocationConstraintItemFromDiscriminatorValue(parseNode) {
12963
12967
  export function createLocationFromDiscriminatorValue(parseNode) {
12964
12968
  if (!parseNode)
12965
12969
  throw new Error("parseNode cannot be undefined");
12966
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12970
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12967
12971
  if (mappingValueNode) {
12968
12972
  const mappingValue = mappingValueNode.getStringValue();
12969
12973
  if (mappingValue) {
@@ -13038,7 +13042,7 @@ export function createLongRunningOperationCollectionResponseFromDiscriminatorVal
13038
13042
  export function createLongRunningOperationFromDiscriminatorValue(parseNode) {
13039
13043
  if (!parseNode)
13040
13044
  throw new Error("parseNode cannot be undefined");
13041
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13045
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13042
13046
  if (mappingValueNode) {
13043
13047
  const mappingValue = mappingValueNode.getStringValue();
13044
13048
  if (mappingValue) {
@@ -13270,7 +13274,7 @@ export function createMailboxRestoreArtifactCollectionResponseFromDiscriminatorV
13270
13274
  export function createMailboxRestoreArtifactFromDiscriminatorValue(parseNode) {
13271
13275
  if (!parseNode)
13272
13276
  throw new Error("parseNode cannot be undefined");
13273
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13277
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13274
13278
  if (mappingValueNode) {
13275
13279
  const mappingValue = mappingValueNode.getStringValue();
13276
13280
  if (mappingValue) {
@@ -13309,7 +13313,7 @@ export function createMailFolderCollectionResponseFromDiscriminatorValue(parseNo
13309
13313
  export function createMailFolderFromDiscriminatorValue(parseNode) {
13310
13314
  if (!parseNode)
13311
13315
  throw new Error("parseNode cannot be undefined");
13312
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13316
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13313
13317
  if (mappingValueNode) {
13314
13318
  const mappingValue = mappingValueNode.getStringValue();
13315
13319
  if (mappingValue) {
@@ -13420,7 +13424,7 @@ export function createManagedAndroidStoreAppFromDiscriminatorValue(parseNode) {
13420
13424
  export function createManagedAppConfigurationFromDiscriminatorValue(parseNode) {
13421
13425
  if (!parseNode)
13422
13426
  throw new Error("parseNode cannot be undefined");
13423
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13427
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13424
13428
  if (mappingValueNode) {
13425
13429
  const mappingValue = mappingValueNode.getStringValue();
13426
13430
  if (mappingValue) {
@@ -13450,7 +13454,7 @@ export function createManagedAppDiagnosticStatusFromDiscriminatorValue(parseNode
13450
13454
  export function createManagedAppFromDiscriminatorValue(parseNode) {
13451
13455
  if (!parseNode)
13452
13456
  throw new Error("parseNode cannot be undefined");
13453
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13457
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13454
13458
  if (mappingValueNode) {
13455
13459
  const mappingValue = mappingValueNode.getStringValue();
13456
13460
  if (mappingValue) {
@@ -13524,7 +13528,7 @@ export function createManagedAppPolicyDeploymentSummaryPerAppFromDiscriminatorVa
13524
13528
  export function createManagedAppPolicyFromDiscriminatorValue(parseNode) {
13525
13529
  if (!parseNode)
13526
13530
  throw new Error("parseNode cannot be undefined");
13527
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13531
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13528
13532
  if (mappingValueNode) {
13529
13533
  const mappingValue = mappingValueNode.getStringValue();
13530
13534
  if (mappingValue) {
@@ -13563,7 +13567,7 @@ export function createManagedAppPolicyFromDiscriminatorValue(parseNode) {
13563
13567
  export function createManagedAppProtectionFromDiscriminatorValue(parseNode) {
13564
13568
  if (!parseNode)
13565
13569
  throw new Error("parseNode cannot be undefined");
13566
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13570
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13567
13571
  if (mappingValueNode) {
13568
13572
  const mappingValue = mappingValueNode.getStringValue();
13569
13573
  if (mappingValue) {
@@ -13599,7 +13603,7 @@ export function createManagedAppRegistrationCollectionResponseFromDiscriminatorV
13599
13603
  export function createManagedAppRegistrationFromDiscriminatorValue(parseNode) {
13600
13604
  if (!parseNode)
13601
13605
  throw new Error("parseNode cannot be undefined");
13602
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13606
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13603
13607
  if (mappingValueNode) {
13604
13608
  const mappingValue = mappingValueNode.getStringValue();
13605
13609
  if (mappingValue) {
@@ -13631,7 +13635,7 @@ export function createManagedAppStatusCollectionResponseFromDiscriminatorValue(p
13631
13635
  export function createManagedAppStatusFromDiscriminatorValue(parseNode) {
13632
13636
  if (!parseNode)
13633
13637
  throw new Error("parseNode cannot be undefined");
13634
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13638
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13635
13639
  if (mappingValueNode) {
13636
13640
  const mappingValue = mappingValueNode.getStringValue();
13637
13641
  if (mappingValue) {
@@ -13733,7 +13737,7 @@ export function createManagedDeviceMobileAppConfigurationDeviceSummaryFromDiscri
13733
13737
  export function createManagedDeviceMobileAppConfigurationFromDiscriminatorValue(parseNode) {
13734
13738
  if (!parseNode)
13735
13739
  throw new Error("parseNode cannot be undefined");
13736
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13740
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13737
13741
  if (mappingValueNode) {
13738
13742
  const mappingValue = mappingValueNode.getStringValue();
13739
13743
  if (mappingValue) {
@@ -13799,7 +13803,7 @@ export function createManagedEBookAssignmentCollectionResponseFromDiscriminatorV
13799
13803
  export function createManagedEBookAssignmentFromDiscriminatorValue(parseNode) {
13800
13804
  if (!parseNode)
13801
13805
  throw new Error("parseNode cannot be undefined");
13802
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13806
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13803
13807
  if (mappingValueNode) {
13804
13808
  const mappingValue = mappingValueNode.getStringValue();
13805
13809
  if (mappingValue) {
@@ -13829,7 +13833,7 @@ export function createManagedEBookCollectionResponseFromDiscriminatorValue(parse
13829
13833
  export function createManagedEBookFromDiscriminatorValue(parseNode) {
13830
13834
  if (!parseNode)
13831
13835
  throw new Error("parseNode cannot be undefined");
13832
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13836
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13833
13837
  if (mappingValueNode) {
13834
13838
  const mappingValue = mappingValueNode.getStringValue();
13835
13839
  if (mappingValue) {
@@ -13904,7 +13908,7 @@ export function createManagedMobileLobAppCollectionResponseFromDiscriminatorValu
13904
13908
  export function createManagedMobileLobAppFromDiscriminatorValue(parseNode) {
13905
13909
  if (!parseNode)
13906
13910
  throw new Error("parseNode cannot be undefined");
13907
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13911
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13908
13912
  if (mappingValueNode) {
13909
13913
  const mappingValue = mappingValueNode.getStringValue();
13910
13914
  if (mappingValue) {
@@ -13945,7 +13949,7 @@ export function createMdmWindowsInformationProtectionPolicyFromDiscriminatorValu
13945
13949
  export function createMediaConfigFromDiscriminatorValue(parseNode) {
13946
13950
  if (!parseNode)
13947
13951
  throw new Error("parseNode cannot be undefined");
13948
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13952
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13949
13953
  if (mappingValueNode) {
13950
13954
  const mappingValue = mappingValueNode.getStringValue();
13951
13955
  if (mappingValue) {
@@ -14103,7 +14107,7 @@ export function createMeetingAttendanceReportFromDiscriminatorValue(parseNode) {
14103
14107
  export function createMeetingInfoFromDiscriminatorValue(parseNode) {
14104
14108
  if (!parseNode)
14105
14109
  throw new Error("parseNode cannot be undefined");
14106
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14110
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14107
14111
  if (mappingValueNode) {
14108
14112
  const mappingValue = mappingValueNode.getStringValue();
14109
14113
  if (mappingValue) {
@@ -14128,7 +14132,7 @@ export function createMeetingInfoFromDiscriminatorValue(parseNode) {
14128
14132
  export function createMeetingParticipantInfoFromDiscriminatorValue(parseNode) {
14129
14133
  if (!parseNode)
14130
14134
  throw new Error("parseNode cannot be undefined");
14131
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14135
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14132
14136
  if (mappingValueNode) {
14133
14137
  const mappingValue = mappingValueNode.getStringValue();
14134
14138
  if (mappingValue) {
@@ -14239,7 +14243,7 @@ export function createMessageCollectionResponseFromDiscriminatorValue(parseNode)
14239
14243
  export function createMessageFromDiscriminatorValue(parseNode) {
14240
14244
  if (!parseNode)
14241
14245
  throw new Error("parseNode cannot be undefined");
14242
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14246
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14243
14247
  if (mappingValueNode) {
14244
14248
  const mappingValue = mappingValueNode.getStringValue();
14245
14249
  if (mappingValue) {
@@ -14482,7 +14486,7 @@ export function createMobileAppAssignmentFromDiscriminatorValue(parseNode) {
14482
14486
  export function createMobileAppAssignmentSettingsFromDiscriminatorValue(parseNode) {
14483
14487
  if (!parseNode)
14484
14488
  throw new Error("parseNode cannot be undefined");
14485
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14489
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14486
14490
  if (mappingValueNode) {
14487
14491
  const mappingValue = mappingValueNode.getStringValue();
14488
14492
  if (mappingValue) {
@@ -14580,7 +14584,7 @@ export function createMobileAppContentFromDiscriminatorValue(parseNode) {
14580
14584
  export function createMobileAppFromDiscriminatorValue(parseNode) {
14581
14585
  if (!parseNode)
14582
14586
  throw new Error("parseNode cannot be undefined");
14583
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14587
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14584
14588
  if (mappingValueNode) {
14585
14589
  const mappingValue = mappingValueNode.getStringValue();
14586
14590
  if (mappingValue) {
@@ -14651,7 +14655,7 @@ export function createMobileAppFromDiscriminatorValue(parseNode) {
14651
14655
  export function createMobileAppIdentifierFromDiscriminatorValue(parseNode) {
14652
14656
  if (!parseNode)
14653
14657
  throw new Error("parseNode cannot be undefined");
14654
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14658
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14655
14659
  if (mappingValueNode) {
14656
14660
  const mappingValue = mappingValueNode.getStringValue();
14657
14661
  if (mappingValue) {
@@ -14710,7 +14714,7 @@ export function createMobileContainedAppCollectionResponseFromDiscriminatorValue
14710
14714
  export function createMobileContainedAppFromDiscriminatorValue(parseNode) {
14711
14715
  if (!parseNode)
14712
14716
  throw new Error("parseNode cannot be undefined");
14713
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14717
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14714
14718
  if (mappingValueNode) {
14715
14719
  const mappingValue = mappingValueNode.getStringValue();
14716
14720
  if (mappingValue) {
@@ -14731,7 +14735,7 @@ export function createMobileContainedAppFromDiscriminatorValue(parseNode) {
14731
14735
  export function createMobileLobAppFromDiscriminatorValue(parseNode) {
14732
14736
  if (!parseNode)
14733
14737
  throw new Error("parseNode cannot be undefined");
14734
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14738
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14735
14739
  if (mappingValueNode) {
14736
14740
  const mappingValue = mappingValueNode.getStringValue();
14737
14741
  if (mappingValue) {
@@ -14892,7 +14896,7 @@ export function createNamedLocationCollectionResponseFromDiscriminatorValue(pars
14892
14896
  export function createNamedLocationFromDiscriminatorValue(parseNode) {
14893
14897
  if (!parseNode)
14894
14898
  throw new Error("parseNode cannot be undefined");
14895
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14899
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14896
14900
  if (mappingValueNode) {
14897
14901
  const mappingValue = mappingValueNode.getStringValue();
14898
14902
  if (mappingValue) {
@@ -15086,7 +15090,7 @@ export function createOfferShiftRequestCollectionResponseFromDiscriminatorValue(
15086
15090
  export function createOfferShiftRequestFromDiscriminatorValue(parseNode) {
15087
15091
  if (!parseNode)
15088
15092
  throw new Error("parseNode cannot be undefined");
15089
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15093
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15090
15094
  if (mappingValueNode) {
15091
15095
  const mappingValue = mappingValueNode.getStringValue();
15092
15096
  if (mappingValue) {
@@ -15107,7 +15111,7 @@ export function createOfferShiftRequestFromDiscriminatorValue(parseNode) {
15107
15111
  export function createOfficeGraphInsightsFromDiscriminatorValue(parseNode) {
15108
15112
  if (!parseNode)
15109
15113
  throw new Error("parseNode cannot be undefined");
15110
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15114
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15111
15115
  if (mappingValueNode) {
15112
15116
  const mappingValue = mappingValueNode.getStringValue();
15113
15117
  if (mappingValue) {
@@ -15164,7 +15168,7 @@ export function createOmaSettingFloatingPointFromDiscriminatorValue(parseNode) {
15164
15168
  export function createOmaSettingFromDiscriminatorValue(parseNode) {
15165
15169
  if (!parseNode)
15166
15170
  throw new Error("parseNode cannot be undefined");
15167
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15171
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15168
15172
  if (mappingValueNode) {
15169
15173
  const mappingValue = mappingValueNode.getStringValue();
15170
15174
  if (mappingValue) {
@@ -15233,7 +15237,7 @@ export function createOnAttributeCollectionExternalUsersSelfServiceSignUpFromDis
15233
15237
  export function createOnAttributeCollectionHandlerFromDiscriminatorValue(parseNode) {
15234
15238
  if (!parseNode)
15235
15239
  throw new Error("parseNode cannot be undefined");
15236
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15240
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15237
15241
  if (mappingValueNode) {
15238
15242
  const mappingValue = mappingValueNode.getStringValue();
15239
15243
  if (mappingValue) {
@@ -15272,7 +15276,7 @@ export function createOnAuthenticationMethodLoadStartExternalUsersSelfServiceSig
15272
15276
  export function createOnAuthenticationMethodLoadStartHandlerFromDiscriminatorValue(parseNode) {
15273
15277
  if (!parseNode)
15274
15278
  throw new Error("parseNode cannot be undefined");
15275
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15279
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15276
15280
  if (mappingValueNode) {
15277
15281
  const mappingValue = mappingValueNode.getStringValue();
15278
15282
  if (mappingValue) {
@@ -15338,7 +15342,7 @@ export function createOneDriveForBusinessRestoreSessionFromDiscriminatorValue(pa
15338
15342
  export function createOnenoteEntityBaseModelFromDiscriminatorValue(parseNode) {
15339
15343
  if (!parseNode)
15340
15344
  throw new Error("parseNode cannot be undefined");
15341
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15345
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15342
15346
  if (mappingValueNode) {
15343
15347
  const mappingValue = mappingValueNode.getStringValue();
15344
15348
  if (mappingValue) {
@@ -15371,7 +15375,7 @@ export function createOnenoteEntityBaseModelFromDiscriminatorValue(parseNode) {
15371
15375
  export function createOnenoteEntityHierarchyModelFromDiscriminatorValue(parseNode) {
15372
15376
  if (!parseNode)
15373
15377
  throw new Error("parseNode cannot be undefined");
15374
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15378
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15375
15379
  if (mappingValueNode) {
15376
15380
  const mappingValue = mappingValueNode.getStringValue();
15377
15381
  if (mappingValue) {
@@ -15396,7 +15400,7 @@ export function createOnenoteEntityHierarchyModelFromDiscriminatorValue(parseNod
15396
15400
  export function createOnenoteEntitySchemaObjectModelFromDiscriminatorValue(parseNode) {
15397
15401
  if (!parseNode)
15398
15402
  throw new Error("parseNode cannot be undefined");
15399
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15403
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15400
15404
  if (mappingValueNode) {
15401
15405
  const mappingValue = mappingValueNode.getStringValue();
15402
15406
  if (mappingValue) {
@@ -15551,7 +15555,7 @@ export function createOnInteractiveAuthFlowStartExternalUsersSelfServiceSignUpFr
15551
15555
  export function createOnInteractiveAuthFlowStartHandlerFromDiscriminatorValue(parseNode) {
15552
15556
  if (!parseNode)
15553
15557
  throw new Error("parseNode cannot be undefined");
15554
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15558
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15555
15559
  if (mappingValueNode) {
15556
15560
  const mappingValue = mappingValueNode.getStringValue();
15557
15561
  if (mappingValue) {
@@ -15581,7 +15585,7 @@ export function createOnInteractiveAuthFlowStartListenerFromDiscriminatorValue(p
15581
15585
  export function createOnlineMeetingBaseFromDiscriminatorValue(parseNode) {
15582
15586
  if (!parseNode)
15583
15587
  throw new Error("parseNode cannot be undefined");
15584
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15588
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15585
15589
  if (mappingValueNode) {
15586
15590
  const mappingValue = mappingValueNode.getStringValue();
15587
15591
  if (mappingValue) {
@@ -15730,7 +15734,7 @@ export function createOnTokenIssuanceStartCustomExtensionHandlerFromDiscriminato
15730
15734
  export function createOnTokenIssuanceStartHandlerFromDiscriminatorValue(parseNode) {
15731
15735
  if (!parseNode)
15732
15736
  throw new Error("parseNode cannot be undefined");
15733
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15737
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15734
15738
  if (mappingValueNode) {
15735
15739
  const mappingValue = mappingValueNode.getStringValue();
15736
15740
  if (mappingValue) {
@@ -15778,7 +15782,7 @@ export function createOnUserCreateStartExternalUsersSelfServiceSignUpFromDiscrim
15778
15782
  export function createOnUserCreateStartHandlerFromDiscriminatorValue(parseNode) {
15779
15783
  if (!parseNode)
15780
15784
  throw new Error("parseNode cannot be undefined");
15781
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15785
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15782
15786
  if (mappingValueNode) {
15783
15787
  const mappingValue = mappingValueNode.getStringValue();
15784
15788
  if (mappingValue) {
@@ -15871,7 +15875,7 @@ export function createOperationErrorFromDiscriminatorValue(parseNode) {
15871
15875
  export function createOperationFromDiscriminatorValue(parseNode) {
15872
15876
  if (!parseNode)
15873
15877
  throw new Error("parseNode cannot be undefined");
15874
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15878
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15875
15879
  if (mappingValueNode) {
15876
15880
  const mappingValue = mappingValueNode.getStringValue();
15877
15881
  if (mappingValue) {
@@ -15937,7 +15941,7 @@ export function createOrganizationalBrandingLocalizationFromDiscriminatorValue(p
15937
15941
  export function createOrganizationalBrandingPropertiesFromDiscriminatorValue(parseNode) {
15938
15942
  if (!parseNode)
15939
15943
  throw new Error("parseNode cannot be undefined");
15940
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15944
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15941
15945
  if (mappingValueNode) {
15942
15946
  const mappingValue = mappingValueNode.getStringValue();
15943
15947
  if (mappingValue) {
@@ -16050,7 +16054,7 @@ export function createOutlookGeoCoordinatesFromDiscriminatorValue(parseNode) {
16050
16054
  export function createOutlookItemFromDiscriminatorValue(parseNode) {
16051
16055
  if (!parseNode)
16052
16056
  throw new Error("parseNode cannot be undefined");
16053
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16057
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16054
16058
  if (mappingValueNode) {
16055
16059
  const mappingValue = mappingValueNode.getStringValue();
16056
16060
  if (mappingValue) {
@@ -16274,7 +16278,7 @@ export function createPayloadCollectionResponseFromDiscriminatorValue(parseNode)
16274
16278
  export function createPayloadDetailFromDiscriminatorValue(parseNode) {
16275
16279
  if (!parseNode)
16276
16280
  throw new Error("parseNode cannot be undefined");
16277
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16281
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16278
16282
  if (mappingValueNode) {
16279
16283
  const mappingValue = mappingValueNode.getStringValue();
16280
16284
  if (mappingValue) {
@@ -16529,7 +16533,7 @@ export function createPkcs12CertificateInformationFromDiscriminatorValue(parseNo
16529
16533
  export function createPlaceFromDiscriminatorValue(parseNode) {
16530
16534
  if (!parseNode)
16531
16535
  throw new Error("parseNode cannot be undefined");
16532
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16536
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16533
16537
  if (mappingValueNode) {
16534
16538
  const mappingValue = mappingValueNode.getStringValue();
16535
16539
  if (mappingValue) {
@@ -16759,7 +16763,7 @@ export function createPlayPromptOperationFromDiscriminatorValue(parseNode) {
16759
16763
  export function createPolicyBaseFromDiscriminatorValue(parseNode) {
16760
16764
  if (!parseNode)
16761
16765
  throw new Error("parseNode cannot be undefined");
16762
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16766
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16763
16767
  if (mappingValueNode) {
16764
16768
  const mappingValue = mappingValueNode.getStringValue();
16765
16769
  if (mappingValue) {
@@ -16946,7 +16950,7 @@ export function createPrintDocumentUploadPropertiesFromDiscriminatorValue(parseN
16946
16950
  export function createPrinterBaseFromDiscriminatorValue(parseNode) {
16947
16951
  if (!parseNode)
16948
16952
  throw new Error("parseNode cannot be undefined");
16949
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16953
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16950
16954
  if (mappingValueNode) {
16951
16955
  const mappingValue = mappingValueNode.getStringValue();
16952
16956
  if (mappingValue) {
@@ -17122,7 +17126,7 @@ export function createPrintOperationCollectionResponseFromDiscriminatorValue(par
17122
17126
  export function createPrintOperationFromDiscriminatorValue(parseNode) {
17123
17127
  if (!parseNode)
17124
17128
  throw new Error("parseNode cannot be undefined");
17125
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17129
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17126
17130
  if (mappingValueNode) {
17127
17131
  const mappingValue = mappingValueNode.getStringValue();
17128
17132
  if (mappingValue) {
@@ -17296,7 +17300,7 @@ export function createPrintUsageByUserFromDiscriminatorValue(parseNode) {
17296
17300
  export function createPrintUsageFromDiscriminatorValue(parseNode) {
17297
17301
  if (!parseNode)
17298
17302
  throw new Error("parseNode cannot be undefined");
17299
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17303
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17300
17304
  if (mappingValueNode) {
17301
17305
  const mappingValue = mappingValueNode.getStringValue();
17302
17306
  if (mappingValue) {
@@ -17463,7 +17467,7 @@ export function createPrivilegedAccessRootFromDiscriminatorValue(parseNode) {
17463
17467
  export function createPrivilegedAccessScheduleFromDiscriminatorValue(parseNode) {
17464
17468
  if (!parseNode)
17465
17469
  throw new Error("parseNode cannot be undefined");
17466
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17470
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17467
17471
  if (mappingValueNode) {
17468
17472
  const mappingValue = mappingValueNode.getStringValue();
17469
17473
  if (mappingValue) {
@@ -17486,7 +17490,7 @@ export function createPrivilegedAccessScheduleFromDiscriminatorValue(parseNode)
17486
17490
  export function createPrivilegedAccessScheduleInstanceFromDiscriminatorValue(parseNode) {
17487
17491
  if (!parseNode)
17488
17492
  throw new Error("parseNode cannot be undefined");
17489
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17493
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17490
17494
  if (mappingValueNode) {
17491
17495
  const mappingValue = mappingValueNode.getStringValue();
17492
17496
  if (mappingValue) {
@@ -17509,7 +17513,7 @@ export function createPrivilegedAccessScheduleInstanceFromDiscriminatorValue(par
17509
17513
  export function createPrivilegedAccessScheduleRequestFromDiscriminatorValue(parseNode) {
17510
17514
  if (!parseNode)
17511
17515
  throw new Error("parseNode cannot be undefined");
17512
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17516
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17513
17517
  if (mappingValueNode) {
17514
17518
  const mappingValue = mappingValueNode.getStringValue();
17515
17519
  if (mappingValue) {
@@ -17586,7 +17590,7 @@ export function createProfilePhotoFromDiscriminatorValue(parseNode) {
17586
17590
  export function createPromptFromDiscriminatorValue(parseNode) {
17587
17591
  if (!parseNode)
17588
17592
  throw new Error("parseNode cannot be undefined");
17589
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17593
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17590
17594
  if (mappingValueNode) {
17591
17595
  const mappingValue = mappingValueNode.getStringValue();
17592
17596
  if (mappingValue) {
@@ -17625,7 +17629,7 @@ export function createProtectionPolicyBaseCollectionResponseFromDiscriminatorVal
17625
17629
  export function createProtectionPolicyBaseFromDiscriminatorValue(parseNode) {
17626
17630
  if (!parseNode)
17627
17631
  throw new Error("parseNode cannot be undefined");
17628
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17632
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17629
17633
  if (mappingValueNode) {
17630
17634
  const mappingValue = mappingValueNode.getStringValue();
17631
17635
  if (mappingValue) {
@@ -17650,7 +17654,7 @@ export function createProtectionPolicyBaseFromDiscriminatorValue(parseNode) {
17650
17654
  export function createProtectionRuleBaseFromDiscriminatorValue(parseNode) {
17651
17655
  if (!parseNode)
17652
17656
  throw new Error("parseNode cannot be undefined");
17653
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17657
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17654
17658
  if (mappingValueNode) {
17655
17659
  const mappingValue = mappingValueNode.getStringValue();
17656
17660
  if (mappingValue) {
@@ -17684,7 +17688,7 @@ export function createProtectionUnitBaseCollectionResponseFromDiscriminatorValue
17684
17688
  export function createProtectionUnitBaseFromDiscriminatorValue(parseNode) {
17685
17689
  if (!parseNode)
17686
17690
  throw new Error("parseNode cannot be undefined");
17687
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17691
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17688
17692
  if (mappingValueNode) {
17689
17693
  const mappingValue = mappingValueNode.getStringValue();
17690
17694
  if (mappingValue) {
@@ -17898,7 +17902,7 @@ export function createRecentNotebookLinksFromDiscriminatorValue(parseNode) {
17898
17902
  export function createRecipientFromDiscriminatorValue(parseNode) {
17899
17903
  if (!parseNode)
17900
17904
  throw new Error("parseNode cannot be undefined");
17901
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17905
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17902
17906
  if (mappingValueNode) {
17903
17907
  const mappingValue = mappingValueNode.getStringValue();
17904
17908
  if (mappingValue) {
@@ -18137,7 +18141,7 @@ export function createReportRootFromDiscriminatorValue(parseNode) {
18137
18141
  export function createRequestFromDiscriminatorValue(parseNode) {
18138
18142
  if (!parseNode)
18139
18143
  throw new Error("parseNode cannot be undefined");
18140
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18144
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18141
18145
  if (mappingValueNode) {
18142
18146
  const mappingValue = mappingValueNode.getStringValue();
18143
18147
  if (mappingValue) {
@@ -18312,7 +18316,7 @@ export function createResponseStatusFromDiscriminatorValue(parseNode) {
18312
18316
  export function createRestoreArtifactBaseFromDiscriminatorValue(parseNode) {
18313
18317
  if (!parseNode)
18314
18318
  throw new Error("parseNode cannot be undefined");
18315
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18319
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18316
18320
  if (mappingValueNode) {
18317
18321
  const mappingValue = mappingValueNode.getStringValue();
18318
18322
  if (mappingValue) {
@@ -18384,7 +18388,7 @@ export function createRestoreSessionBaseCollectionResponseFromDiscriminatorValue
18384
18388
  export function createRestoreSessionBaseFromDiscriminatorValue(parseNode) {
18385
18389
  if (!parseNode)
18386
18390
  throw new Error("parseNode cannot be undefined");
18387
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18391
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18388
18392
  if (mappingValueNode) {
18389
18393
  const mappingValue = mappingValueNode.getStringValue();
18390
18394
  if (mappingValue) {
@@ -18526,7 +18530,7 @@ export function createRiskyServicePrincipalCollectionResponseFromDiscriminatorVa
18526
18530
  export function createRiskyServicePrincipalFromDiscriminatorValue(parseNode) {
18527
18531
  if (!parseNode)
18528
18532
  throw new Error("parseNode cannot be undefined");
18529
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18533
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18530
18534
  if (mappingValueNode) {
18531
18535
  const mappingValue = mappingValueNode.getStringValue();
18532
18536
  if (mappingValue) {
@@ -18574,7 +18578,7 @@ export function createRiskyUserCollectionResponseFromDiscriminatorValue(parseNod
18574
18578
  export function createRiskyUserFromDiscriminatorValue(parseNode) {
18575
18579
  if (!parseNode)
18576
18580
  throw new Error("parseNode cannot be undefined");
18577
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18581
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18578
18582
  if (mappingValueNode) {
18579
18583
  const mappingValue = mappingValueNode.getStringValue();
18580
18584
  if (mappingValue) {
@@ -18622,7 +18626,7 @@ export function createRoleAssignmentCollectionResponseFromDiscriminatorValue(par
18622
18626
  export function createRoleAssignmentFromDiscriminatorValue(parseNode) {
18623
18627
  if (!parseNode)
18624
18628
  throw new Error("parseNode cannot be undefined");
18625
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18629
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18626
18630
  if (mappingValueNode) {
18627
18631
  const mappingValue = mappingValueNode.getStringValue();
18628
18632
  if (mappingValue) {
@@ -18652,7 +18656,7 @@ export function createRoleDefinitionCollectionResponseFromDiscriminatorValue(par
18652
18656
  export function createRoleDefinitionFromDiscriminatorValue(parseNode) {
18653
18657
  if (!parseNode)
18654
18658
  throw new Error("parseNode cannot be undefined");
18655
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18659
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18656
18660
  if (mappingValueNode) {
18657
18661
  const mappingValue = mappingValueNode.getStringValue();
18658
18662
  if (mappingValue) {
@@ -18799,7 +18803,7 @@ export function createSamlOrWsFedExternalDomainFederationFromDiscriminatorValue(
18799
18803
  export function createSamlOrWsFedProviderFromDiscriminatorValue(parseNode) {
18800
18804
  if (!parseNode)
18801
18805
  throw new Error("parseNode cannot be undefined");
18802
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18806
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18803
18807
  if (mappingValueNode) {
18804
18808
  const mappingValue = mappingValueNode.getStringValue();
18805
18809
  if (mappingValue) {
@@ -18831,7 +18835,7 @@ export function createSamlSingleSignOnSettingsFromDiscriminatorValue(parseNode)
18831
18835
  export function createScheduleChangeRequestFromDiscriminatorValue(parseNode) {
18832
18836
  if (!parseNode)
18833
18837
  throw new Error("parseNode cannot be undefined");
18834
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18838
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18835
18839
  if (mappingValueNode) {
18836
18840
  const mappingValue = mappingValueNode.getStringValue();
18837
18841
  if (mappingValue) {
@@ -18858,7 +18862,7 @@ export function createScheduleChangeRequestFromDiscriminatorValue(parseNode) {
18858
18862
  export function createScheduleEntityFromDiscriminatorValue(parseNode) {
18859
18863
  if (!parseNode)
18860
18864
  throw new Error("parseNode cannot be undefined");
18861
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18865
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18862
18866
  if (mappingValueNode) {
18863
18867
  const mappingValue = mappingValueNode.getStringValue();
18864
18868
  if (mappingValue) {
@@ -19243,7 +19247,7 @@ export function createServiceAnnouncementAttachmentFromDiscriminatorValue(parseN
19243
19247
  export function createServiceAnnouncementBaseFromDiscriminatorValue(parseNode) {
19244
19248
  if (!parseNode)
19245
19249
  throw new Error("parseNode cannot be undefined");
19246
- const mappingValueNode = parseNode.getChildNode("@odata.type");
19250
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
19247
19251
  if (mappingValueNode) {
19248
19252
  const mappingValue = mappingValueNode.getStringValue();
19249
19253
  if (mappingValue) {
@@ -19419,7 +19423,7 @@ export function createServiceProvisioningErrorCollectionResponseFromDiscriminato
19419
19423
  export function createServiceProvisioningErrorFromDiscriminatorValue(parseNode) {
19420
19424
  if (!parseNode)
19421
19425
  throw new Error("parseNode cannot be undefined");
19422
- const mappingValueNode = parseNode.getChildNode("@odata.type");
19426
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
19423
19427
  if (mappingValueNode) {
19424
19428
  const mappingValue = mappingValueNode.getStringValue();
19425
19429
  if (mappingValue) {
@@ -19782,7 +19786,7 @@ export function createShiftFromDiscriminatorValue(parseNode) {
19782
19786
  export function createShiftItemFromDiscriminatorValue(parseNode) {
19783
19787
  if (!parseNode)
19784
19788
  throw new Error("parseNode cannot be undefined");
19785
- const mappingValueNode = parseNode.getChildNode("@odata.type");
19789
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
19786
19790
  if (mappingValueNode) {
19787
19791
  const mappingValue = mappingValueNode.getStringValue();
19788
19792
  if (mappingValue) {
@@ -20253,7 +20257,7 @@ export function createStaffAvailabilityItemFromDiscriminatorValue(parseNode) {
20253
20257
  export function createStandardTimeZoneOffsetFromDiscriminatorValue(parseNode) {
20254
20258
  if (!parseNode)
20255
20259
  throw new Error("parseNode cannot be undefined");
20256
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20260
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20257
20261
  if (mappingValueNode) {
20258
20262
  const mappingValue = mappingValueNode.getStringValue();
20259
20263
  if (mappingValue) {
@@ -20319,7 +20323,7 @@ export function createStoragePlanInformationFromDiscriminatorValue(parseNode) {
20319
20323
  export function createStorageQuotaBreakdownFromDiscriminatorValue(parseNode) {
20320
20324
  if (!parseNode)
20321
20325
  throw new Error("parseNode cannot be undefined");
20322
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20326
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20323
20327
  if (mappingValueNode) {
20324
20328
  const mappingValue = mappingValueNode.getStringValue();
20325
20329
  if (mappingValue) {
@@ -20394,7 +20398,7 @@ export function createStringKeyStringValuePairFromDiscriminatorValue(parseNode)
20394
20398
  export function createStsPolicyFromDiscriminatorValue(parseNode) {
20395
20399
  if (!parseNode)
20396
20400
  throw new Error("parseNode cannot be undefined");
20397
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20401
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20398
20402
  if (mappingValueNode) {
20399
20403
  const mappingValue = mappingValueNode.getStringValue();
20400
20404
  if (mappingValue) {
@@ -20495,7 +20499,7 @@ export function createSubjectRightsRequestHistoryFromDiscriminatorValue(parseNod
20495
20499
  export function createSubjectRightsRequestMailboxLocationFromDiscriminatorValue(parseNode) {
20496
20500
  if (!parseNode)
20497
20501
  throw new Error("parseNode cannot be undefined");
20498
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20502
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20499
20503
  if (mappingValueNode) {
20500
20504
  const mappingValue = mappingValueNode.getStringValue();
20501
20505
  if (mappingValue) {
@@ -20518,7 +20522,7 @@ export function createSubjectRightsRequestMailboxLocationFromDiscriminatorValue(
20518
20522
  export function createSubjectRightsRequestSiteLocationFromDiscriminatorValue(parseNode) {
20519
20523
  if (!parseNode)
20520
20524
  throw new Error("parseNode cannot be undefined");
20521
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20525
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20522
20526
  if (mappingValueNode) {
20523
20527
  const mappingValue = mappingValueNode.getStringValue();
20524
20528
  if (mappingValue) {
@@ -20550,7 +20554,7 @@ export function createSubjectRightsRequestStageDetailFromDiscriminatorValue(pars
20550
20554
  export function createSubjectSetFromDiscriminatorValue(parseNode) {
20551
20555
  if (!parseNode)
20552
20556
  throw new Error("parseNode cannot be undefined");
20553
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20557
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20554
20558
  if (mappingValueNode) {
20555
20559
  const mappingValue = mappingValueNode.getStringValue();
20556
20560
  if (mappingValue) {
@@ -20910,7 +20914,7 @@ export function createTargetedManagedAppPolicyAssignmentFromDiscriminatorValue(p
20910
20914
  export function createTargetedManagedAppProtectionFromDiscriminatorValue(parseNode) {
20911
20915
  if (!parseNode)
20912
20916
  throw new Error("parseNode cannot be undefined");
20913
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20917
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20914
20918
  if (mappingValueNode) {
20915
20919
  const mappingValue = mappingValueNode.getStringValue();
20916
20920
  if (mappingValue) {
@@ -21032,7 +21036,7 @@ export function createTeamGuestSettingsFromDiscriminatorValue(parseNode) {
21032
21036
  export function createTeamInfoFromDiscriminatorValue(parseNode) {
21033
21037
  if (!parseNode)
21034
21038
  throw new Error("parseNode cannot be undefined");
21035
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21039
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21036
21040
  if (mappingValueNode) {
21037
21041
  const mappingValue = mappingValueNode.getStringValue();
21038
21042
  if (mappingValue) {
@@ -21163,7 +21167,7 @@ export function createTeamsAppInstallationCollectionResponseFromDiscriminatorVal
21163
21167
  export function createTeamsAppInstallationFromDiscriminatorValue(parseNode) {
21164
21168
  if (!parseNode)
21165
21169
  throw new Error("parseNode cannot be undefined");
21166
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21170
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21167
21171
  if (mappingValueNode) {
21168
21172
  const mappingValue = mappingValueNode.getStringValue();
21169
21173
  if (mappingValue) {
@@ -21373,7 +21377,7 @@ export function createTeamworkFromDiscriminatorValue(parseNode) {
21373
21377
  export function createTeamworkHostedContentFromDiscriminatorValue(parseNode) {
21374
21378
  if (!parseNode)
21375
21379
  throw new Error("parseNode cannot be undefined");
21376
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21380
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21377
21381
  if (mappingValueNode) {
21378
21382
  const mappingValue = mappingValueNode.getStringValue();
21379
21383
  if (mappingValue) {
@@ -21394,7 +21398,7 @@ export function createTeamworkHostedContentFromDiscriminatorValue(parseNode) {
21394
21398
  export function createTeamworkNotificationRecipientFromDiscriminatorValue(parseNode) {
21395
21399
  if (!parseNode)
21396
21400
  throw new Error("parseNode cannot be undefined");
21397
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21401
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21398
21402
  if (mappingValueNode) {
21399
21403
  const mappingValue = mappingValueNode.getStringValue();
21400
21404
  if (mappingValue) {
@@ -21511,7 +21515,7 @@ export function createTeleconferenceDeviceAudioQualityFromDiscriminatorValue(par
21511
21515
  export function createTeleconferenceDeviceMediaQualityFromDiscriminatorValue(parseNode) {
21512
21516
  if (!parseNode)
21513
21517
  throw new Error("parseNode cannot be undefined");
21514
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21518
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21515
21519
  if (mappingValueNode) {
21516
21520
  const mappingValue = mappingValueNode.getStringValue();
21517
21521
  if (mappingValue) {
@@ -21554,7 +21558,7 @@ export function createTeleconferenceDeviceScreenSharingQualityFromDiscriminatorV
21554
21558
  export function createTeleconferenceDeviceVideoQualityFromDiscriminatorValue(parseNode) {
21555
21559
  if (!parseNode)
21556
21560
  throw new Error("parseNode cannot be undefined");
21557
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21561
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21558
21562
  if (mappingValueNode) {
21559
21563
  const mappingValue = mappingValueNode.getStringValue();
21560
21564
  if (mappingValue) {
@@ -21737,7 +21741,7 @@ export function createThreatAssessmentRequestCollectionResponseFromDiscriminator
21737
21741
  export function createThreatAssessmentRequestFromDiscriminatorValue(parseNode) {
21738
21742
  if (!parseNode)
21739
21743
  throw new Error("parseNode cannot be undefined");
21740
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21744
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21741
21745
  if (mappingValueNode) {
21742
21746
  const mappingValue = mappingValueNode.getStringValue();
21743
21747
  if (mappingValue) {
@@ -21926,7 +21930,7 @@ export function createTimeSlotFromDiscriminatorValue(parseNode) {
21926
21930
  export function createTimeZoneBaseFromDiscriminatorValue(parseNode) {
21927
21931
  if (!parseNode)
21928
21932
  throw new Error("parseNode cannot be undefined");
21929
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21933
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21930
21934
  if (mappingValueNode) {
21931
21935
  const mappingValue = mappingValueNode.getStringValue();
21932
21936
  if (mappingValue) {
@@ -22127,7 +22131,7 @@ export function createTrainingReminderNotificationFromDiscriminatorValue(parseNo
22127
22131
  export function createTrainingSettingFromDiscriminatorValue(parseNode) {
22128
22132
  if (!parseNode)
22129
22133
  throw new Error("parseNode cannot be undefined");
22130
- const mappingValueNode = parseNode.getChildNode("@odata.type");
22134
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
22131
22135
  if (mappingValueNode) {
22132
22136
  const mappingValue = mappingValueNode.getStringValue();
22133
22137
  if (mappingValue) {
@@ -22462,7 +22466,7 @@ export function createUnifiedRoleManagementPolicyRuleCollectionResponseFromDiscr
22462
22466
  export function createUnifiedRoleManagementPolicyRuleFromDiscriminatorValue(parseNode) {
22463
22467
  if (!parseNode)
22464
22468
  throw new Error("parseNode cannot be undefined");
22465
- const mappingValueNode = parseNode.getChildNode("@odata.type");
22469
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
22466
22470
  if (mappingValueNode) {
22467
22471
  const mappingValue = mappingValueNode.getStringValue();
22468
22472
  if (mappingValue) {
@@ -22509,7 +22513,7 @@ export function createUnifiedRolePermissionFromDiscriminatorValue(parseNode) {
22509
22513
  export function createUnifiedRoleScheduleBaseFromDiscriminatorValue(parseNode) {
22510
22514
  if (!parseNode)
22511
22515
  throw new Error("parseNode cannot be undefined");
22512
- const mappingValueNode = parseNode.getChildNode("@odata.type");
22516
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
22513
22517
  if (mappingValueNode) {
22514
22518
  const mappingValue = mappingValueNode.getStringValue();
22515
22519
  if (mappingValue) {
@@ -22532,7 +22536,7 @@ export function createUnifiedRoleScheduleBaseFromDiscriminatorValue(parseNode) {
22532
22536
  export function createUnifiedRoleScheduleInstanceBaseFromDiscriminatorValue(parseNode) {
22533
22537
  if (!parseNode)
22534
22538
  throw new Error("parseNode cannot be undefined");
22535
- const mappingValueNode = parseNode.getChildNode("@odata.type");
22539
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
22536
22540
  if (mappingValueNode) {
22537
22541
  const mappingValue = mappingValueNode.getStringValue();
22538
22542
  if (mappingValue) {
@@ -23014,7 +23018,7 @@ export function createUserExperienceAnalyticsInsightFromDiscriminatorValue(parse
23014
23018
  export function createUserExperienceAnalyticsInsightValueFromDiscriminatorValue(parseNode) {
23015
23019
  if (!parseNode)
23016
23020
  throw new Error("parseNode cannot be undefined");
23017
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23021
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23018
23022
  if (mappingValueNode) {
23019
23023
  const mappingValue = mappingValueNode.getStringValue();
23020
23024
  if (mappingValue) {
@@ -23424,6 +23428,15 @@ export function createUserSimulationDetailsFromDiscriminatorValue(parseNode) {
23424
23428
  export function createUserSimulationEventInfoFromDiscriminatorValue(parseNode) {
23425
23429
  return deserializeIntoUserSimulationEventInfo;
23426
23430
  }
23431
+ /**
23432
+ * Creates a new instance of the appropriate class based on discriminator value
23433
+ * @param parseNode The parse node to use to read the discriminator value and create the object
23434
+ * @returns {UserSolutionRoot}
23435
+ */
23436
+ // @ts-ignore
23437
+ export function createUserSolutionRootFromDiscriminatorValue(parseNode) {
23438
+ return deserializeIntoUserSolutionRoot;
23439
+ }
23427
23440
  /**
23428
23441
  * Creates a new instance of the appropriate class based on discriminator value
23429
23442
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -23532,7 +23545,7 @@ export function createVirtualEventCollectionResponseFromDiscriminatorValue(parse
23532
23545
  export function createVirtualEventFromDiscriminatorValue(parseNode) {
23533
23546
  if (!parseNode)
23534
23547
  throw new Error("parseNode cannot be undefined");
23535
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23548
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23536
23549
  if (mappingValueNode) {
23537
23550
  const mappingValue = mappingValueNode.getStringValue();
23538
23551
  if (mappingValue) {
@@ -23600,7 +23613,7 @@ export function createVirtualEventRegistrationCollectionResponseFromDiscriminato
23600
23613
  export function createVirtualEventRegistrationConfigurationFromDiscriminatorValue(parseNode) {
23601
23614
  if (!parseNode)
23602
23615
  throw new Error("parseNode cannot be undefined");
23603
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23616
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23604
23617
  if (mappingValueNode) {
23605
23618
  const mappingValue = mappingValueNode.getStringValue();
23606
23619
  if (mappingValue) {
@@ -23666,7 +23679,7 @@ export function createVirtualEventRegistrationQuestionBaseCollectionResponseFrom
23666
23679
  export function createVirtualEventRegistrationQuestionBaseFromDiscriminatorValue(parseNode) {
23667
23680
  if (!parseNode)
23668
23681
  throw new Error("parseNode cannot be undefined");
23669
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23682
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23670
23683
  if (mappingValueNode) {
23671
23684
  const mappingValue = mappingValueNode.getStringValue();
23672
23685
  if (mappingValue) {
@@ -23869,7 +23882,7 @@ export function createWebPartDataFromDiscriminatorValue(parseNode) {
23869
23882
  export function createWebPartFromDiscriminatorValue(parseNode) {
23870
23883
  if (!parseNode)
23871
23884
  throw new Error("parseNode cannot be undefined");
23872
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23885
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23873
23886
  if (mappingValueNode) {
23874
23887
  const mappingValue = mappingValueNode.getStringValue();
23875
23888
  if (mappingValue) {
@@ -24009,7 +24022,7 @@ export function createWin32LobAppReturnCodeFromDiscriminatorValue(parseNode) {
24009
24022
  export function createWin32LobAppRuleFromDiscriminatorValue(parseNode) {
24010
24023
  if (!parseNode)
24011
24024
  throw new Error("parseNode cannot be undefined");
24012
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24025
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24013
24026
  if (mappingValueNode) {
24014
24027
  const mappingValue = mappingValueNode.getStringValue();
24015
24028
  if (mappingValue) {
@@ -24225,7 +24238,7 @@ export function createWindowsDefenderScanActionResultFromDiscriminatorValue(pars
24225
24238
  export function createWindowsDeviceAccountFromDiscriminatorValue(parseNode) {
24226
24239
  if (!parseNode)
24227
24240
  throw new Error("parseNode cannot be undefined");
24228
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24241
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24229
24242
  if (mappingValueNode) {
24230
24243
  const mappingValue = mappingValueNode.getStringValue();
24231
24244
  if (mappingValue) {
@@ -24311,7 +24324,7 @@ export function createWindowsHelloForBusinessAuthenticationMethodFromDiscriminat
24311
24324
  export function createWindowsInformationProtectionAppFromDiscriminatorValue(parseNode) {
24312
24325
  if (!parseNode)
24313
24326
  throw new Error("parseNode cannot be undefined");
24314
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24327
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24315
24328
  if (mappingValueNode) {
24316
24329
  const mappingValue = mappingValueNode.getStringValue();
24317
24330
  if (mappingValue) {
@@ -24388,7 +24401,7 @@ export function createWindowsInformationProtectionDesktopAppFromDiscriminatorVal
24388
24401
  export function createWindowsInformationProtectionFromDiscriminatorValue(parseNode) {
24389
24402
  if (!parseNode)
24390
24403
  throw new Error("parseNode cannot be undefined");
24391
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24404
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24392
24405
  if (mappingValueNode) {
24393
24406
  const mappingValue = mappingValueNode.getStringValue();
24394
24407
  if (mappingValue) {
@@ -24717,7 +24730,7 @@ export function createWindowsUpdateForBusinessConfigurationFromDiscriminatorValu
24717
24730
  export function createWindowsUpdateInstallScheduleTypeFromDiscriminatorValue(parseNode) {
24718
24731
  if (!parseNode)
24719
24732
  throw new Error("parseNode cannot be undefined");
24720
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24733
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24721
24734
  if (mappingValueNode) {
24722
24735
  const mappingValue = mappingValueNode.getStringValue();
24723
24736
  if (mappingValue) {
@@ -25370,6 +25383,15 @@ export function createWorkforceIntegrationFromDiscriminatorValue(parseNode) {
25370
25383
  export function createWorkingHoursFromDiscriminatorValue(parseNode) {
25371
25384
  return deserializeIntoWorkingHours;
25372
25385
  }
25386
+ /**
25387
+ * Creates a new instance of the appropriate class based on discriminator value
25388
+ * @param parseNode The parse node to use to read the discriminator value and create the object
25389
+ * @returns {WorkingTimeSchedule}
25390
+ */
25391
+ // @ts-ignore
25392
+ export function createWorkingTimeScheduleFromDiscriminatorValue(parseNode) {
25393
+ return deserializeIntoWorkingTimeSchedule;
25394
+ }
25373
25395
  /**
25374
25396
  * Creates a new instance of the appropriate class based on discriminator value
25375
25397
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -26683,22 +26705,22 @@ export function deserializeIntoAndroidMinimumOperatingSystem(androidMinimumOpera
26683
26705
  return {
26684
26706
  "backingStoreEnabled": n => { androidMinimumOperatingSystem.backingStoreEnabled = true; },
26685
26707
  "@odata.type": n => { androidMinimumOperatingSystem.odataType = n.getStringValue(); },
26686
- "v10_0": n => { androidMinimumOperatingSystem.v10_0 = n.getBooleanValue(); },
26687
- "v11_0": n => { androidMinimumOperatingSystem.v11_0 = n.getBooleanValue(); },
26688
- "v4_0": n => { androidMinimumOperatingSystem.v4_0 = n.getBooleanValue(); },
26689
- "v4_0_3": n => { androidMinimumOperatingSystem.v4_0_3 = n.getBooleanValue(); },
26690
- "v4_1": n => { androidMinimumOperatingSystem.v4_1 = n.getBooleanValue(); },
26691
- "v4_2": n => { androidMinimumOperatingSystem.v4_2 = n.getBooleanValue(); },
26692
- "v4_3": n => { androidMinimumOperatingSystem.v4_3 = n.getBooleanValue(); },
26693
- "v4_4": n => { androidMinimumOperatingSystem.v4_4 = n.getBooleanValue(); },
26694
- "v5_0": n => { androidMinimumOperatingSystem.v5_0 = n.getBooleanValue(); },
26695
- "v5_1": n => { androidMinimumOperatingSystem.v5_1 = n.getBooleanValue(); },
26696
- "v6_0": n => { androidMinimumOperatingSystem.v6_0 = n.getBooleanValue(); },
26697
- "v7_0": n => { androidMinimumOperatingSystem.v7_0 = n.getBooleanValue(); },
26698
- "v7_1": n => { androidMinimumOperatingSystem.v7_1 = n.getBooleanValue(); },
26699
- "v8_0": n => { androidMinimumOperatingSystem.v8_0 = n.getBooleanValue(); },
26700
- "v8_1": n => { androidMinimumOperatingSystem.v8_1 = n.getBooleanValue(); },
26701
- "v9_0": n => { androidMinimumOperatingSystem.v9_0 = n.getBooleanValue(); },
26708
+ "v10_0": n => { androidMinimumOperatingSystem.v100 = n.getBooleanValue(); },
26709
+ "v11_0": n => { androidMinimumOperatingSystem.v110 = n.getBooleanValue(); },
26710
+ "v4_0": n => { androidMinimumOperatingSystem.v40 = n.getBooleanValue(); },
26711
+ "v4_0_3": n => { androidMinimumOperatingSystem.v403 = n.getBooleanValue(); },
26712
+ "v4_1": n => { androidMinimumOperatingSystem.v41 = n.getBooleanValue(); },
26713
+ "v4_2": n => { androidMinimumOperatingSystem.v42 = n.getBooleanValue(); },
26714
+ "v4_3": n => { androidMinimumOperatingSystem.v43 = n.getBooleanValue(); },
26715
+ "v4_4": n => { androidMinimumOperatingSystem.v44 = n.getBooleanValue(); },
26716
+ "v5_0": n => { androidMinimumOperatingSystem.v50 = n.getBooleanValue(); },
26717
+ "v5_1": n => { androidMinimumOperatingSystem.v51 = n.getBooleanValue(); },
26718
+ "v6_0": n => { androidMinimumOperatingSystem.v60 = n.getBooleanValue(); },
26719
+ "v7_0": n => { androidMinimumOperatingSystem.v70 = n.getBooleanValue(); },
26720
+ "v7_1": n => { androidMinimumOperatingSystem.v71 = n.getBooleanValue(); },
26721
+ "v8_0": n => { androidMinimumOperatingSystem.v80 = n.getBooleanValue(); },
26722
+ "v8_1": n => { androidMinimumOperatingSystem.v81 = n.getBooleanValue(); },
26723
+ "v9_0": n => { androidMinimumOperatingSystem.v90 = n.getBooleanValue(); },
26702
26724
  };
26703
26725
  }
26704
26726
  /**
@@ -35291,14 +35313,14 @@ export function deserializeIntoIosMinimumOperatingSystem(iosMinimumOperatingSyst
35291
35313
  return {
35292
35314
  "backingStoreEnabled": n => { iosMinimumOperatingSystem.backingStoreEnabled = true; },
35293
35315
  "@odata.type": n => { iosMinimumOperatingSystem.odataType = n.getStringValue(); },
35294
- "v10_0": n => { iosMinimumOperatingSystem.v10_0 = n.getBooleanValue(); },
35295
- "v11_0": n => { iosMinimumOperatingSystem.v11_0 = n.getBooleanValue(); },
35296
- "v12_0": n => { iosMinimumOperatingSystem.v12_0 = n.getBooleanValue(); },
35297
- "v13_0": n => { iosMinimumOperatingSystem.v13_0 = n.getBooleanValue(); },
35298
- "v14_0": n => { iosMinimumOperatingSystem.v14_0 = n.getBooleanValue(); },
35299
- "v15_0": n => { iosMinimumOperatingSystem.v15_0 = n.getBooleanValue(); },
35300
- "v8_0": n => { iosMinimumOperatingSystem.v8_0 = n.getBooleanValue(); },
35301
- "v9_0": n => { iosMinimumOperatingSystem.v9_0 = n.getBooleanValue(); },
35316
+ "v10_0": n => { iosMinimumOperatingSystem.v100 = n.getBooleanValue(); },
35317
+ "v11_0": n => { iosMinimumOperatingSystem.v110 = n.getBooleanValue(); },
35318
+ "v12_0": n => { iosMinimumOperatingSystem.v120 = n.getBooleanValue(); },
35319
+ "v13_0": n => { iosMinimumOperatingSystem.v130 = n.getBooleanValue(); },
35320
+ "v14_0": n => { iosMinimumOperatingSystem.v140 = n.getBooleanValue(); },
35321
+ "v15_0": n => { iosMinimumOperatingSystem.v150 = n.getBooleanValue(); },
35322
+ "v8_0": n => { iosMinimumOperatingSystem.v80 = n.getBooleanValue(); },
35323
+ "v9_0": n => { iosMinimumOperatingSystem.v90 = n.getBooleanValue(); },
35302
35324
  };
35303
35325
  }
35304
35326
  /**
@@ -36250,18 +36272,18 @@ export function deserializeIntoMacOSMinimumOperatingSystem(macOSMinimumOperating
36250
36272
  return {
36251
36273
  "backingStoreEnabled": n => { macOSMinimumOperatingSystem.backingStoreEnabled = true; },
36252
36274
  "@odata.type": n => { macOSMinimumOperatingSystem.odataType = n.getStringValue(); },
36253
- "v10_10": n => { macOSMinimumOperatingSystem.v10_10 = n.getBooleanValue(); },
36254
- "v10_11": n => { macOSMinimumOperatingSystem.v10_11 = n.getBooleanValue(); },
36255
- "v10_12": n => { macOSMinimumOperatingSystem.v10_12 = n.getBooleanValue(); },
36256
- "v10_13": n => { macOSMinimumOperatingSystem.v10_13 = n.getBooleanValue(); },
36257
- "v10_14": n => { macOSMinimumOperatingSystem.v10_14 = n.getBooleanValue(); },
36258
- "v10_15": n => { macOSMinimumOperatingSystem.v10_15 = n.getBooleanValue(); },
36259
- "v10_7": n => { macOSMinimumOperatingSystem.v10_7 = n.getBooleanValue(); },
36260
- "v10_8": n => { macOSMinimumOperatingSystem.v10_8 = n.getBooleanValue(); },
36261
- "v10_9": n => { macOSMinimumOperatingSystem.v10_9 = n.getBooleanValue(); },
36262
- "v11_0": n => { macOSMinimumOperatingSystem.v11_0 = n.getBooleanValue(); },
36263
- "v12_0": n => { macOSMinimumOperatingSystem.v12_0 = n.getBooleanValue(); },
36264
- "v13_0": n => { macOSMinimumOperatingSystem.v13_0 = n.getBooleanValue(); },
36275
+ "v10_10": n => { macOSMinimumOperatingSystem.v1010 = n.getBooleanValue(); },
36276
+ "v10_11": n => { macOSMinimumOperatingSystem.v1011 = n.getBooleanValue(); },
36277
+ "v10_12": n => { macOSMinimumOperatingSystem.v1012 = n.getBooleanValue(); },
36278
+ "v10_13": n => { macOSMinimumOperatingSystem.v1013 = n.getBooleanValue(); },
36279
+ "v10_14": n => { macOSMinimumOperatingSystem.v1014 = n.getBooleanValue(); },
36280
+ "v10_15": n => { macOSMinimumOperatingSystem.v1015 = n.getBooleanValue(); },
36281
+ "v10_7": n => { macOSMinimumOperatingSystem.v107 = n.getBooleanValue(); },
36282
+ "v10_8": n => { macOSMinimumOperatingSystem.v108 = n.getBooleanValue(); },
36283
+ "v10_9": n => { macOSMinimumOperatingSystem.v109 = n.getBooleanValue(); },
36284
+ "v11_0": n => { macOSMinimumOperatingSystem.v110 = n.getBooleanValue(); },
36285
+ "v12_0": n => { macOSMinimumOperatingSystem.v120 = n.getBooleanValue(); },
36286
+ "v13_0": n => { macOSMinimumOperatingSystem.v130 = n.getBooleanValue(); },
36265
36287
  };
36266
36288
  }
36267
36289
  /**
@@ -42036,7 +42058,7 @@ export function deserializeIntoSecureScoreControlStateUpdate(secureScoreControlS
42036
42058
  */
42037
42059
  // @ts-ignore
42038
42060
  export function deserializeIntoSecurity(security = {}) {
42039
- return Object.assign(Object.assign({}, deserializeIntoEntity(security)), { "alerts": n => { security.alerts = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "alerts_v2": n => { security.alerts_v2 = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "attackSimulation": n => { security.attackSimulation = n.getObjectValue(createAttackSimulationRootFromDiscriminatorValue); }, "cases": n => { security.cases = n.getObjectValue(createCasesRootFromDiscriminatorValue); }, "identities": n => { security.identities = n.getObjectValue(I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9); }, "incidents": n => { security.incidents = n.getCollectionOfObjectValues(createIncidentFromDiscriminatorValue); }, "labels": n => { security.labels = n.getObjectValue(createLabelsRootFromDiscriminatorValue); }, "secureScoreControlProfiles": n => { security.secureScoreControlProfiles = n.getCollectionOfObjectValues(createSecureScoreControlProfileFromDiscriminatorValue); }, "secureScores": n => { security.secureScores = n.getCollectionOfObjectValues(createSecureScoreFromDiscriminatorValue); }, "subjectRightsRequests": n => { security.subjectRightsRequests = n.getCollectionOfObjectValues(createSubjectRightsRequestFromDiscriminatorValue); }, "threatIntelligence": n => { security.threatIntelligence = n.getObjectValue(createThreatIntelligenceFromDiscriminatorValue); }, "triggers": n => { security.triggers = n.getObjectValue(createTriggersRootFromDiscriminatorValue); }, "triggerTypes": n => { security.triggerTypes = n.getObjectValue(createTriggerTypesRootFromDiscriminatorValue); } });
42061
+ return Object.assign(Object.assign({}, deserializeIntoEntity(security)), { "alerts": n => { security.alerts = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "alerts_v2": n => { security.alertsV2 = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "attackSimulation": n => { security.attackSimulation = n.getObjectValue(createAttackSimulationRootFromDiscriminatorValue); }, "cases": n => { security.cases = n.getObjectValue(createCasesRootFromDiscriminatorValue); }, "identities": n => { security.identities = n.getObjectValue(I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9); }, "incidents": n => { security.incidents = n.getCollectionOfObjectValues(createIncidentFromDiscriminatorValue); }, "labels": n => { security.labels = n.getObjectValue(createLabelsRootFromDiscriminatorValue); }, "secureScoreControlProfiles": n => { security.secureScoreControlProfiles = n.getCollectionOfObjectValues(createSecureScoreControlProfileFromDiscriminatorValue); }, "secureScores": n => { security.secureScores = n.getCollectionOfObjectValues(createSecureScoreFromDiscriminatorValue); }, "subjectRightsRequests": n => { security.subjectRightsRequests = n.getCollectionOfObjectValues(createSubjectRightsRequestFromDiscriminatorValue); }, "threatIntelligence": n => { security.threatIntelligence = n.getObjectValue(createThreatIntelligenceFromDiscriminatorValue); }, "triggers": n => { security.triggers = n.getObjectValue(createTriggersRootFromDiscriminatorValue); }, "triggerTypes": n => { security.triggerTypes = n.getObjectValue(createTriggerTypesRootFromDiscriminatorValue); } });
42040
42062
  }
42041
42063
  /**
42042
42064
  * The deserialization information for the current model
@@ -42765,7 +42787,7 @@ export function deserializeIntoShiftPreferences(shiftPreferences = {}) {
42765
42787
  */
42766
42788
  // @ts-ignore
42767
42789
  export function deserializeIntoSignIn(signIn = {}) {
42768
- return Object.assign(Object.assign({}, deserializeIntoEntity(signIn)), { "appDisplayName": n => { signIn.appDisplayName = n.getStringValue(); }, "appId": n => { signIn.appId = n.getStringValue(); }, "appliedConditionalAccessPolicies": n => { signIn.appliedConditionalAccessPolicies = n.getCollectionOfObjectValues(createAppliedConditionalAccessPolicyFromDiscriminatorValue); }, "clientAppUsed": n => { signIn.clientAppUsed = n.getStringValue(); }, "conditionalAccessStatus": n => { signIn.conditionalAccessStatus = n.getEnumValue(ConditionalAccessStatusObject); }, "correlationId": n => { signIn.correlationId = n.getStringValue(); }, "createdDateTime": n => { signIn.createdDateTime = n.getDateValue(); }, "deviceDetail": n => { signIn.deviceDetail = n.getObjectValue(createDeviceDetailFromDiscriminatorValue); }, "ipAddress": n => { signIn.ipAddress = n.getStringValue(); }, "isInteractive": n => { signIn.isInteractive = n.getBooleanValue(); }, "location": n => { signIn.location = n.getObjectValue(createSignInLocationFromDiscriminatorValue); }, "resourceDisplayName": n => { signIn.resourceDisplayName = n.getStringValue(); }, "resourceId": n => { signIn.resourceId = n.getStringValue(); }, "riskDetail": n => { signIn.riskDetail = n.getEnumValue(RiskDetailObject); }, "riskEventTypes": n => { signIn.riskEventTypes = n.getCollectionOfEnumValues(RiskEventTypeObject); }, "riskEventTypes_v2": n => { signIn.riskEventTypes_v2 = n.getCollectionOfPrimitiveValues(); }, "riskLevelAggregated": n => { signIn.riskLevelAggregated = n.getEnumValue(RiskLevelObject); }, "riskLevelDuringSignIn": n => { signIn.riskLevelDuringSignIn = n.getEnumValue(RiskLevelObject); }, "riskState": n => { signIn.riskState = n.getEnumValue(RiskStateObject); }, "status": n => { signIn.status = n.getObjectValue(createSignInStatusFromDiscriminatorValue); }, "userDisplayName": n => { signIn.userDisplayName = n.getStringValue(); }, "userId": n => { signIn.userId = n.getStringValue(); }, "userPrincipalName": n => { signIn.userPrincipalName = n.getStringValue(); } });
42790
+ return Object.assign(Object.assign({}, deserializeIntoEntity(signIn)), { "appDisplayName": n => { signIn.appDisplayName = n.getStringValue(); }, "appId": n => { signIn.appId = n.getStringValue(); }, "appliedConditionalAccessPolicies": n => { signIn.appliedConditionalAccessPolicies = n.getCollectionOfObjectValues(createAppliedConditionalAccessPolicyFromDiscriminatorValue); }, "clientAppUsed": n => { signIn.clientAppUsed = n.getStringValue(); }, "conditionalAccessStatus": n => { signIn.conditionalAccessStatus = n.getEnumValue(ConditionalAccessStatusObject); }, "correlationId": n => { signIn.correlationId = n.getStringValue(); }, "createdDateTime": n => { signIn.createdDateTime = n.getDateValue(); }, "deviceDetail": n => { signIn.deviceDetail = n.getObjectValue(createDeviceDetailFromDiscriminatorValue); }, "ipAddress": n => { signIn.ipAddress = n.getStringValue(); }, "isInteractive": n => { signIn.isInteractive = n.getBooleanValue(); }, "location": n => { signIn.location = n.getObjectValue(createSignInLocationFromDiscriminatorValue); }, "resourceDisplayName": n => { signIn.resourceDisplayName = n.getStringValue(); }, "resourceId": n => { signIn.resourceId = n.getStringValue(); }, "riskDetail": n => { signIn.riskDetail = n.getEnumValue(RiskDetailObject); }, "riskEventTypes": n => { signIn.riskEventTypes = n.getCollectionOfEnumValues(RiskEventTypeObject); }, "riskEventTypes_v2": n => { signIn.riskEventTypesV2 = n.getCollectionOfPrimitiveValues(); }, "riskLevelAggregated": n => { signIn.riskLevelAggregated = n.getEnumValue(RiskLevelObject); }, "riskLevelDuringSignIn": n => { signIn.riskLevelDuringSignIn = n.getEnumValue(RiskLevelObject); }, "riskState": n => { signIn.riskState = n.getEnumValue(RiskStateObject); }, "status": n => { signIn.status = n.getObjectValue(createSignInStatusFromDiscriminatorValue); }, "userDisplayName": n => { signIn.userDisplayName = n.getStringValue(); }, "userId": n => { signIn.userId = n.getStringValue(); }, "userPrincipalName": n => { signIn.userPrincipalName = n.getStringValue(); } });
42769
42791
  }
42770
42792
  /**
42771
42793
  * The deserialization information for the current model
@@ -45572,7 +45594,7 @@ export function deserializeIntoUsedInsightCollectionResponse(usedInsightCollecti
45572
45594
  */
45573
45595
  // @ts-ignore
45574
45596
  export function deserializeIntoUser(user = {}) {
45575
- return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(user)), { "aboutMe": n => { user.aboutMe = n.getStringValue(); }, "accountEnabled": n => { user.accountEnabled = n.getBooleanValue(); }, "activities": n => { user.activities = n.getCollectionOfObjectValues(createUserActivityFromDiscriminatorValue); }, "ageGroup": n => { user.ageGroup = n.getStringValue(); }, "agreementAcceptances": n => { user.agreementAcceptances = n.getCollectionOfObjectValues(createAgreementAcceptanceFromDiscriminatorValue); }, "appRoleAssignments": n => { user.appRoleAssignments = n.getCollectionOfObjectValues(createAppRoleAssignmentFromDiscriminatorValue); }, "assignedLicenses": n => { user.assignedLicenses = n.getCollectionOfObjectValues(createAssignedLicenseFromDiscriminatorValue); }, "assignedPlans": n => { user.assignedPlans = n.getCollectionOfObjectValues(createAssignedPlanFromDiscriminatorValue); }, "authentication": n => { user.authentication = n.getObjectValue(createAuthenticationFromDiscriminatorValue); }, "authorizationInfo": n => { user.authorizationInfo = n.getObjectValue(createAuthorizationInfoFromDiscriminatorValue); }, "birthday": n => { user.birthday = n.getDateValue(); }, "businessPhones": n => { user.businessPhones = n.getCollectionOfPrimitiveValues(); }, "calendar": n => { user.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "calendarGroups": n => { user.calendarGroups = n.getCollectionOfObjectValues(createCalendarGroupFromDiscriminatorValue); }, "calendars": n => { user.calendars = n.getCollectionOfObjectValues(createCalendarFromDiscriminatorValue); }, "calendarView": n => { user.calendarView = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "chats": n => { user.chats = n.getCollectionOfObjectValues(createChatFromDiscriminatorValue); }, "city": n => { user.city = n.getStringValue(); }, "cloudClipboard": n => { user.cloudClipboard = n.getObjectValue(createCloudClipboardRootFromDiscriminatorValue); }, "companyName": n => { user.companyName = n.getStringValue(); }, "consentProvidedForMinor": n => { user.consentProvidedForMinor = n.getStringValue(); }, "contactFolders": n => { user.contactFolders = n.getCollectionOfObjectValues(createContactFolderFromDiscriminatorValue); }, "contacts": n => { user.contacts = n.getCollectionOfObjectValues(createContactFromDiscriminatorValue); }, "country": n => { user.country = n.getStringValue(); }, "createdDateTime": n => { user.createdDateTime = n.getDateValue(); }, "createdObjects": n => { user.createdObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "creationType": n => { user.creationType = n.getStringValue(); }, "customSecurityAttributes": n => { user.customSecurityAttributes = n.getObjectValue(createCustomSecurityAttributeValueFromDiscriminatorValue); }, "department": n => { user.department = n.getStringValue(); }, "deviceEnrollmentLimit": n => { user.deviceEnrollmentLimit = n.getNumberValue(); }, "deviceManagementTroubleshootingEvents": n => { user.deviceManagementTroubleshootingEvents = n.getCollectionOfObjectValues(createDeviceManagementTroubleshootingEventFromDiscriminatorValue); }, "directReports": n => { user.directReports = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "displayName": n => { user.displayName = n.getStringValue(); }, "drive": n => { user.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "drives": n => { user.drives = n.getCollectionOfObjectValues(createDriveFromDiscriminatorValue); }, "employeeExperience": n => { user.employeeExperience = n.getObjectValue(createEmployeeExperienceUserFromDiscriminatorValue); }, "employeeHireDate": n => { user.employeeHireDate = n.getDateValue(); }, "employeeId": n => { user.employeeId = n.getStringValue(); }, "employeeLeaveDateTime": n => { user.employeeLeaveDateTime = n.getDateValue(); }, "employeeOrgData": n => { user.employeeOrgData = n.getObjectValue(createEmployeeOrgDataFromDiscriminatorValue); }, "employeeType": n => { user.employeeType = n.getStringValue(); }, "events": n => { user.events = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "extensions": n => { user.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "externalUserState": n => { user.externalUserState = n.getStringValue(); }, "externalUserStateChangeDateTime": n => { user.externalUserStateChangeDateTime = n.getDateValue(); }, "faxNumber": n => { user.faxNumber = n.getStringValue(); }, "followedSites": n => { user.followedSites = n.getCollectionOfObjectValues(createSiteFromDiscriminatorValue); }, "givenName": n => { user.givenName = n.getStringValue(); }, "hireDate": n => { user.hireDate = n.getDateValue(); }, "identities": n => { user.identities = n.getCollectionOfObjectValues(createObjectIdentityFromDiscriminatorValue); }, "imAddresses": n => { user.imAddresses = n.getCollectionOfPrimitiveValues(); }, "inferenceClassification": n => { user.inferenceClassification = n.getObjectValue(createInferenceClassificationFromDiscriminatorValue); }, "insights": n => { user.insights = n.getObjectValue(createItemInsightsFromDiscriminatorValue); }, "interests": n => { user.interests = n.getCollectionOfPrimitiveValues(); }, "isResourceAccount": n => { user.isResourceAccount = n.getBooleanValue(); }, "jobTitle": n => { user.jobTitle = n.getStringValue(); }, "joinedTeams": n => { user.joinedTeams = n.getCollectionOfObjectValues(createTeamFromDiscriminatorValue); }, "lastPasswordChangeDateTime": n => { user.lastPasswordChangeDateTime = n.getDateValue(); }, "legalAgeGroupClassification": n => { user.legalAgeGroupClassification = n.getStringValue(); }, "licenseAssignmentStates": n => { user.licenseAssignmentStates = n.getCollectionOfObjectValues(createLicenseAssignmentStateFromDiscriminatorValue); }, "licenseDetails": n => { user.licenseDetails = n.getCollectionOfObjectValues(createLicenseDetailsFromDiscriminatorValue); }, "mail": n => { user.mail = n.getStringValue(); }, "mailboxSettings": n => { user.mailboxSettings = n.getObjectValue(createMailboxSettingsFromDiscriminatorValue); }, "mailFolders": n => { user.mailFolders = n.getCollectionOfObjectValues(createMailFolderFromDiscriminatorValue); }, "mailNickname": n => { user.mailNickname = n.getStringValue(); }, "managedAppRegistrations": n => { user.managedAppRegistrations = n.getCollectionOfObjectValues(createManagedAppRegistrationFromDiscriminatorValue); }, "managedDevices": n => { user.managedDevices = n.getCollectionOfObjectValues(createManagedDeviceFromDiscriminatorValue); }, "manager": n => { user.manager = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "memberOf": n => { user.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "messages": n => { user.messages = n.getCollectionOfObjectValues(createMessageFromDiscriminatorValue); }, "mobilePhone": n => { user.mobilePhone = n.getStringValue(); }, "mySite": n => { user.mySite = n.getStringValue(); }, "oauth2PermissionGrants": n => { user.oauth2PermissionGrants = n.getCollectionOfObjectValues(createOAuth2PermissionGrantFromDiscriminatorValue); }, "officeLocation": n => { user.officeLocation = n.getStringValue(); }, "onenote": n => { user.onenote = n.getObjectValue(createOnenoteFromDiscriminatorValue); }, "onlineMeetings": n => { user.onlineMeetings = n.getCollectionOfObjectValues(createOnlineMeetingFromDiscriminatorValue); }, "onPremisesDistinguishedName": n => { user.onPremisesDistinguishedName = n.getStringValue(); }, "onPremisesDomainName": n => { user.onPremisesDomainName = n.getStringValue(); }, "onPremisesExtensionAttributes": n => { user.onPremisesExtensionAttributes = n.getObjectValue(createOnPremisesExtensionAttributesFromDiscriminatorValue); }, "onPremisesImmutableId": n => { user.onPremisesImmutableId = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { user.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesProvisioningErrors": n => { user.onPremisesProvisioningErrors = n.getCollectionOfObjectValues(createOnPremisesProvisioningErrorFromDiscriminatorValue); }, "onPremisesSamAccountName": n => { user.onPremisesSamAccountName = n.getStringValue(); }, "onPremisesSecurityIdentifier": n => { user.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { user.onPremisesSyncEnabled = n.getBooleanValue(); }, "onPremisesUserPrincipalName": n => { user.onPremisesUserPrincipalName = n.getStringValue(); }, "otherMails": n => { user.otherMails = n.getCollectionOfPrimitiveValues(); }, "outlook": n => { user.outlook = n.getObjectValue(createOutlookUserFromDiscriminatorValue); }, "ownedDevices": n => { user.ownedDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "ownedObjects": n => { user.ownedObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "passwordPolicies": n => { user.passwordPolicies = n.getStringValue(); }, "passwordProfile": n => { user.passwordProfile = n.getObjectValue(createPasswordProfileFromDiscriminatorValue); }, "pastProjects": n => { user.pastProjects = n.getCollectionOfPrimitiveValues(); }, "people": n => { user.people = n.getCollectionOfObjectValues(createPersonFromDiscriminatorValue); }, "permissionGrants": n => { user.permissionGrants = n.getCollectionOfObjectValues(createResourceSpecificPermissionGrantFromDiscriminatorValue); }, "photo": n => { user.photo = n.getObjectValue(createProfilePhotoFromDiscriminatorValue); }, "photos": n => { user.photos = n.getCollectionOfObjectValues(createProfilePhotoFromDiscriminatorValue); }, "planner": n => { user.planner = n.getObjectValue(createPlannerUserFromDiscriminatorValue); }, "postalCode": n => { user.postalCode = n.getStringValue(); }, "preferredDataLocation": n => { user.preferredDataLocation = n.getStringValue(); }, "preferredLanguage": n => { user.preferredLanguage = n.getStringValue(); }, "preferredName": n => { user.preferredName = n.getStringValue(); }, "presence": n => { user.presence = n.getObjectValue(createPresenceFromDiscriminatorValue); }, "print": n => { user.print = n.getObjectValue(createUserPrintFromDiscriminatorValue); }, "provisionedPlans": n => { user.provisionedPlans = n.getCollectionOfObjectValues(createProvisionedPlanFromDiscriminatorValue); }, "proxyAddresses": n => { user.proxyAddresses = n.getCollectionOfPrimitiveValues(); }, "registeredDevices": n => { user.registeredDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "responsibilities": n => { user.responsibilities = n.getCollectionOfPrimitiveValues(); }, "schools": n => { user.schools = n.getCollectionOfPrimitiveValues(); }, "scopedRoleMemberOf": n => { user.scopedRoleMemberOf = n.getCollectionOfObjectValues(createScopedRoleMembershipFromDiscriminatorValue); }, "securityIdentifier": n => { user.securityIdentifier = n.getStringValue(); }, "serviceProvisioningErrors": n => { user.serviceProvisioningErrors = n.getCollectionOfObjectValues(createServiceProvisioningErrorFromDiscriminatorValue); }, "settings": n => { user.settings = n.getObjectValue(createUserSettingsFromDiscriminatorValue); }, "showInAddressList": n => { user.showInAddressList = n.getBooleanValue(); }, "signInActivity": n => { user.signInActivity = n.getObjectValue(createSignInActivityFromDiscriminatorValue); }, "signInSessionsValidFromDateTime": n => { user.signInSessionsValidFromDateTime = n.getDateValue(); }, "skills": n => { user.skills = n.getCollectionOfPrimitiveValues(); }, "sponsors": n => { user.sponsors = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "state": n => { user.state = n.getStringValue(); }, "streetAddress": n => { user.streetAddress = n.getStringValue(); }, "surname": n => { user.surname = n.getStringValue(); }, "teamwork": n => { user.teamwork = n.getObjectValue(createUserTeamworkFromDiscriminatorValue); }, "todo": n => { user.todo = n.getObjectValue(createTodoFromDiscriminatorValue); }, "transitiveMemberOf": n => { user.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "usageLocation": n => { user.usageLocation = n.getStringValue(); }, "userPrincipalName": n => { user.userPrincipalName = n.getStringValue(); }, "userType": n => { user.userType = n.getStringValue(); } });
45597
+ return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(user)), { "aboutMe": n => { user.aboutMe = n.getStringValue(); }, "accountEnabled": n => { user.accountEnabled = n.getBooleanValue(); }, "activities": n => { user.activities = n.getCollectionOfObjectValues(createUserActivityFromDiscriminatorValue); }, "ageGroup": n => { user.ageGroup = n.getStringValue(); }, "agreementAcceptances": n => { user.agreementAcceptances = n.getCollectionOfObjectValues(createAgreementAcceptanceFromDiscriminatorValue); }, "appRoleAssignments": n => { user.appRoleAssignments = n.getCollectionOfObjectValues(createAppRoleAssignmentFromDiscriminatorValue); }, "assignedLicenses": n => { user.assignedLicenses = n.getCollectionOfObjectValues(createAssignedLicenseFromDiscriminatorValue); }, "assignedPlans": n => { user.assignedPlans = n.getCollectionOfObjectValues(createAssignedPlanFromDiscriminatorValue); }, "authentication": n => { user.authentication = n.getObjectValue(createAuthenticationFromDiscriminatorValue); }, "authorizationInfo": n => { user.authorizationInfo = n.getObjectValue(createAuthorizationInfoFromDiscriminatorValue); }, "birthday": n => { user.birthday = n.getDateValue(); }, "businessPhones": n => { user.businessPhones = n.getCollectionOfPrimitiveValues(); }, "calendar": n => { user.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "calendarGroups": n => { user.calendarGroups = n.getCollectionOfObjectValues(createCalendarGroupFromDiscriminatorValue); }, "calendars": n => { user.calendars = n.getCollectionOfObjectValues(createCalendarFromDiscriminatorValue); }, "calendarView": n => { user.calendarView = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "chats": n => { user.chats = n.getCollectionOfObjectValues(createChatFromDiscriminatorValue); }, "city": n => { user.city = n.getStringValue(); }, "cloudClipboard": n => { user.cloudClipboard = n.getObjectValue(createCloudClipboardRootFromDiscriminatorValue); }, "companyName": n => { user.companyName = n.getStringValue(); }, "consentProvidedForMinor": n => { user.consentProvidedForMinor = n.getStringValue(); }, "contactFolders": n => { user.contactFolders = n.getCollectionOfObjectValues(createContactFolderFromDiscriminatorValue); }, "contacts": n => { user.contacts = n.getCollectionOfObjectValues(createContactFromDiscriminatorValue); }, "country": n => { user.country = n.getStringValue(); }, "createdDateTime": n => { user.createdDateTime = n.getDateValue(); }, "createdObjects": n => { user.createdObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "creationType": n => { user.creationType = n.getStringValue(); }, "customSecurityAttributes": n => { user.customSecurityAttributes = n.getObjectValue(createCustomSecurityAttributeValueFromDiscriminatorValue); }, "department": n => { user.department = n.getStringValue(); }, "deviceEnrollmentLimit": n => { user.deviceEnrollmentLimit = n.getNumberValue(); }, "deviceManagementTroubleshootingEvents": n => { user.deviceManagementTroubleshootingEvents = n.getCollectionOfObjectValues(createDeviceManagementTroubleshootingEventFromDiscriminatorValue); }, "directReports": n => { user.directReports = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "displayName": n => { user.displayName = n.getStringValue(); }, "drive": n => { user.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "drives": n => { user.drives = n.getCollectionOfObjectValues(createDriveFromDiscriminatorValue); }, "employeeExperience": n => { user.employeeExperience = n.getObjectValue(createEmployeeExperienceUserFromDiscriminatorValue); }, "employeeHireDate": n => { user.employeeHireDate = n.getDateValue(); }, "employeeId": n => { user.employeeId = n.getStringValue(); }, "employeeLeaveDateTime": n => { user.employeeLeaveDateTime = n.getDateValue(); }, "employeeOrgData": n => { user.employeeOrgData = n.getObjectValue(createEmployeeOrgDataFromDiscriminatorValue); }, "employeeType": n => { user.employeeType = n.getStringValue(); }, "events": n => { user.events = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "extensions": n => { user.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "externalUserState": n => { user.externalUserState = n.getStringValue(); }, "externalUserStateChangeDateTime": n => { user.externalUserStateChangeDateTime = n.getDateValue(); }, "faxNumber": n => { user.faxNumber = n.getStringValue(); }, "followedSites": n => { user.followedSites = n.getCollectionOfObjectValues(createSiteFromDiscriminatorValue); }, "givenName": n => { user.givenName = n.getStringValue(); }, "hireDate": n => { user.hireDate = n.getDateValue(); }, "identities": n => { user.identities = n.getCollectionOfObjectValues(createObjectIdentityFromDiscriminatorValue); }, "imAddresses": n => { user.imAddresses = n.getCollectionOfPrimitiveValues(); }, "inferenceClassification": n => { user.inferenceClassification = n.getObjectValue(createInferenceClassificationFromDiscriminatorValue); }, "insights": n => { user.insights = n.getObjectValue(createItemInsightsFromDiscriminatorValue); }, "interests": n => { user.interests = n.getCollectionOfPrimitiveValues(); }, "isResourceAccount": n => { user.isResourceAccount = n.getBooleanValue(); }, "jobTitle": n => { user.jobTitle = n.getStringValue(); }, "joinedTeams": n => { user.joinedTeams = n.getCollectionOfObjectValues(createTeamFromDiscriminatorValue); }, "lastPasswordChangeDateTime": n => { user.lastPasswordChangeDateTime = n.getDateValue(); }, "legalAgeGroupClassification": n => { user.legalAgeGroupClassification = n.getStringValue(); }, "licenseAssignmentStates": n => { user.licenseAssignmentStates = n.getCollectionOfObjectValues(createLicenseAssignmentStateFromDiscriminatorValue); }, "licenseDetails": n => { user.licenseDetails = n.getCollectionOfObjectValues(createLicenseDetailsFromDiscriminatorValue); }, "mail": n => { user.mail = n.getStringValue(); }, "mailboxSettings": n => { user.mailboxSettings = n.getObjectValue(createMailboxSettingsFromDiscriminatorValue); }, "mailFolders": n => { user.mailFolders = n.getCollectionOfObjectValues(createMailFolderFromDiscriminatorValue); }, "mailNickname": n => { user.mailNickname = n.getStringValue(); }, "managedAppRegistrations": n => { user.managedAppRegistrations = n.getCollectionOfObjectValues(createManagedAppRegistrationFromDiscriminatorValue); }, "managedDevices": n => { user.managedDevices = n.getCollectionOfObjectValues(createManagedDeviceFromDiscriminatorValue); }, "manager": n => { user.manager = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "memberOf": n => { user.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "messages": n => { user.messages = n.getCollectionOfObjectValues(createMessageFromDiscriminatorValue); }, "mobilePhone": n => { user.mobilePhone = n.getStringValue(); }, "mySite": n => { user.mySite = n.getStringValue(); }, "oauth2PermissionGrants": n => { user.oauth2PermissionGrants = n.getCollectionOfObjectValues(createOAuth2PermissionGrantFromDiscriminatorValue); }, "officeLocation": n => { user.officeLocation = n.getStringValue(); }, "onenote": n => { user.onenote = n.getObjectValue(createOnenoteFromDiscriminatorValue); }, "onlineMeetings": n => { user.onlineMeetings = n.getCollectionOfObjectValues(createOnlineMeetingFromDiscriminatorValue); }, "onPremisesDistinguishedName": n => { user.onPremisesDistinguishedName = n.getStringValue(); }, "onPremisesDomainName": n => { user.onPremisesDomainName = n.getStringValue(); }, "onPremisesExtensionAttributes": n => { user.onPremisesExtensionAttributes = n.getObjectValue(createOnPremisesExtensionAttributesFromDiscriminatorValue); }, "onPremisesImmutableId": n => { user.onPremisesImmutableId = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { user.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesProvisioningErrors": n => { user.onPremisesProvisioningErrors = n.getCollectionOfObjectValues(createOnPremisesProvisioningErrorFromDiscriminatorValue); }, "onPremisesSamAccountName": n => { user.onPremisesSamAccountName = n.getStringValue(); }, "onPremisesSecurityIdentifier": n => { user.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { user.onPremisesSyncEnabled = n.getBooleanValue(); }, "onPremisesUserPrincipalName": n => { user.onPremisesUserPrincipalName = n.getStringValue(); }, "otherMails": n => { user.otherMails = n.getCollectionOfPrimitiveValues(); }, "outlook": n => { user.outlook = n.getObjectValue(createOutlookUserFromDiscriminatorValue); }, "ownedDevices": n => { user.ownedDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "ownedObjects": n => { user.ownedObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "passwordPolicies": n => { user.passwordPolicies = n.getStringValue(); }, "passwordProfile": n => { user.passwordProfile = n.getObjectValue(createPasswordProfileFromDiscriminatorValue); }, "pastProjects": n => { user.pastProjects = n.getCollectionOfPrimitiveValues(); }, "people": n => { user.people = n.getCollectionOfObjectValues(createPersonFromDiscriminatorValue); }, "permissionGrants": n => { user.permissionGrants = n.getCollectionOfObjectValues(createResourceSpecificPermissionGrantFromDiscriminatorValue); }, "photo": n => { user.photo = n.getObjectValue(createProfilePhotoFromDiscriminatorValue); }, "photos": n => { user.photos = n.getCollectionOfObjectValues(createProfilePhotoFromDiscriminatorValue); }, "planner": n => { user.planner = n.getObjectValue(createPlannerUserFromDiscriminatorValue); }, "postalCode": n => { user.postalCode = n.getStringValue(); }, "preferredDataLocation": n => { user.preferredDataLocation = n.getStringValue(); }, "preferredLanguage": n => { user.preferredLanguage = n.getStringValue(); }, "preferredName": n => { user.preferredName = n.getStringValue(); }, "presence": n => { user.presence = n.getObjectValue(createPresenceFromDiscriminatorValue); }, "print": n => { user.print = n.getObjectValue(createUserPrintFromDiscriminatorValue); }, "provisionedPlans": n => { user.provisionedPlans = n.getCollectionOfObjectValues(createProvisionedPlanFromDiscriminatorValue); }, "proxyAddresses": n => { user.proxyAddresses = n.getCollectionOfPrimitiveValues(); }, "registeredDevices": n => { user.registeredDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "responsibilities": n => { user.responsibilities = n.getCollectionOfPrimitiveValues(); }, "schools": n => { user.schools = n.getCollectionOfPrimitiveValues(); }, "scopedRoleMemberOf": n => { user.scopedRoleMemberOf = n.getCollectionOfObjectValues(createScopedRoleMembershipFromDiscriminatorValue); }, "securityIdentifier": n => { user.securityIdentifier = n.getStringValue(); }, "serviceProvisioningErrors": n => { user.serviceProvisioningErrors = n.getCollectionOfObjectValues(createServiceProvisioningErrorFromDiscriminatorValue); }, "settings": n => { user.settings = n.getObjectValue(createUserSettingsFromDiscriminatorValue); }, "showInAddressList": n => { user.showInAddressList = n.getBooleanValue(); }, "signInActivity": n => { user.signInActivity = n.getObjectValue(createSignInActivityFromDiscriminatorValue); }, "signInSessionsValidFromDateTime": n => { user.signInSessionsValidFromDateTime = n.getDateValue(); }, "skills": n => { user.skills = n.getCollectionOfPrimitiveValues(); }, "solutions": n => { user.solutions = n.getObjectValue(createUserSolutionRootFromDiscriminatorValue); }, "sponsors": n => { user.sponsors = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "state": n => { user.state = n.getStringValue(); }, "streetAddress": n => { user.streetAddress = n.getStringValue(); }, "surname": n => { user.surname = n.getStringValue(); }, "teamwork": n => { user.teamwork = n.getObjectValue(createUserTeamworkFromDiscriminatorValue); }, "todo": n => { user.todo = n.getObjectValue(createTodoFromDiscriminatorValue); }, "transitiveMemberOf": n => { user.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "usageLocation": n => { user.usageLocation = n.getStringValue(); }, "userPrincipalName": n => { user.userPrincipalName = n.getStringValue(); }, "userType": n => { user.userType = n.getStringValue(); } });
45576
45598
  }
45577
45599
  /**
45578
45600
  * The deserialization information for the current model
@@ -46379,6 +46401,14 @@ export function deserializeIntoUserSimulationEventInfo(userSimulationEventInfo =
46379
46401
  * @returns {Record<string, (node: ParseNode) => void>}
46380
46402
  */
46381
46403
  // @ts-ignore
46404
+ export function deserializeIntoUserSolutionRoot(userSolutionRoot = {}) {
46405
+ return Object.assign(Object.assign({}, deserializeIntoEntity(userSolutionRoot)), { "workingTimeSchedule": n => { userSolutionRoot.workingTimeSchedule = n.getObjectValue(createWorkingTimeScheduleFromDiscriminatorValue); } });
46406
+ }
46407
+ /**
46408
+ * The deserialization information for the current model
46409
+ * @returns {Record<string, (node: ParseNode) => void>}
46410
+ */
46411
+ // @ts-ignore
46382
46412
  export function deserializeIntoUserStorage(userStorage = {}) {
46383
46413
  return Object.assign(Object.assign({}, deserializeIntoEntity(userStorage)), { "quota": n => { userStorage.quota = n.getObjectValue(createUnifiedStorageQuotaFromDiscriminatorValue); } });
46384
46414
  }
@@ -47545,9 +47575,9 @@ export function deserializeIntoWindowsMinimumOperatingSystem(windowsMinimumOpera
47545
47575
  return {
47546
47576
  "backingStoreEnabled": n => { windowsMinimumOperatingSystem.backingStoreEnabled = true; },
47547
47577
  "@odata.type": n => { windowsMinimumOperatingSystem.odataType = n.getStringValue(); },
47548
- "v10_0": n => { windowsMinimumOperatingSystem.v10_0 = n.getBooleanValue(); },
47549
- "v8_0": n => { windowsMinimumOperatingSystem.v8_0 = n.getBooleanValue(); },
47550
- "v8_1": n => { windowsMinimumOperatingSystem.v8_1 = n.getBooleanValue(); },
47578
+ "v10_0": n => { windowsMinimumOperatingSystem.v100 = n.getBooleanValue(); },
47579
+ "v8_0": n => { windowsMinimumOperatingSystem.v80 = n.getBooleanValue(); },
47580
+ "v8_1": n => { windowsMinimumOperatingSystem.v81 = n.getBooleanValue(); },
47551
47581
  };
47552
47582
  }
47553
47583
  /**
@@ -48324,6 +48354,14 @@ export function deserializeIntoWorkingHours(workingHours = {}) {
48324
48354
  * @returns {Record<string, (node: ParseNode) => void>}
48325
48355
  */
48326
48356
  // @ts-ignore
48357
+ export function deserializeIntoWorkingTimeSchedule(workingTimeSchedule = {}) {
48358
+ return Object.assign({}, deserializeIntoEntity(workingTimeSchedule));
48359
+ }
48360
+ /**
48361
+ * The deserialization information for the current model
48362
+ * @returns {Record<string, (node: ParseNode) => void>}
48363
+ */
48364
+ // @ts-ignore
48327
48365
  export function deserializeIntoX509CertificateAuthenticationMethodConfiguration(x509CertificateAuthenticationMethodConfiguration = {}) {
48328
48366
  return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethodConfiguration(x509CertificateAuthenticationMethodConfiguration)), { "authenticationModeConfiguration": n => { x509CertificateAuthenticationMethodConfiguration.authenticationModeConfiguration = n.getObjectValue(createX509CertificateAuthenticationModeConfigurationFromDiscriminatorValue); }, "certificateUserBindings": n => { x509CertificateAuthenticationMethodConfiguration.certificateUserBindings = n.getCollectionOfObjectValues(createX509CertificateUserBindingFromDiscriminatorValue); }, "includeTargets": n => { x509CertificateAuthenticationMethodConfiguration.includeTargets = n.getCollectionOfObjectValues(createAuthenticationMethodTargetFromDiscriminatorValue); } });
48329
48367
  }
@@ -49802,7 +49840,7 @@ export function serializeAgreementFile(writer, agreementFile = {}) {
49802
49840
  // @ts-ignore
49803
49841
  export function serializeAgreementFileData(writer, agreementFileData = {}) {
49804
49842
  if (agreementFileData) {
49805
- writer.writeStringValue("data", agreementFileData.data);
49843
+ writer.writeObjectValue("data", agreementFileData.data);
49806
49844
  writer.writeStringValue("@odata.type", agreementFileData.odataType);
49807
49845
  writer.writeAdditionalData(agreementFileData.additionalData);
49808
49846
  }
@@ -50073,7 +50111,7 @@ export function serializeAlteredQueryToken(writer, alteredQueryToken = {}) {
50073
50111
  export function serializeAlternativeSecurityId(writer, alternativeSecurityId = {}) {
50074
50112
  if (alternativeSecurityId) {
50075
50113
  writer.writeStringValue("identityProvider", alternativeSecurityId.identityProvider);
50076
- writer.writeStringValue("key", alternativeSecurityId.key);
50114
+ writer.writeObjectValue("key", alternativeSecurityId.key);
50077
50115
  writer.writeStringValue("@odata.type", alternativeSecurityId.odataType);
50078
50116
  writer.writeNumberValue("type", alternativeSecurityId.type);
50079
50117
  writer.writeAdditionalData(alternativeSecurityId.additionalData);
@@ -50253,22 +50291,22 @@ export function serializeAndroidManagedAppRegistration(writer, androidManagedApp
50253
50291
  export function serializeAndroidMinimumOperatingSystem(writer, androidMinimumOperatingSystem = {}) {
50254
50292
  if (androidMinimumOperatingSystem) {
50255
50293
  writer.writeStringValue("@odata.type", androidMinimumOperatingSystem.odataType);
50256
- writer.writeBooleanValue("v10_0", androidMinimumOperatingSystem.v10_0);
50257
- writer.writeBooleanValue("v11_0", androidMinimumOperatingSystem.v11_0);
50258
- writer.writeBooleanValue("v4_0", androidMinimumOperatingSystem.v4_0);
50259
- writer.writeBooleanValue("v4_0_3", androidMinimumOperatingSystem.v4_0_3);
50260
- writer.writeBooleanValue("v4_1", androidMinimumOperatingSystem.v4_1);
50261
- writer.writeBooleanValue("v4_2", androidMinimumOperatingSystem.v4_2);
50262
- writer.writeBooleanValue("v4_3", androidMinimumOperatingSystem.v4_3);
50263
- writer.writeBooleanValue("v4_4", androidMinimumOperatingSystem.v4_4);
50264
- writer.writeBooleanValue("v5_0", androidMinimumOperatingSystem.v5_0);
50265
- writer.writeBooleanValue("v5_1", androidMinimumOperatingSystem.v5_1);
50266
- writer.writeBooleanValue("v6_0", androidMinimumOperatingSystem.v6_0);
50267
- writer.writeBooleanValue("v7_0", androidMinimumOperatingSystem.v7_0);
50268
- writer.writeBooleanValue("v7_1", androidMinimumOperatingSystem.v7_1);
50269
- writer.writeBooleanValue("v8_0", androidMinimumOperatingSystem.v8_0);
50270
- writer.writeBooleanValue("v8_1", androidMinimumOperatingSystem.v8_1);
50271
- writer.writeBooleanValue("v9_0", androidMinimumOperatingSystem.v9_0);
50294
+ writer.writeBooleanValue("v10_0", androidMinimumOperatingSystem.v100);
50295
+ writer.writeBooleanValue("v11_0", androidMinimumOperatingSystem.v110);
50296
+ writer.writeBooleanValue("v4_0", androidMinimumOperatingSystem.v40);
50297
+ writer.writeBooleanValue("v4_0_3", androidMinimumOperatingSystem.v403);
50298
+ writer.writeBooleanValue("v4_1", androidMinimumOperatingSystem.v41);
50299
+ writer.writeBooleanValue("v4_2", androidMinimumOperatingSystem.v42);
50300
+ writer.writeBooleanValue("v4_3", androidMinimumOperatingSystem.v43);
50301
+ writer.writeBooleanValue("v4_4", androidMinimumOperatingSystem.v44);
50302
+ writer.writeBooleanValue("v5_0", androidMinimumOperatingSystem.v50);
50303
+ writer.writeBooleanValue("v5_1", androidMinimumOperatingSystem.v51);
50304
+ writer.writeBooleanValue("v6_0", androidMinimumOperatingSystem.v60);
50305
+ writer.writeBooleanValue("v7_0", androidMinimumOperatingSystem.v70);
50306
+ writer.writeBooleanValue("v7_1", androidMinimumOperatingSystem.v71);
50307
+ writer.writeBooleanValue("v8_0", androidMinimumOperatingSystem.v80);
50308
+ writer.writeBooleanValue("v8_1", androidMinimumOperatingSystem.v81);
50309
+ writer.writeBooleanValue("v9_0", androidMinimumOperatingSystem.v90);
50272
50310
  writer.writeAdditionalData(androidMinimumOperatingSystem.additionalData);
50273
50311
  }
50274
50312
  }
@@ -50600,7 +50638,7 @@ export function serializeApplication(writer, application = {}) {
50600
50638
  writer.writeBooleanValue("isDeviceOnlyAuthSupported", application.isDeviceOnlyAuthSupported);
50601
50639
  writer.writeBooleanValue("isFallbackPublicClient", application.isFallbackPublicClient);
50602
50640
  writer.writeCollectionOfObjectValues("keyCredentials", application.keyCredentials, serializeKeyCredential);
50603
- writer.writeStringValue("logo", application.logo);
50641
+ writer.writeObjectValue("logo", application.logo);
50604
50642
  writer.writeEnumValue("nativeAuthenticationApisEnabled", application.nativeAuthenticationApisEnabled);
50605
50643
  writer.writeStringValue("notes", application.notes);
50606
50644
  writer.writeBooleanValue("oauth2RequirePostResponse", application.oauth2RequirePostResponse);
@@ -51182,7 +51220,7 @@ export function serializeAttachmentItem(writer, attachmentItem = {}) {
51182
51220
  export function serializeAttachmentSession(writer, attachmentSession = {}) {
51183
51221
  if (attachmentSession) {
51184
51222
  serializeEntity(writer, attachmentSession);
51185
- writer.writeStringValue("content", attachmentSession.content);
51223
+ writer.writeObjectValue("content", attachmentSession.content);
51186
51224
  writer.writeDateValue("expirationDateTime", attachmentSession.expirationDateTime);
51187
51225
  writer.writeCollectionOfPrimitiveValues("nextExpectedRanges", attachmentSession.nextExpectedRanges);
51188
51226
  }
@@ -53480,7 +53518,7 @@ export function serializeCallRecording(writer, callRecording = {}) {
53480
53518
  if (callRecording) {
53481
53519
  serializeEntity(writer, callRecording);
53482
53520
  writer.writeStringValue("callId", callRecording.callId);
53483
- writer.writeStringValue("content", callRecording.content);
53521
+ writer.writeObjectValue("content", callRecording.content);
53484
53522
  writer.writeStringValue("contentCorrelationId", callRecording.contentCorrelationId);
53485
53523
  writer.writeDateValue("createdDateTime", callRecording.createdDateTime);
53486
53524
  writer.writeDateValue("endDateTime", callRecording.endDateTime);
@@ -53553,13 +53591,13 @@ export function serializeCallTranscript(writer, callTranscript = {}) {
53553
53591
  if (callTranscript) {
53554
53592
  serializeEntity(writer, callTranscript);
53555
53593
  writer.writeStringValue("callId", callTranscript.callId);
53556
- writer.writeStringValue("content", callTranscript.content);
53594
+ writer.writeObjectValue("content", callTranscript.content);
53557
53595
  writer.writeStringValue("contentCorrelationId", callTranscript.contentCorrelationId);
53558
53596
  writer.writeDateValue("createdDateTime", callTranscript.createdDateTime);
53559
53597
  writer.writeDateValue("endDateTime", callTranscript.endDateTime);
53560
53598
  writer.writeStringValue("meetingId", callTranscript.meetingId);
53561
53599
  writer.writeObjectValue("meetingOrganizer", callTranscript.meetingOrganizer, serializeIdentitySet);
53562
- writer.writeStringValue("metadataContent", callTranscript.metadataContent);
53600
+ writer.writeObjectValue("metadataContent", callTranscript.metadataContent);
53563
53601
  writer.writeStringValue("transcriptContentUrl", callTranscript.transcriptContentUrl);
53564
53602
  }
53565
53603
  }
@@ -53629,7 +53667,7 @@ export function serializeCanvasLayout(writer, canvasLayout = {}) {
53629
53667
  // @ts-ignore
53630
53668
  export function serializeCertificateAuthority(writer, certificateAuthority = {}) {
53631
53669
  if (certificateAuthority) {
53632
- writer.writeStringValue("certificate", certificateAuthority.certificate);
53670
+ writer.writeObjectValue("certificate", certificateAuthority.certificate);
53633
53671
  writer.writeStringValue("certificateRevocationListUrl", certificateAuthority.certificateRevocationListUrl);
53634
53672
  writer.writeStringValue("deltaCertificateRevocationListUrl", certificateAuthority.deltaCertificateRevocationListUrl);
53635
53673
  writer.writeBooleanValue("isRootAuthority", certificateAuthority.isRootAuthority);
@@ -56888,7 +56926,7 @@ export function serializeDeviceAndAppManagementAssignmentTarget(writer, deviceAn
56888
56926
  // @ts-ignore
56889
56927
  export function serializeDeviceAndAppManagementData(writer, deviceAndAppManagementData = {}) {
56890
56928
  if (deviceAndAppManagementData) {
56891
- writer.writeStringValue("content", deviceAndAppManagementData.content);
56929
+ writer.writeObjectValue("content", deviceAndAppManagementData.content);
56892
56930
  writer.writeStringValue("@odata.type", deviceAndAppManagementData.odataType);
56893
56931
  writer.writeAdditionalData(deviceAndAppManagementData.additionalData);
56894
56932
  }
@@ -58589,7 +58627,7 @@ export function serializeDriveItem(writer, driveItem = {}) {
58589
58627
  writer.writeObjectValue("audio", driveItem.audio, serializeAudio);
58590
58628
  writer.writeObjectValue("bundle", driveItem.bundle, serializeBundle);
58591
58629
  writer.writeCollectionOfObjectValues("children", driveItem.children, serializeDriveItem);
58592
- writer.writeStringValue("content", driveItem.content);
58630
+ writer.writeObjectValue("content", driveItem.content);
58593
58631
  writer.writeStringValue("cTag", driveItem.cTag);
58594
58632
  writer.writeObjectValue("deleted", driveItem.deleted, serializeDeleted);
58595
58633
  writer.writeObjectValue("file", driveItem.file, serializeFile);
@@ -58669,7 +58707,7 @@ export function serializeDriveItemUploadableProperties(writer, driveItemUploadab
58669
58707
  export function serializeDriveItemVersion(writer, driveItemVersion = {}) {
58670
58708
  if (driveItemVersion) {
58671
58709
  serializeBaseItemVersion(writer, driveItemVersion);
58672
- writer.writeStringValue("content", driveItemVersion.content);
58710
+ writer.writeObjectValue("content", driveItemVersion.content);
58673
58711
  writer.writeNumberValue("size", driveItemVersion.size);
58674
58712
  }
58675
58713
  }
@@ -59972,7 +60010,7 @@ export function serializeEnrollmentTroubleshootingEvent(writer, enrollmentTroubl
59972
60010
  export function serializeEnterpriseCodeSigningCertificate(writer, enterpriseCodeSigningCertificate = {}) {
59973
60011
  if (enterpriseCodeSigningCertificate) {
59974
60012
  serializeEntity(writer, enterpriseCodeSigningCertificate);
59975
- writer.writeStringValue("content", enterpriseCodeSigningCertificate.content);
60013
+ writer.writeObjectValue("content", enterpriseCodeSigningCertificate.content);
59976
60014
  writer.writeDateValue("expirationDateTime", enterpriseCodeSigningCertificate.expirationDateTime);
59977
60015
  writer.writeStringValue("issuer", enterpriseCodeSigningCertificate.issuer);
59978
60016
  writer.writeStringValue("issuerName", enterpriseCodeSigningCertificate.issuerName);
@@ -60591,7 +60629,7 @@ export function serializeFileAssessmentRequest(writer, fileAssessmentRequest = {
60591
60629
  export function serializeFileAttachment(writer, fileAttachment = {}) {
60592
60630
  if (fileAttachment) {
60593
60631
  serializeAttachment(writer, fileAttachment);
60594
- writer.writeStringValue("contentBytes", fileAttachment.contentBytes);
60632
+ writer.writeObjectValue("contentBytes", fileAttachment.contentBytes);
60595
60633
  writer.writeStringValue("contentId", fileAttachment.contentId);
60596
60634
  writer.writeStringValue("contentLocation", fileAttachment.contentLocation);
60597
60635
  }
@@ -60603,12 +60641,12 @@ export function serializeFileAttachment(writer, fileAttachment = {}) {
60603
60641
  // @ts-ignore
60604
60642
  export function serializeFileEncryptionInfo(writer, fileEncryptionInfo = {}) {
60605
60643
  if (fileEncryptionInfo) {
60606
- writer.writeStringValue("encryptionKey", fileEncryptionInfo.encryptionKey);
60607
- writer.writeStringValue("fileDigest", fileEncryptionInfo.fileDigest);
60644
+ writer.writeObjectValue("encryptionKey", fileEncryptionInfo.encryptionKey);
60645
+ writer.writeObjectValue("fileDigest", fileEncryptionInfo.fileDigest);
60608
60646
  writer.writeStringValue("fileDigestAlgorithm", fileEncryptionInfo.fileDigestAlgorithm);
60609
- writer.writeStringValue("initializationVector", fileEncryptionInfo.initializationVector);
60610
- writer.writeStringValue("mac", fileEncryptionInfo.mac);
60611
- writer.writeStringValue("macKey", fileEncryptionInfo.macKey);
60647
+ writer.writeObjectValue("initializationVector", fileEncryptionInfo.initializationVector);
60648
+ writer.writeObjectValue("mac", fileEncryptionInfo.mac);
60649
+ writer.writeObjectValue("macKey", fileEncryptionInfo.macKey);
60612
60650
  writer.writeStringValue("@odata.type", fileEncryptionInfo.odataType);
60613
60651
  writer.writeStringValue("profileIdentifier", fileEncryptionInfo.profileIdentifier);
60614
60652
  writer.writeAdditionalData(fileEncryptionInfo.additionalData);
@@ -61585,7 +61623,7 @@ export function serializeImportedWindowsAutopilotDeviceIdentity(writer, imported
61585
61623
  serializeEntity(writer, importedWindowsAutopilotDeviceIdentity);
61586
61624
  writer.writeStringValue("assignedUserPrincipalName", importedWindowsAutopilotDeviceIdentity.assignedUserPrincipalName);
61587
61625
  writer.writeStringValue("groupTag", importedWindowsAutopilotDeviceIdentity.groupTag);
61588
- writer.writeStringValue("hardwareIdentifier", importedWindowsAutopilotDeviceIdentity.hardwareIdentifier);
61626
+ writer.writeObjectValue("hardwareIdentifier", importedWindowsAutopilotDeviceIdentity.hardwareIdentifier);
61589
61627
  writer.writeStringValue("importId", importedWindowsAutopilotDeviceIdentity.importId);
61590
61628
  writer.writeStringValue("productKey", importedWindowsAutopilotDeviceIdentity.productKey);
61591
61629
  writer.writeStringValue("serialNumber", importedWindowsAutopilotDeviceIdentity.serialNumber);
@@ -62056,7 +62094,7 @@ export function serializeIosCompliancePolicy(writer, iosCompliancePolicy = {}) {
62056
62094
  export function serializeIosCustomConfiguration(writer, iosCustomConfiguration = {}) {
62057
62095
  if (iosCustomConfiguration) {
62058
62096
  serializeDeviceConfiguration(writer, iosCustomConfiguration);
62059
- writer.writeStringValue("payload", iosCustomConfiguration.payload);
62097
+ writer.writeObjectValue("payload", iosCustomConfiguration.payload);
62060
62098
  writer.writeStringValue("payloadFileName", iosCustomConfiguration.payloadFileName);
62061
62099
  writer.writeStringValue("payloadName", iosCustomConfiguration.payloadName);
62062
62100
  }
@@ -62399,14 +62437,14 @@ export function serializeIosManagedAppRegistration(writer, iosManagedAppRegistra
62399
62437
  export function serializeIosMinimumOperatingSystem(writer, iosMinimumOperatingSystem = {}) {
62400
62438
  if (iosMinimumOperatingSystem) {
62401
62439
  writer.writeStringValue("@odata.type", iosMinimumOperatingSystem.odataType);
62402
- writer.writeBooleanValue("v10_0", iosMinimumOperatingSystem.v10_0);
62403
- writer.writeBooleanValue("v11_0", iosMinimumOperatingSystem.v11_0);
62404
- writer.writeBooleanValue("v12_0", iosMinimumOperatingSystem.v12_0);
62405
- writer.writeBooleanValue("v13_0", iosMinimumOperatingSystem.v13_0);
62406
- writer.writeBooleanValue("v14_0", iosMinimumOperatingSystem.v14_0);
62407
- writer.writeBooleanValue("v15_0", iosMinimumOperatingSystem.v15_0);
62408
- writer.writeBooleanValue("v8_0", iosMinimumOperatingSystem.v8_0);
62409
- writer.writeBooleanValue("v9_0", iosMinimumOperatingSystem.v9_0);
62440
+ writer.writeBooleanValue("v10_0", iosMinimumOperatingSystem.v100);
62441
+ writer.writeBooleanValue("v11_0", iosMinimumOperatingSystem.v110);
62442
+ writer.writeBooleanValue("v12_0", iosMinimumOperatingSystem.v120);
62443
+ writer.writeBooleanValue("v13_0", iosMinimumOperatingSystem.v130);
62444
+ writer.writeBooleanValue("v14_0", iosMinimumOperatingSystem.v140);
62445
+ writer.writeBooleanValue("v15_0", iosMinimumOperatingSystem.v150);
62446
+ writer.writeBooleanValue("v8_0", iosMinimumOperatingSystem.v80);
62447
+ writer.writeBooleanValue("v9_0", iosMinimumOperatingSystem.v90);
62410
62448
  writer.writeAdditionalData(iosMinimumOperatingSystem.additionalData);
62411
62449
  }
62412
62450
  }
@@ -62418,7 +62456,7 @@ export function serializeIosMinimumOperatingSystem(writer, iosMinimumOperatingSy
62418
62456
  export function serializeIosMobileAppConfiguration(writer, iosMobileAppConfiguration = {}) {
62419
62457
  if (iosMobileAppConfiguration) {
62420
62458
  serializeManagedDeviceMobileAppConfiguration(writer, iosMobileAppConfiguration);
62421
- writer.writeStringValue("encodedSettingXml", iosMobileAppConfiguration.encodedSettingXml);
62459
+ writer.writeObjectValue("encodedSettingXml", iosMobileAppConfiguration.encodedSettingXml);
62422
62460
  writer.writeCollectionOfObjectValues("settings", iosMobileAppConfiguration.settings, serializeAppConfigurationSettingItem);
62423
62461
  }
62424
62462
  }
@@ -62889,10 +62927,10 @@ export function serializeJoinMeetingIdSettings(writer, joinMeetingIdSettings = {
62889
62927
  // @ts-ignore
62890
62928
  export function serializeKeyCredential(writer, keyCredential = {}) {
62891
62929
  if (keyCredential) {
62892
- writer.writeStringValue("customKeyIdentifier", keyCredential.customKeyIdentifier);
62930
+ writer.writeObjectValue("customKeyIdentifier", keyCredential.customKeyIdentifier);
62893
62931
  writer.writeStringValue("displayName", keyCredential.displayName);
62894
62932
  writer.writeDateValue("endDateTime", keyCredential.endDateTime);
62895
- writer.writeStringValue("key", keyCredential.key);
62933
+ writer.writeObjectValue("key", keyCredential.key);
62896
62934
  writer.writeGuidValue("keyId", keyCredential.keyId);
62897
62935
  writer.writeStringValue("@odata.type", keyCredential.odataType);
62898
62936
  writer.writeDateValue("startDateTime", keyCredential.startDateTime);
@@ -63594,7 +63632,7 @@ export function serializeMacOSCompliancePolicy(writer, macOSCompliancePolicy = {
63594
63632
  export function serializeMacOSCustomConfiguration(writer, macOSCustomConfiguration = {}) {
63595
63633
  if (macOSCustomConfiguration) {
63596
63634
  serializeDeviceConfiguration(writer, macOSCustomConfiguration);
63597
- writer.writeStringValue("payload", macOSCustomConfiguration.payload);
63635
+ writer.writeObjectValue("payload", macOSCustomConfiguration.payload);
63598
63636
  writer.writeStringValue("payloadFileName", macOSCustomConfiguration.payloadFileName);
63599
63637
  writer.writeStringValue("payloadName", macOSCustomConfiguration.payloadName);
63600
63638
  }
@@ -63754,18 +63792,18 @@ export function serializeMacOSMicrosoftEdgeApp(writer, macOSMicrosoftEdgeApp = {
63754
63792
  export function serializeMacOSMinimumOperatingSystem(writer, macOSMinimumOperatingSystem = {}) {
63755
63793
  if (macOSMinimumOperatingSystem) {
63756
63794
  writer.writeStringValue("@odata.type", macOSMinimumOperatingSystem.odataType);
63757
- writer.writeBooleanValue("v10_10", macOSMinimumOperatingSystem.v10_10);
63758
- writer.writeBooleanValue("v10_11", macOSMinimumOperatingSystem.v10_11);
63759
- writer.writeBooleanValue("v10_12", macOSMinimumOperatingSystem.v10_12);
63760
- writer.writeBooleanValue("v10_13", macOSMinimumOperatingSystem.v10_13);
63761
- writer.writeBooleanValue("v10_14", macOSMinimumOperatingSystem.v10_14);
63762
- writer.writeBooleanValue("v10_15", macOSMinimumOperatingSystem.v10_15);
63763
- writer.writeBooleanValue("v10_7", macOSMinimumOperatingSystem.v10_7);
63764
- writer.writeBooleanValue("v10_8", macOSMinimumOperatingSystem.v10_8);
63765
- writer.writeBooleanValue("v10_9", macOSMinimumOperatingSystem.v10_9);
63766
- writer.writeBooleanValue("v11_0", macOSMinimumOperatingSystem.v11_0);
63767
- writer.writeBooleanValue("v12_0", macOSMinimumOperatingSystem.v12_0);
63768
- writer.writeBooleanValue("v13_0", macOSMinimumOperatingSystem.v13_0);
63795
+ writer.writeBooleanValue("v10_10", macOSMinimumOperatingSystem.v1010);
63796
+ writer.writeBooleanValue("v10_11", macOSMinimumOperatingSystem.v1011);
63797
+ writer.writeBooleanValue("v10_12", macOSMinimumOperatingSystem.v1012);
63798
+ writer.writeBooleanValue("v10_13", macOSMinimumOperatingSystem.v1013);
63799
+ writer.writeBooleanValue("v10_14", macOSMinimumOperatingSystem.v1014);
63800
+ writer.writeBooleanValue("v10_15", macOSMinimumOperatingSystem.v1015);
63801
+ writer.writeBooleanValue("v10_7", macOSMinimumOperatingSystem.v107);
63802
+ writer.writeBooleanValue("v10_8", macOSMinimumOperatingSystem.v108);
63803
+ writer.writeBooleanValue("v10_9", macOSMinimumOperatingSystem.v109);
63804
+ writer.writeBooleanValue("v11_0", macOSMinimumOperatingSystem.v110);
63805
+ writer.writeBooleanValue("v12_0", macOSMinimumOperatingSystem.v120);
63806
+ writer.writeBooleanValue("v13_0", macOSMinimumOperatingSystem.v130);
63769
63807
  writer.writeAdditionalData(macOSMinimumOperatingSystem.additionalData);
63770
63808
  }
63771
63809
  }
@@ -65005,7 +65043,7 @@ export function serializeMessage(writer, message = {}) {
65005
65043
  writer.writeStringValue("bodyPreview", message.bodyPreview);
65006
65044
  writer.writeCollectionOfObjectValues("ccRecipients", message.ccRecipients, serializeRecipient);
65007
65045
  writer.writeStringValue("conversationId", message.conversationId);
65008
- writer.writeStringValue("conversationIndex", message.conversationIndex);
65046
+ writer.writeObjectValue("conversationIndex", message.conversationIndex);
65009
65047
  writer.writeCollectionOfObjectValues("extensions", message.extensions, serializeExtension);
65010
65048
  writer.writeObjectValue("flag", message.flag, serializeFollowupFlag);
65011
65049
  writer.writeObjectValue("from", message.from, serializeRecipient);
@@ -65362,7 +65400,7 @@ export function serializeMimeContent(writer, mimeContent = {}) {
65362
65400
  if (mimeContent) {
65363
65401
  writer.writeStringValue("@odata.type", mimeContent.odataType);
65364
65402
  writer.writeStringValue("type", mimeContent.type);
65365
- writer.writeStringValue("value", mimeContent.value);
65403
+ writer.writeObjectValue("value", mimeContent.value);
65366
65404
  writer.writeAdditionalData(mimeContent.additionalData);
65367
65405
  }
65368
65406
  }
@@ -65489,7 +65527,7 @@ export function serializeMobileAppContentFile(writer, mobileAppContentFile = {})
65489
65527
  if (mobileAppContentFile) {
65490
65528
  serializeEntity(writer, mobileAppContentFile);
65491
65529
  writer.writeBooleanValue("isDependency", mobileAppContentFile.isDependency);
65492
- writer.writeStringValue("manifest", mobileAppContentFile.manifest);
65530
+ writer.writeObjectValue("manifest", mobileAppContentFile.manifest);
65493
65531
  writer.writeStringValue("name", mobileAppContentFile.name);
65494
65532
  writer.writeNumberValue("size", mobileAppContentFile.size);
65495
65533
  writer.writeNumberValue("sizeEncrypted", mobileAppContentFile.sizeEncrypted);
@@ -66187,7 +66225,7 @@ export function serializeOmaSettingStringXml(writer, omaSettingStringXml = {}) {
66187
66225
  if (omaSettingStringXml) {
66188
66226
  serializeOmaSetting(writer, omaSettingStringXml);
66189
66227
  writer.writeStringValue("fileName", omaSettingStringXml.fileName);
66190
- writer.writeStringValue("value", omaSettingStringXml.value);
66228
+ writer.writeObjectValue("value", omaSettingStringXml.value);
66191
66229
  }
66192
66230
  }
66193
66231
  /**
@@ -66400,7 +66438,7 @@ export function serializeOnenoteOperationError(writer, onenoteOperationError = {
66400
66438
  export function serializeOnenotePage(writer, onenotePage = {}) {
66401
66439
  if (onenotePage) {
66402
66440
  serializeOnenoteEntitySchemaObjectModel(writer, onenotePage);
66403
- writer.writeStringValue("content", onenotePage.content);
66441
+ writer.writeObjectValue("content", onenotePage.content);
66404
66442
  writer.writeStringValue("contentUrl", onenotePage.contentUrl);
66405
66443
  writer.writeStringValue("createdByAppId", onenotePage.createdByAppId);
66406
66444
  writer.writeDateValue("lastModifiedDateTime", onenotePage.lastModifiedDateTime);
@@ -66472,7 +66510,7 @@ export function serializeOnenotePatchContentCommand(writer, onenotePatchContentC
66472
66510
  export function serializeOnenoteResource(writer, onenoteResource = {}) {
66473
66511
  if (onenoteResource) {
66474
66512
  serializeOnenoteEntityBaseModel(writer, onenoteResource);
66475
- writer.writeStringValue("content", onenoteResource.content);
66513
+ writer.writeObjectValue("content", onenoteResource.content);
66476
66514
  writer.writeStringValue("contentUrl", onenoteResource.contentUrl);
66477
66515
  }
66478
66516
  }
@@ -66555,7 +66593,7 @@ export function serializeOnInteractiveAuthFlowStartListener(writer, onInteractiv
66555
66593
  export function serializeOnlineMeeting(writer, onlineMeeting = {}) {
66556
66594
  if (onlineMeeting) {
66557
66595
  serializeOnlineMeetingBase(writer, onlineMeeting);
66558
- writer.writeStringValue("attendeeReport", onlineMeeting.attendeeReport);
66596
+ writer.writeObjectValue("attendeeReport", onlineMeeting.attendeeReport);
66559
66597
  writer.writeObjectValue("broadcastSettings", onlineMeeting.broadcastSettings, serializeBroadcastMeetingSettings);
66560
66598
  writer.writeDateValue("creationDateTime", onlineMeeting.creationDateTime);
66561
66599
  writer.writeDateValue("endDateTime", onlineMeeting.endDateTime);
@@ -67061,16 +67099,16 @@ export function serializeOrganizationalBrandingProperties(writer, organizational
67061
67099
  if (organizationalBrandingProperties) {
67062
67100
  serializeEntity(writer, organizationalBrandingProperties);
67063
67101
  writer.writeStringValue("backgroundColor", organizationalBrandingProperties.backgroundColor);
67064
- writer.writeStringValue("backgroundImage", organizationalBrandingProperties.backgroundImage);
67102
+ writer.writeObjectValue("backgroundImage", organizationalBrandingProperties.backgroundImage);
67065
67103
  writer.writeStringValue("backgroundImageRelativeUrl", organizationalBrandingProperties.backgroundImageRelativeUrl);
67066
- writer.writeStringValue("bannerLogo", organizationalBrandingProperties.bannerLogo);
67104
+ writer.writeObjectValue("bannerLogo", organizationalBrandingProperties.bannerLogo);
67067
67105
  writer.writeStringValue("bannerLogoRelativeUrl", organizationalBrandingProperties.bannerLogoRelativeUrl);
67068
67106
  writer.writeCollectionOfPrimitiveValues("cdnList", organizationalBrandingProperties.cdnList);
67069
67107
  writer.writeObjectValue("contentCustomization", organizationalBrandingProperties.contentCustomization, serializeContentCustomization);
67070
67108
  writer.writeStringValue("customAccountResetCredentialsUrl", organizationalBrandingProperties.customAccountResetCredentialsUrl);
67071
67109
  writer.writeStringValue("customCannotAccessYourAccountText", organizationalBrandingProperties.customCannotAccessYourAccountText);
67072
67110
  writer.writeStringValue("customCannotAccessYourAccountUrl", organizationalBrandingProperties.customCannotAccessYourAccountUrl);
67073
- writer.writeStringValue("customCSS", organizationalBrandingProperties.customCSS);
67111
+ writer.writeObjectValue("customCSS", organizationalBrandingProperties.customCSS);
67074
67112
  writer.writeStringValue("customCSSRelativeUrl", organizationalBrandingProperties.customCSSRelativeUrl);
67075
67113
  writer.writeStringValue("customForgotMyPasswordText", organizationalBrandingProperties.customForgotMyPasswordText);
67076
67114
  writer.writeStringValue("customPrivacyAndCookiesText", organizationalBrandingProperties.customPrivacyAndCookiesText);
@@ -67078,16 +67116,16 @@ export function serializeOrganizationalBrandingProperties(writer, organizational
67078
67116
  writer.writeStringValue("customResetItNowText", organizationalBrandingProperties.customResetItNowText);
67079
67117
  writer.writeStringValue("customTermsOfUseText", organizationalBrandingProperties.customTermsOfUseText);
67080
67118
  writer.writeStringValue("customTermsOfUseUrl", organizationalBrandingProperties.customTermsOfUseUrl);
67081
- writer.writeStringValue("favicon", organizationalBrandingProperties.favicon);
67119
+ writer.writeObjectValue("favicon", organizationalBrandingProperties.favicon);
67082
67120
  writer.writeStringValue("faviconRelativeUrl", organizationalBrandingProperties.faviconRelativeUrl);
67083
67121
  writer.writeStringValue("headerBackgroundColor", organizationalBrandingProperties.headerBackgroundColor);
67084
- writer.writeStringValue("headerLogo", organizationalBrandingProperties.headerLogo);
67122
+ writer.writeObjectValue("headerLogo", organizationalBrandingProperties.headerLogo);
67085
67123
  writer.writeStringValue("headerLogoRelativeUrl", organizationalBrandingProperties.headerLogoRelativeUrl);
67086
67124
  writer.writeObjectValue("loginPageLayoutConfiguration", organizationalBrandingProperties.loginPageLayoutConfiguration, serializeLoginPageLayoutConfiguration);
67087
67125
  writer.writeObjectValue("loginPageTextVisibilitySettings", organizationalBrandingProperties.loginPageTextVisibilitySettings, serializeLoginPageTextVisibilitySettings);
67088
67126
  writer.writeStringValue("signInPageText", organizationalBrandingProperties.signInPageText);
67089
- writer.writeStringValue("squareLogo", organizationalBrandingProperties.squareLogo);
67090
- writer.writeStringValue("squareLogoDark", organizationalBrandingProperties.squareLogoDark);
67127
+ writer.writeObjectValue("squareLogo", organizationalBrandingProperties.squareLogo);
67128
+ writer.writeObjectValue("squareLogoDark", organizationalBrandingProperties.squareLogoDark);
67091
67129
  writer.writeStringValue("squareLogoDarkRelativeUrl", organizationalBrandingProperties.squareLogoDarkRelativeUrl);
67092
67130
  writer.writeStringValue("squareLogoRelativeUrl", organizationalBrandingProperties.squareLogoRelativeUrl);
67093
67131
  writer.writeStringValue("usernameHintText", organizationalBrandingProperties.usernameHintText);
@@ -67425,7 +67463,7 @@ export function serializePasswordAuthenticationMethodCollectionResponse(writer,
67425
67463
  // @ts-ignore
67426
67464
  export function serializePasswordCredential(writer, passwordCredential = {}) {
67427
67465
  if (passwordCredential) {
67428
- writer.writeStringValue("customKeyIdentifier", passwordCredential.customKeyIdentifier);
67466
+ writer.writeObjectValue("customKeyIdentifier", passwordCredential.customKeyIdentifier);
67429
67467
  writer.writeStringValue("displayName", passwordCredential.displayName);
67430
67468
  writer.writeDateValue("endDateTime", passwordCredential.endDateTime);
67431
67469
  writer.writeStringValue("hint", passwordCredential.hint);
@@ -70154,7 +70192,7 @@ export function serializeRemovedState(writer, removedState = {}) {
70154
70192
  // @ts-ignore
70155
70193
  export function serializeReport(writer, report = {}) {
70156
70194
  if (report) {
70157
- writer.writeStringValue("content", report.content);
70195
+ writer.writeObjectValue("content", report.content);
70158
70196
  writer.writeStringValue("@odata.type", report.odataType);
70159
70197
  writer.writeAdditionalData(report.additionalData);
70160
70198
  }
@@ -71522,7 +71560,7 @@ export function serializeSecurity(writer, security = {}) {
71522
71560
  if (security) {
71523
71561
  serializeEntity(writer, security);
71524
71562
  writer.writeCollectionOfObjectValues("alerts", security.alerts, serializeAlert);
71525
- writer.writeCollectionOfObjectValues("alerts_v2", security.alerts_v2, serializeAlert);
71563
+ writer.writeCollectionOfObjectValues("alerts_v2", security.alertsV2, serializeAlert);
71526
71564
  writer.writeObjectValue("attackSimulation", security.attackSimulation, serializeAttackSimulationRoot);
71527
71565
  writer.writeObjectValue("cases", security.cases, serializeCasesRoot);
71528
71566
  writer.writeObjectValue("identities", security.identities, I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1);
@@ -71593,10 +71631,10 @@ export function serializeSelfServiceSignUpAuthenticationFlowConfiguration(writer
71593
71631
  // @ts-ignore
71594
71632
  export function serializeSelfSignedCertificate(writer, selfSignedCertificate = {}) {
71595
71633
  if (selfSignedCertificate) {
71596
- writer.writeStringValue("customKeyIdentifier", selfSignedCertificate.customKeyIdentifier);
71634
+ writer.writeObjectValue("customKeyIdentifier", selfSignedCertificate.customKeyIdentifier);
71597
71635
  writer.writeStringValue("displayName", selfSignedCertificate.displayName);
71598
71636
  writer.writeDateValue("endDateTime", selfSignedCertificate.endDateTime);
71599
- writer.writeStringValue("key", selfSignedCertificate.key);
71637
+ writer.writeObjectValue("key", selfSignedCertificate.key);
71600
71638
  writer.writeGuidValue("keyId", selfSignedCertificate.keyId);
71601
71639
  writer.writeStringValue("@odata.type", selfSignedCertificate.odataType);
71602
71640
  writer.writeDateValue("startDateTime", selfSignedCertificate.startDateTime);
@@ -71667,7 +71705,7 @@ export function serializeServiceAnnouncement(writer, serviceAnnouncement = {}) {
71667
71705
  export function serializeServiceAnnouncementAttachment(writer, serviceAnnouncementAttachment = {}) {
71668
71706
  if (serviceAnnouncementAttachment) {
71669
71707
  serializeEntity(writer, serviceAnnouncementAttachment);
71670
- writer.writeStringValue("content", serviceAnnouncementAttachment.content);
71708
+ writer.writeObjectValue("content", serviceAnnouncementAttachment.content);
71671
71709
  writer.writeStringValue("contentType", serviceAnnouncementAttachment.contentType);
71672
71710
  writer.writeDateValue("lastModifiedDateTime", serviceAnnouncementAttachment.lastModifiedDateTime);
71673
71711
  writer.writeStringValue("name", serviceAnnouncementAttachment.name);
@@ -72047,7 +72085,7 @@ export function serializeServiceUpdateMessage(writer, serviceUpdateMessage = {})
72047
72085
  serializeServiceAnnouncementBase(writer, serviceUpdateMessage);
72048
72086
  writer.writeDateValue("actionRequiredByDateTime", serviceUpdateMessage.actionRequiredByDateTime);
72049
72087
  writer.writeCollectionOfObjectValues("attachments", serviceUpdateMessage.attachments, serializeServiceAnnouncementAttachment);
72050
- writer.writeStringValue("attachmentsArchive", serviceUpdateMessage.attachmentsArchive);
72088
+ writer.writeObjectValue("attachmentsArchive", serviceUpdateMessage.attachmentsArchive);
72051
72089
  writer.writeObjectValue("body", serviceUpdateMessage.body, serializeItemBody);
72052
72090
  writer.writeEnumValue("category", serviceUpdateMessage.category);
72053
72091
  writer.writeBooleanValue("hasAttachments", serviceUpdateMessage.hasAttachments);
@@ -72584,7 +72622,7 @@ export function serializeSignIn(writer, signIn = {}) {
72584
72622
  writer.writeEnumValue("riskDetail", signIn.riskDetail);
72585
72623
  if (signIn.riskEventTypes)
72586
72624
  writer.writeEnumValue("riskEventTypes", ...signIn.riskEventTypes);
72587
- writer.writeCollectionOfPrimitiveValues("riskEventTypes_v2", signIn.riskEventTypes_v2);
72625
+ writer.writeCollectionOfPrimitiveValues("riskEventTypes_v2", signIn.riskEventTypesV2);
72588
72626
  writer.writeEnumValue("riskLevelAggregated", signIn.riskLevelAggregated);
72589
72627
  writer.writeEnumValue("riskLevelDuringSignIn", signIn.riskLevelDuringSignIn);
72590
72628
  writer.writeEnumValue("riskState", signIn.riskState);
@@ -74142,7 +74180,7 @@ export function serializeTargetUserSponsors(writer, targetUserSponsors = {}) {
74142
74180
  export function serializeTaskFileAttachment(writer, taskFileAttachment = {}) {
74143
74181
  if (taskFileAttachment) {
74144
74182
  serializeAttachmentBase(writer, taskFileAttachment);
74145
- writer.writeStringValue("contentBytes", taskFileAttachment.contentBytes);
74183
+ writer.writeObjectValue("contentBytes", taskFileAttachment.contentBytes);
74146
74184
  }
74147
74185
  }
74148
74186
  /**
@@ -74720,7 +74758,7 @@ export function serializeTeamworkConversationIdentity(writer, teamworkConversati
74720
74758
  export function serializeTeamworkHostedContent(writer, teamworkHostedContent = {}) {
74721
74759
  if (teamworkHostedContent) {
74722
74760
  serializeEntity(writer, teamworkHostedContent);
74723
- writer.writeStringValue("contentBytes", teamworkHostedContent.contentBytes);
74761
+ writer.writeObjectValue("contentBytes", teamworkHostedContent.contentBytes);
74724
74762
  writer.writeStringValue("contentType", teamworkHostedContent.contentType);
74725
74763
  }
74726
74764
  }
@@ -75226,7 +75264,7 @@ export function serializeThreatAssessmentResultCollectionResponse(writer, threat
75226
75264
  // @ts-ignore
75227
75265
  export function serializeThumbnail(writer, thumbnail = {}) {
75228
75266
  if (thumbnail) {
75229
- writer.writeStringValue("content", thumbnail.content);
75267
+ writer.writeObjectValue("content", thumbnail.content);
75230
75268
  writer.writeNumberValue("height", thumbnail.height);
75231
75269
  writer.writeStringValue("@odata.type", thumbnail.odataType);
75232
75270
  writer.writeStringValue("sourceItemId", thumbnail.sourceItemId);
@@ -76545,6 +76583,7 @@ export function serializeUser(writer, user = {}) {
76545
76583
  writer.writeObjectValue("signInActivity", user.signInActivity, serializeSignInActivity);
76546
76584
  writer.writeDateValue("signInSessionsValidFromDateTime", user.signInSessionsValidFromDateTime);
76547
76585
  writer.writeCollectionOfPrimitiveValues("skills", user.skills);
76586
+ writer.writeObjectValue("solutions", user.solutions, serializeUserSolutionRoot);
76548
76587
  writer.writeCollectionOfObjectValues("sponsors", user.sponsors, serializeDirectoryObject);
76549
76588
  writer.writeStringValue("state", user.state);
76550
76589
  writer.writeStringValue("streetAddress", user.streetAddress);
@@ -77779,6 +77818,17 @@ export function serializeUserSimulationEventInfo(writer, userSimulationEventInfo
77779
77818
  * @param writer Serialization writer to use to serialize this model
77780
77819
  */
77781
77820
  // @ts-ignore
77821
+ export function serializeUserSolutionRoot(writer, userSolutionRoot = {}) {
77822
+ if (userSolutionRoot) {
77823
+ serializeEntity(writer, userSolutionRoot);
77824
+ writer.writeObjectValue("workingTimeSchedule", userSolutionRoot.workingTimeSchedule, serializeWorkingTimeSchedule);
77825
+ }
77826
+ }
77827
+ /**
77828
+ * Serializes information the current object
77829
+ * @param writer Serialization writer to use to serialize this model
77830
+ */
77831
+ // @ts-ignore
77782
77832
  export function serializeUserStorage(writer, userStorage = {}) {
77783
77833
  if (userStorage) {
77784
77834
  serializeEntity(writer, userStorage);
@@ -77993,7 +78043,7 @@ export function serializeVirtualEventPresenterDetails(writer, virtualEventPresen
77993
78043
  writer.writeStringValue("linkedInProfileWebUrl", virtualEventPresenterDetails.linkedInProfileWebUrl);
77994
78044
  writer.writeStringValue("@odata.type", virtualEventPresenterDetails.odataType);
77995
78045
  writer.writeStringValue("personalSiteWebUrl", virtualEventPresenterDetails.personalSiteWebUrl);
77996
- writer.writeStringValue("photo", virtualEventPresenterDetails.photo);
78046
+ writer.writeObjectValue("photo", virtualEventPresenterDetails.photo);
77997
78047
  writer.writeStringValue("twitterProfileWebUrl", virtualEventPresenterDetails.twitterProfileWebUrl);
77998
78048
  writer.writeAdditionalData(virtualEventPresenterDetails.additionalData);
77999
78049
  }
@@ -78666,7 +78716,7 @@ export function serializeWindows10EndpointProtectionConfiguration(writer, window
78666
78716
  writer.writeObjectValue("bitLockerRemovableDrivePolicy", windows10EndpointProtectionConfiguration.bitLockerRemovableDrivePolicy, serializeBitLockerRemovableDrivePolicy);
78667
78717
  writer.writeCollectionOfPrimitiveValues("defenderAdditionalGuardedFolders", windows10EndpointProtectionConfiguration.defenderAdditionalGuardedFolders);
78668
78718
  writer.writeCollectionOfPrimitiveValues("defenderAttackSurfaceReductionExcludedPaths", windows10EndpointProtectionConfiguration.defenderAttackSurfaceReductionExcludedPaths);
78669
- writer.writeStringValue("defenderExploitProtectionXml", windows10EndpointProtectionConfiguration.defenderExploitProtectionXml);
78719
+ writer.writeObjectValue("defenderExploitProtectionXml", windows10EndpointProtectionConfiguration.defenderExploitProtectionXml);
78670
78720
  writer.writeStringValue("defenderExploitProtectionXmlFileName", windows10EndpointProtectionConfiguration.defenderExploitProtectionXmlFileName);
78671
78721
  writer.writeCollectionOfPrimitiveValues("defenderGuardedFoldersAllowedAppPaths", windows10EndpointProtectionConfiguration.defenderGuardedFoldersAllowedAppPaths);
78672
78722
  writer.writeBooleanValue("defenderSecurityCenterBlockExploitProtectionOverride", windows10EndpointProtectionConfiguration.defenderSecurityCenterBlockExploitProtectionOverride);
@@ -78879,8 +78929,8 @@ export function serializeWindows10GeneralConfiguration(writer, windows10GeneralC
78879
78929
  writer.writeBooleanValue("startMenuHideSleep", windows10GeneralConfiguration.startMenuHideSleep);
78880
78930
  writer.writeBooleanValue("startMenuHideSwitchAccount", windows10GeneralConfiguration.startMenuHideSwitchAccount);
78881
78931
  writer.writeBooleanValue("startMenuHideUserTile", windows10GeneralConfiguration.startMenuHideUserTile);
78882
- writer.writeStringValue("startMenuLayoutEdgeAssetsXml", windows10GeneralConfiguration.startMenuLayoutEdgeAssetsXml);
78883
- writer.writeStringValue("startMenuLayoutXml", windows10GeneralConfiguration.startMenuLayoutXml);
78932
+ writer.writeObjectValue("startMenuLayoutEdgeAssetsXml", windows10GeneralConfiguration.startMenuLayoutEdgeAssetsXml);
78933
+ writer.writeObjectValue("startMenuLayoutXml", windows10GeneralConfiguration.startMenuLayoutXml);
78884
78934
  writer.writeEnumValue("startMenuMode", windows10GeneralConfiguration.startMenuMode);
78885
78935
  writer.writeEnumValue("startMenuPinnedFolderDocuments", windows10GeneralConfiguration.startMenuPinnedFolderDocuments);
78886
78936
  writer.writeEnumValue("startMenuPinnedFolderDownloads", windows10GeneralConfiguration.startMenuPinnedFolderDownloads);
@@ -79398,7 +79448,7 @@ export function serializeWindowsInformationProtectionAppLockerFile(writer, windo
79398
79448
  if (windowsInformationProtectionAppLockerFile) {
79399
79449
  serializeEntity(writer, windowsInformationProtectionAppLockerFile);
79400
79450
  writer.writeStringValue("displayName", windowsInformationProtectionAppLockerFile.displayName);
79401
- writer.writeStringValue("file", windowsInformationProtectionAppLockerFile.file);
79451
+ writer.writeObjectValue("file", windowsInformationProtectionAppLockerFile.file);
79402
79452
  writer.writeStringValue("fileHash", windowsInformationProtectionAppLockerFile.fileHash);
79403
79453
  writer.writeStringValue("version", windowsInformationProtectionAppLockerFile.version);
79404
79454
  }
@@ -79421,7 +79471,7 @@ export function serializeWindowsInformationProtectionAppLockerFileCollectionResp
79421
79471
  // @ts-ignore
79422
79472
  export function serializeWindowsInformationProtectionDataRecoveryCertificate(writer, windowsInformationProtectionDataRecoveryCertificate = {}) {
79423
79473
  if (windowsInformationProtectionDataRecoveryCertificate) {
79424
- writer.writeStringValue("certificate", windowsInformationProtectionDataRecoveryCertificate.certificate);
79474
+ writer.writeObjectValue("certificate", windowsInformationProtectionDataRecoveryCertificate.certificate);
79425
79475
  writer.writeStringValue("description", windowsInformationProtectionDataRecoveryCertificate.description);
79426
79476
  writer.writeDateValue("expirationDateTime", windowsInformationProtectionDataRecoveryCertificate.expirationDateTime);
79427
79477
  writer.writeStringValue("@odata.type", windowsInformationProtectionDataRecoveryCertificate.odataType);
@@ -79690,9 +79740,9 @@ export function serializeWindowsMicrosoftEdgeApp(writer, windowsMicrosoftEdgeApp
79690
79740
  export function serializeWindowsMinimumOperatingSystem(writer, windowsMinimumOperatingSystem = {}) {
79691
79741
  if (windowsMinimumOperatingSystem) {
79692
79742
  writer.writeStringValue("@odata.type", windowsMinimumOperatingSystem.odataType);
79693
- writer.writeBooleanValue("v10_0", windowsMinimumOperatingSystem.v10_0);
79694
- writer.writeBooleanValue("v8_0", windowsMinimumOperatingSystem.v8_0);
79695
- writer.writeBooleanValue("v8_1", windowsMinimumOperatingSystem.v8_1);
79743
+ writer.writeBooleanValue("v10_0", windowsMinimumOperatingSystem.v100);
79744
+ writer.writeBooleanValue("v8_0", windowsMinimumOperatingSystem.v80);
79745
+ writer.writeBooleanValue("v8_1", windowsMinimumOperatingSystem.v81);
79696
79746
  writer.writeAdditionalData(windowsMinimumOperatingSystem.additionalData);
79697
79747
  }
79698
79748
  }
@@ -80963,6 +81013,16 @@ export function serializeWorkingHours(writer, workingHours = {}) {
80963
81013
  * @param writer Serialization writer to use to serialize this model
80964
81014
  */
80965
81015
  // @ts-ignore
81016
+ export function serializeWorkingTimeSchedule(writer, workingTimeSchedule = {}) {
81017
+ if (workingTimeSchedule) {
81018
+ serializeEntity(writer, workingTimeSchedule);
81019
+ }
81020
+ }
81021
+ /**
81022
+ * Serializes information the current object
81023
+ * @param writer Serialization writer to use to serialize this model
81024
+ */
81025
+ // @ts-ignore
80966
81026
  export function serializeX509CertificateAuthenticationMethodConfiguration(writer, x509CertificateAuthenticationMethodConfiguration = {}) {
80967
81027
  if (x509CertificateAuthenticationMethodConfiguration) {
80968
81028
  serializeAuthenticationMethodConfiguration(writer, x509CertificateAuthenticationMethodConfiguration);