@microsoft/msgraph-sdk 1.0.0-preview.53 → 1.0.0-preview.54
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.d.ts +828 -0
- package/models/index.d.ts.map +1 -1
- package/models/index.js +945 -13
- package/models/index.js.map +1 -1
- package/models/security/index.d.ts +0 -80
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +3 -58
- package/models/security/index.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/models/index.js
CHANGED
|
@@ -2523,6 +2523,10 @@ export function createAuthenticationEventListenerFromDiscriminatorValue(parseNod
|
|
|
2523
2523
|
switch (mappingValue) {
|
|
2524
2524
|
case "#microsoft.graph.onAttributeCollectionListener":
|
|
2525
2525
|
return deserializeIntoOnAttributeCollectionListener;
|
|
2526
|
+
case "#microsoft.graph.onAttributeCollectionStartListener":
|
|
2527
|
+
return deserializeIntoOnAttributeCollectionStartListener;
|
|
2528
|
+
case "#microsoft.graph.onAttributeCollectionSubmitListener":
|
|
2529
|
+
return deserializeIntoOnAttributeCollectionSubmitListener;
|
|
2526
2530
|
case "#microsoft.graph.onAuthenticationMethodLoadStartListener":
|
|
2527
2531
|
return deserializeIntoOnAuthenticationMethodLoadStartListener;
|
|
2528
2532
|
case "#microsoft.graph.onInteractiveAuthFlowStartListener":
|
|
@@ -2670,6 +2674,8 @@ export function createAuthenticationMethodFromDiscriminatorValue(parseNode) {
|
|
|
2670
2674
|
return deserializeIntoPasswordAuthenticationMethod;
|
|
2671
2675
|
case "#microsoft.graph.phoneAuthenticationMethod":
|
|
2672
2676
|
return deserializeIntoPhoneAuthenticationMethod;
|
|
2677
|
+
case "#microsoft.graph.platformCredentialAuthenticationMethod":
|
|
2678
|
+
return deserializeIntoPlatformCredentialAuthenticationMethod;
|
|
2673
2679
|
case "#microsoft.graph.softwareOathAuthenticationMethod":
|
|
2674
2680
|
return deserializeIntoSoftwareOathAuthenticationMethod;
|
|
2675
2681
|
case "#microsoft.graph.temporaryAccessPassAuthenticationMethod":
|
|
@@ -5399,6 +5405,33 @@ export function createConversationThreadFromDiscriminatorValue(parseNode) {
|
|
|
5399
5405
|
export function createConvertIdResultFromDiscriminatorValue(parseNode) {
|
|
5400
5406
|
return deserializeIntoConvertIdResult;
|
|
5401
5407
|
}
|
|
5408
|
+
/**
|
|
5409
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5410
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5411
|
+
* @returns {CopilotAdmin}
|
|
5412
|
+
*/
|
|
5413
|
+
// @ts-ignore
|
|
5414
|
+
export function createCopilotAdminFromDiscriminatorValue(parseNode) {
|
|
5415
|
+
return deserializeIntoCopilotAdmin;
|
|
5416
|
+
}
|
|
5417
|
+
/**
|
|
5418
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5419
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5420
|
+
* @returns {CopilotAdminLimitedMode}
|
|
5421
|
+
*/
|
|
5422
|
+
// @ts-ignore
|
|
5423
|
+
export function createCopilotAdminLimitedModeFromDiscriminatorValue(parseNode) {
|
|
5424
|
+
return deserializeIntoCopilotAdminLimitedMode;
|
|
5425
|
+
}
|
|
5426
|
+
/**
|
|
5427
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
5428
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
5429
|
+
* @returns {CopilotAdminSetting}
|
|
5430
|
+
*/
|
|
5431
|
+
// @ts-ignore
|
|
5432
|
+
export function createCopilotAdminSettingFromDiscriminatorValue(parseNode) {
|
|
5433
|
+
return deserializeIntoCopilotAdminSetting;
|
|
5434
|
+
}
|
|
5402
5435
|
/**
|
|
5403
5436
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
5404
5437
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -5578,6 +5611,10 @@ export function createCustomAuthenticationExtensionFromDiscriminatorValue(parseN
|
|
|
5578
5611
|
const mappingValue = mappingValueNode.getStringValue();
|
|
5579
5612
|
if (mappingValue) {
|
|
5580
5613
|
switch (mappingValue) {
|
|
5614
|
+
case "#microsoft.graph.onAttributeCollectionStartCustomExtension":
|
|
5615
|
+
return deserializeIntoOnAttributeCollectionStartCustomExtension;
|
|
5616
|
+
case "#microsoft.graph.onAttributeCollectionSubmitCustomExtension":
|
|
5617
|
+
return deserializeIntoOnAttributeCollectionSubmitCustomExtension;
|
|
5581
5618
|
case "#microsoft.graph.onTokenIssuanceStartCustomExtension":
|
|
5582
5619
|
return deserializeIntoOnTokenIssuanceStartCustomExtension;
|
|
5583
5620
|
}
|
|
@@ -5616,6 +5653,10 @@ export function createCustomCalloutExtensionFromDiscriminatorValue(parseNode) {
|
|
|
5616
5653
|
return deserializeIntoCustomAuthenticationExtension;
|
|
5617
5654
|
case "#microsoft.graph.identityGovernance.customTaskExtension":
|
|
5618
5655
|
return deserializeIntoCustomTaskExtension;
|
|
5656
|
+
case "#microsoft.graph.onAttributeCollectionStartCustomExtension":
|
|
5657
|
+
return deserializeIntoOnAttributeCollectionStartCustomExtension;
|
|
5658
|
+
case "#microsoft.graph.onAttributeCollectionSubmitCustomExtension":
|
|
5659
|
+
return deserializeIntoOnAttributeCollectionSubmitCustomExtension;
|
|
5619
5660
|
case "#microsoft.graph.onTokenIssuanceStartCustomExtension":
|
|
5620
5661
|
return deserializeIntoOnTokenIssuanceStartCustomExtension;
|
|
5621
5662
|
}
|
|
@@ -7602,6 +7643,24 @@ export function createDriveProtectionUnitCollectionResponseFromDiscriminatorValu
|
|
|
7602
7643
|
export function createDriveProtectionUnitFromDiscriminatorValue(parseNode) {
|
|
7603
7644
|
return deserializeIntoDriveProtectionUnit;
|
|
7604
7645
|
}
|
|
7646
|
+
/**
|
|
7647
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
7648
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7649
|
+
* @returns {DriveProtectionUnitsBulkAdditionJobCollectionResponse}
|
|
7650
|
+
*/
|
|
7651
|
+
// @ts-ignore
|
|
7652
|
+
export function createDriveProtectionUnitsBulkAdditionJobCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
7653
|
+
return deserializeIntoDriveProtectionUnitsBulkAdditionJobCollectionResponse;
|
|
7654
|
+
}
|
|
7655
|
+
/**
|
|
7656
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
7657
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7658
|
+
* @returns {DriveProtectionUnitsBulkAdditionJob}
|
|
7659
|
+
*/
|
|
7660
|
+
// @ts-ignore
|
|
7661
|
+
export function createDriveProtectionUnitsBulkAdditionJobFromDiscriminatorValue(parseNode) {
|
|
7662
|
+
return deserializeIntoDriveProtectionUnitsBulkAdditionJob;
|
|
7663
|
+
}
|
|
7605
7664
|
/**
|
|
7606
7665
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
7607
7666
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -7629,6 +7688,24 @@ export function createDriveRestoreArtifactCollectionResponseFromDiscriminatorVal
|
|
|
7629
7688
|
export function createDriveRestoreArtifactFromDiscriminatorValue(parseNode) {
|
|
7630
7689
|
return deserializeIntoDriveRestoreArtifact;
|
|
7631
7690
|
}
|
|
7691
|
+
/**
|
|
7692
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
7693
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7694
|
+
* @returns {DriveRestoreArtifactsBulkAdditionRequestCollectionResponse}
|
|
7695
|
+
*/
|
|
7696
|
+
// @ts-ignore
|
|
7697
|
+
export function createDriveRestoreArtifactsBulkAdditionRequestCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
7698
|
+
return deserializeIntoDriveRestoreArtifactsBulkAdditionRequestCollectionResponse;
|
|
7699
|
+
}
|
|
7700
|
+
/**
|
|
7701
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
7702
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7703
|
+
* @returns {DriveRestoreArtifactsBulkAdditionRequest}
|
|
7704
|
+
*/
|
|
7705
|
+
// @ts-ignore
|
|
7706
|
+
export function createDriveRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue(parseNode) {
|
|
7707
|
+
return deserializeIntoDriveRestoreArtifactsBulkAdditionRequest;
|
|
7708
|
+
}
|
|
7632
7709
|
/**
|
|
7633
7710
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
7634
7711
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -8976,6 +9053,12 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
8976
9053
|
return deserializeIntoConversationMember;
|
|
8977
9054
|
case "#microsoft.graph.conversationThread":
|
|
8978
9055
|
return deserializeIntoConversationThread;
|
|
9056
|
+
case "#microsoft.graph.copilotAdmin":
|
|
9057
|
+
return deserializeIntoCopilotAdmin;
|
|
9058
|
+
case "#microsoft.graph.copilotAdminLimitedMode":
|
|
9059
|
+
return deserializeIntoCopilotAdminLimitedMode;
|
|
9060
|
+
case "#microsoft.graph.copilotAdminSetting":
|
|
9061
|
+
return deserializeIntoCopilotAdminSetting;
|
|
8979
9062
|
case "#microsoft.graph.countryNamedLocation":
|
|
8980
9063
|
return deserializeIntoCountryNamedLocation;
|
|
8981
9064
|
case "#microsoft.graph.crossTenantAccessPolicy":
|
|
@@ -9140,8 +9223,12 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
9140
9223
|
return deserializeIntoDriveProtectionRule;
|
|
9141
9224
|
case "#microsoft.graph.driveProtectionUnit":
|
|
9142
9225
|
return deserializeIntoDriveProtectionUnit;
|
|
9226
|
+
case "#microsoft.graph.driveProtectionUnitsBulkAdditionJob":
|
|
9227
|
+
return deserializeIntoDriveProtectionUnitsBulkAdditionJob;
|
|
9143
9228
|
case "#microsoft.graph.driveRestoreArtifact":
|
|
9144
9229
|
return deserializeIntoDriveRestoreArtifact;
|
|
9230
|
+
case "#microsoft.graph.driveRestoreArtifactsBulkAdditionRequest":
|
|
9231
|
+
return deserializeIntoDriveRestoreArtifactsBulkAdditionRequest;
|
|
9145
9232
|
case "#microsoft.graph.eBookInstallSummary":
|
|
9146
9233
|
return deserializeIntoEBookInstallSummary;
|
|
9147
9234
|
case "#microsoft.graph.edge":
|
|
@@ -9454,8 +9541,12 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
9454
9541
|
return deserializeIntoMailboxProtectionRule;
|
|
9455
9542
|
case "#microsoft.graph.mailboxProtectionUnit":
|
|
9456
9543
|
return deserializeIntoMailboxProtectionUnit;
|
|
9544
|
+
case "#microsoft.graph.mailboxProtectionUnitsBulkAdditionJob":
|
|
9545
|
+
return deserializeIntoMailboxProtectionUnitsBulkAdditionJob;
|
|
9457
9546
|
case "#microsoft.graph.mailboxRestoreArtifact":
|
|
9458
9547
|
return deserializeIntoMailboxRestoreArtifact;
|
|
9548
|
+
case "#microsoft.graph.mailboxRestoreArtifactsBulkAdditionRequest":
|
|
9549
|
+
return deserializeIntoMailboxRestoreArtifactsBulkAdditionRequest;
|
|
9459
9550
|
case "#microsoft.graph.mailFolder":
|
|
9460
9551
|
return deserializeIntoMailFolder;
|
|
9461
9552
|
case "#microsoft.graph.mailSearchFolder":
|
|
@@ -9578,6 +9669,14 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
9578
9669
|
return deserializeIntoOfficeGraphInsights;
|
|
9579
9670
|
case "#microsoft.graph.onAttributeCollectionListener":
|
|
9580
9671
|
return deserializeIntoOnAttributeCollectionListener;
|
|
9672
|
+
case "#microsoft.graph.onAttributeCollectionStartCustomExtension":
|
|
9673
|
+
return deserializeIntoOnAttributeCollectionStartCustomExtension;
|
|
9674
|
+
case "#microsoft.graph.onAttributeCollectionStartListener":
|
|
9675
|
+
return deserializeIntoOnAttributeCollectionStartListener;
|
|
9676
|
+
case "#microsoft.graph.onAttributeCollectionSubmitCustomExtension":
|
|
9677
|
+
return deserializeIntoOnAttributeCollectionSubmitCustomExtension;
|
|
9678
|
+
case "#microsoft.graph.onAttributeCollectionSubmitListener":
|
|
9679
|
+
return deserializeIntoOnAttributeCollectionSubmitListener;
|
|
9581
9680
|
case "#microsoft.graph.onAuthenticationMethodLoadStartListener":
|
|
9582
9681
|
return deserializeIntoOnAuthenticationMethodLoadStartListener;
|
|
9583
9682
|
case "#microsoft.graph.oneDriveForBusinessProtectionPolicy":
|
|
@@ -9712,6 +9811,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
9712
9811
|
return deserializeIntoPlannerTaskDetails;
|
|
9713
9812
|
case "#microsoft.graph.plannerUser":
|
|
9714
9813
|
return deserializeIntoPlannerUser;
|
|
9814
|
+
case "#microsoft.graph.platformCredentialAuthenticationMethod":
|
|
9815
|
+
return deserializeIntoPlatformCredentialAuthenticationMethod;
|
|
9715
9816
|
case "#microsoft.graph.playPromptOperation":
|
|
9716
9817
|
return deserializeIntoPlayPromptOperation;
|
|
9717
9818
|
case "#microsoft.graph.policyBase":
|
|
@@ -9790,6 +9891,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
9790
9891
|
return deserializeIntoProtectionRuleBase;
|
|
9791
9892
|
case "#microsoft.graph.protectionUnitBase":
|
|
9792
9893
|
return deserializeIntoProtectionUnitBase;
|
|
9894
|
+
case "#microsoft.graph.protectionUnitsBulkJobBase":
|
|
9895
|
+
return deserializeIntoProtectionUnitsBulkJobBase;
|
|
9793
9896
|
case "#microsoft.graph.provisioningObjectSummary":
|
|
9794
9897
|
return deserializeIntoProvisioningObjectSummary;
|
|
9795
9898
|
case "#microsoft.graph.rbacApplication":
|
|
@@ -9818,6 +9921,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
9818
9921
|
return deserializeIntoResourceSpecificPermissionGrant;
|
|
9819
9922
|
case "#microsoft.graph.restoreArtifactBase":
|
|
9820
9923
|
return deserializeIntoRestoreArtifactBase;
|
|
9924
|
+
case "#microsoft.graph.restoreArtifactsBulkRequestBase":
|
|
9925
|
+
return deserializeIntoRestoreArtifactsBulkRequestBase;
|
|
9821
9926
|
case "#microsoft.graph.restorePoint":
|
|
9822
9927
|
return deserializeIntoRestorePoint;
|
|
9823
9928
|
case "#microsoft.graph.restoreSessionBase":
|
|
@@ -10086,8 +10191,12 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
10086
10191
|
return deserializeIntoSiteProtectionRule;
|
|
10087
10192
|
case "#microsoft.graph.siteProtectionUnit":
|
|
10088
10193
|
return deserializeIntoSiteProtectionUnit;
|
|
10194
|
+
case "#microsoft.graph.siteProtectionUnitsBulkAdditionJob":
|
|
10195
|
+
return deserializeIntoSiteProtectionUnitsBulkAdditionJob;
|
|
10089
10196
|
case "#microsoft.graph.siteRestoreArtifact":
|
|
10090
10197
|
return deserializeIntoSiteRestoreArtifact;
|
|
10198
|
+
case "#microsoft.graph.siteRestoreArtifactsBulkAdditionRequest":
|
|
10199
|
+
return deserializeIntoSiteRestoreArtifactsBulkAdditionRequest;
|
|
10091
10200
|
case "#microsoft.graph.skypeForBusinessUserConversationMember":
|
|
10092
10201
|
return deserializeIntoSkypeForBusinessUserConversationMember;
|
|
10093
10202
|
case "#microsoft.graph.skypeUserConversationMember":
|
|
@@ -13359,6 +13468,24 @@ export function createMailboxProtectionUnitCollectionResponseFromDiscriminatorVa
|
|
|
13359
13468
|
export function createMailboxProtectionUnitFromDiscriminatorValue(parseNode) {
|
|
13360
13469
|
return deserializeIntoMailboxProtectionUnit;
|
|
13361
13470
|
}
|
|
13471
|
+
/**
|
|
13472
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
13473
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
13474
|
+
* @returns {MailboxProtectionUnitsBulkAdditionJobCollectionResponse}
|
|
13475
|
+
*/
|
|
13476
|
+
// @ts-ignore
|
|
13477
|
+
export function createMailboxProtectionUnitsBulkAdditionJobCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
13478
|
+
return deserializeIntoMailboxProtectionUnitsBulkAdditionJobCollectionResponse;
|
|
13479
|
+
}
|
|
13480
|
+
/**
|
|
13481
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
13482
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
13483
|
+
* @returns {MailboxProtectionUnitsBulkAdditionJob}
|
|
13484
|
+
*/
|
|
13485
|
+
// @ts-ignore
|
|
13486
|
+
export function createMailboxProtectionUnitsBulkAdditionJobFromDiscriminatorValue(parseNode) {
|
|
13487
|
+
return deserializeIntoMailboxProtectionUnitsBulkAdditionJob;
|
|
13488
|
+
}
|
|
13362
13489
|
/**
|
|
13363
13490
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
13364
13491
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -13389,6 +13516,24 @@ export function createMailboxRestoreArtifactFromDiscriminatorValue(parseNode) {
|
|
|
13389
13516
|
}
|
|
13390
13517
|
return deserializeIntoMailboxRestoreArtifact;
|
|
13391
13518
|
}
|
|
13519
|
+
/**
|
|
13520
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
13521
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
13522
|
+
* @returns {MailboxRestoreArtifactsBulkAdditionRequestCollectionResponse}
|
|
13523
|
+
*/
|
|
13524
|
+
// @ts-ignore
|
|
13525
|
+
export function createMailboxRestoreArtifactsBulkAdditionRequestCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
13526
|
+
return deserializeIntoMailboxRestoreArtifactsBulkAdditionRequestCollectionResponse;
|
|
13527
|
+
}
|
|
13528
|
+
/**
|
|
13529
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
13530
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
13531
|
+
* @returns {MailboxRestoreArtifactsBulkAdditionRequest}
|
|
13532
|
+
*/
|
|
13533
|
+
// @ts-ignore
|
|
13534
|
+
export function createMailboxRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue(parseNode) {
|
|
13535
|
+
return deserializeIntoMailboxRestoreArtifactsBulkAdditionRequest;
|
|
13536
|
+
}
|
|
13392
13537
|
/**
|
|
13393
13538
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
13394
13539
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -15361,6 +15506,102 @@ export function createOnAttributeCollectionHandlerFromDiscriminatorValue(parseNo
|
|
|
15361
15506
|
export function createOnAttributeCollectionListenerFromDiscriminatorValue(parseNode) {
|
|
15362
15507
|
return deserializeIntoOnAttributeCollectionListener;
|
|
15363
15508
|
}
|
|
15509
|
+
/**
|
|
15510
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
15511
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
15512
|
+
* @returns {OnAttributeCollectionStartCustomExtension}
|
|
15513
|
+
*/
|
|
15514
|
+
// @ts-ignore
|
|
15515
|
+
export function createOnAttributeCollectionStartCustomExtensionFromDiscriminatorValue(parseNode) {
|
|
15516
|
+
return deserializeIntoOnAttributeCollectionStartCustomExtension;
|
|
15517
|
+
}
|
|
15518
|
+
/**
|
|
15519
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
15520
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
15521
|
+
* @returns {OnAttributeCollectionStartCustomExtensionHandler}
|
|
15522
|
+
*/
|
|
15523
|
+
// @ts-ignore
|
|
15524
|
+
export function createOnAttributeCollectionStartCustomExtensionHandlerFromDiscriminatorValue(parseNode) {
|
|
15525
|
+
return deserializeIntoOnAttributeCollectionStartCustomExtensionHandler;
|
|
15526
|
+
}
|
|
15527
|
+
/**
|
|
15528
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
15529
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
15530
|
+
* @returns {OnAttributeCollectionStartHandler}
|
|
15531
|
+
*/
|
|
15532
|
+
// @ts-ignore
|
|
15533
|
+
export function createOnAttributeCollectionStartHandlerFromDiscriminatorValue(parseNode) {
|
|
15534
|
+
if (!parseNode)
|
|
15535
|
+
throw new Error("parseNode cannot be undefined");
|
|
15536
|
+
const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
|
|
15537
|
+
if (mappingValueNode) {
|
|
15538
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
15539
|
+
if (mappingValue) {
|
|
15540
|
+
switch (mappingValue) {
|
|
15541
|
+
case "#microsoft.graph.onAttributeCollectionStartCustomExtensionHandler":
|
|
15542
|
+
return deserializeIntoOnAttributeCollectionStartCustomExtensionHandler;
|
|
15543
|
+
}
|
|
15544
|
+
}
|
|
15545
|
+
}
|
|
15546
|
+
return deserializeIntoOnAttributeCollectionStartHandler;
|
|
15547
|
+
}
|
|
15548
|
+
/**
|
|
15549
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
15550
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
15551
|
+
* @returns {OnAttributeCollectionStartListener}
|
|
15552
|
+
*/
|
|
15553
|
+
// @ts-ignore
|
|
15554
|
+
export function createOnAttributeCollectionStartListenerFromDiscriminatorValue(parseNode) {
|
|
15555
|
+
return deserializeIntoOnAttributeCollectionStartListener;
|
|
15556
|
+
}
|
|
15557
|
+
/**
|
|
15558
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
15559
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
15560
|
+
* @returns {OnAttributeCollectionSubmitCustomExtension}
|
|
15561
|
+
*/
|
|
15562
|
+
// @ts-ignore
|
|
15563
|
+
export function createOnAttributeCollectionSubmitCustomExtensionFromDiscriminatorValue(parseNode) {
|
|
15564
|
+
return deserializeIntoOnAttributeCollectionSubmitCustomExtension;
|
|
15565
|
+
}
|
|
15566
|
+
/**
|
|
15567
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
15568
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
15569
|
+
* @returns {OnAttributeCollectionSubmitCustomExtensionHandler}
|
|
15570
|
+
*/
|
|
15571
|
+
// @ts-ignore
|
|
15572
|
+
export function createOnAttributeCollectionSubmitCustomExtensionHandlerFromDiscriminatorValue(parseNode) {
|
|
15573
|
+
return deserializeIntoOnAttributeCollectionSubmitCustomExtensionHandler;
|
|
15574
|
+
}
|
|
15575
|
+
/**
|
|
15576
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
15577
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
15578
|
+
* @returns {OnAttributeCollectionSubmitHandler}
|
|
15579
|
+
*/
|
|
15580
|
+
// @ts-ignore
|
|
15581
|
+
export function createOnAttributeCollectionSubmitHandlerFromDiscriminatorValue(parseNode) {
|
|
15582
|
+
if (!parseNode)
|
|
15583
|
+
throw new Error("parseNode cannot be undefined");
|
|
15584
|
+
const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
|
|
15585
|
+
if (mappingValueNode) {
|
|
15586
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
15587
|
+
if (mappingValue) {
|
|
15588
|
+
switch (mappingValue) {
|
|
15589
|
+
case "#microsoft.graph.onAttributeCollectionSubmitCustomExtensionHandler":
|
|
15590
|
+
return deserializeIntoOnAttributeCollectionSubmitCustomExtensionHandler;
|
|
15591
|
+
}
|
|
15592
|
+
}
|
|
15593
|
+
}
|
|
15594
|
+
return deserializeIntoOnAttributeCollectionSubmitHandler;
|
|
15595
|
+
}
|
|
15596
|
+
/**
|
|
15597
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
15598
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
15599
|
+
* @returns {OnAttributeCollectionSubmitListener}
|
|
15600
|
+
*/
|
|
15601
|
+
// @ts-ignore
|
|
15602
|
+
export function createOnAttributeCollectionSubmitListenerFromDiscriminatorValue(parseNode) {
|
|
15603
|
+
return deserializeIntoOnAttributeCollectionSubmitListener;
|
|
15604
|
+
}
|
|
15364
15605
|
/**
|
|
15365
15606
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
15366
15607
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -16848,6 +17089,24 @@ export function createPlannerUserFromDiscriminatorValue(parseNode) {
|
|
|
16848
17089
|
export function createPlannerUserIdsFromDiscriminatorValue(parseNode) {
|
|
16849
17090
|
return deserializeIntoPlannerUserIds;
|
|
16850
17091
|
}
|
|
17092
|
+
/**
|
|
17093
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
17094
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
17095
|
+
* @returns {PlatformCredentialAuthenticationMethodCollectionResponse}
|
|
17096
|
+
*/
|
|
17097
|
+
// @ts-ignore
|
|
17098
|
+
export function createPlatformCredentialAuthenticationMethodCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
17099
|
+
return deserializeIntoPlatformCredentialAuthenticationMethodCollectionResponse;
|
|
17100
|
+
}
|
|
17101
|
+
/**
|
|
17102
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
17103
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
17104
|
+
* @returns {PlatformCredentialAuthenticationMethod}
|
|
17105
|
+
*/
|
|
17106
|
+
// @ts-ignore
|
|
17107
|
+
export function createPlatformCredentialAuthenticationMethodFromDiscriminatorValue(parseNode) {
|
|
17108
|
+
return deserializeIntoPlatformCredentialAuthenticationMethod;
|
|
17109
|
+
}
|
|
16851
17110
|
/**
|
|
16852
17111
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
16853
17112
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -17816,6 +18075,31 @@ export function createProtectionUnitBaseFromDiscriminatorValue(parseNode) {
|
|
|
17816
18075
|
}
|
|
17817
18076
|
return deserializeIntoProtectionUnitBase;
|
|
17818
18077
|
}
|
|
18078
|
+
/**
|
|
18079
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
18080
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
18081
|
+
* @returns {ProtectionUnitsBulkJobBase}
|
|
18082
|
+
*/
|
|
18083
|
+
// @ts-ignore
|
|
18084
|
+
export function createProtectionUnitsBulkJobBaseFromDiscriminatorValue(parseNode) {
|
|
18085
|
+
if (!parseNode)
|
|
18086
|
+
throw new Error("parseNode cannot be undefined");
|
|
18087
|
+
const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
|
|
18088
|
+
if (mappingValueNode) {
|
|
18089
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
18090
|
+
if (mappingValue) {
|
|
18091
|
+
switch (mappingValue) {
|
|
18092
|
+
case "#microsoft.graph.driveProtectionUnitsBulkAdditionJob":
|
|
18093
|
+
return deserializeIntoDriveProtectionUnitsBulkAdditionJob;
|
|
18094
|
+
case "#microsoft.graph.mailboxProtectionUnitsBulkAdditionJob":
|
|
18095
|
+
return deserializeIntoMailboxProtectionUnitsBulkAdditionJob;
|
|
18096
|
+
case "#microsoft.graph.siteProtectionUnitsBulkAdditionJob":
|
|
18097
|
+
return deserializeIntoSiteProtectionUnitsBulkAdditionJob;
|
|
18098
|
+
}
|
|
18099
|
+
}
|
|
18100
|
+
}
|
|
18101
|
+
return deserializeIntoProtectionUnitsBulkJobBase;
|
|
18102
|
+
}
|
|
17819
18103
|
/**
|
|
17820
18104
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
17821
18105
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -18482,6 +18766,31 @@ export function createRestoreArtifactBaseFromDiscriminatorValue(parseNode) {
|
|
|
18482
18766
|
}
|
|
18483
18767
|
return deserializeIntoRestoreArtifactBase;
|
|
18484
18768
|
}
|
|
18769
|
+
/**
|
|
18770
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
18771
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
18772
|
+
* @returns {RestoreArtifactsBulkRequestBase}
|
|
18773
|
+
*/
|
|
18774
|
+
// @ts-ignore
|
|
18775
|
+
export function createRestoreArtifactsBulkRequestBaseFromDiscriminatorValue(parseNode) {
|
|
18776
|
+
if (!parseNode)
|
|
18777
|
+
throw new Error("parseNode cannot be undefined");
|
|
18778
|
+
const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
|
|
18779
|
+
if (mappingValueNode) {
|
|
18780
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
18781
|
+
if (mappingValue) {
|
|
18782
|
+
switch (mappingValue) {
|
|
18783
|
+
case "#microsoft.graph.driveRestoreArtifactsBulkAdditionRequest":
|
|
18784
|
+
return deserializeIntoDriveRestoreArtifactsBulkAdditionRequest;
|
|
18785
|
+
case "#microsoft.graph.mailboxRestoreArtifactsBulkAdditionRequest":
|
|
18786
|
+
return deserializeIntoMailboxRestoreArtifactsBulkAdditionRequest;
|
|
18787
|
+
case "#microsoft.graph.siteRestoreArtifactsBulkAdditionRequest":
|
|
18788
|
+
return deserializeIntoSiteRestoreArtifactsBulkAdditionRequest;
|
|
18789
|
+
}
|
|
18790
|
+
}
|
|
18791
|
+
}
|
|
18792
|
+
return deserializeIntoRestoreArtifactsBulkRequestBase;
|
|
18793
|
+
}
|
|
18485
18794
|
/**
|
|
18486
18795
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
18487
18796
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -20234,6 +20543,24 @@ export function createSiteProtectionUnitCollectionResponseFromDiscriminatorValue
|
|
|
20234
20543
|
export function createSiteProtectionUnitFromDiscriminatorValue(parseNode) {
|
|
20235
20544
|
return deserializeIntoSiteProtectionUnit;
|
|
20236
20545
|
}
|
|
20546
|
+
/**
|
|
20547
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20548
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20549
|
+
* @returns {SiteProtectionUnitsBulkAdditionJobCollectionResponse}
|
|
20550
|
+
*/
|
|
20551
|
+
// @ts-ignore
|
|
20552
|
+
export function createSiteProtectionUnitsBulkAdditionJobCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
20553
|
+
return deserializeIntoSiteProtectionUnitsBulkAdditionJobCollectionResponse;
|
|
20554
|
+
}
|
|
20555
|
+
/**
|
|
20556
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20557
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20558
|
+
* @returns {SiteProtectionUnitsBulkAdditionJob}
|
|
20559
|
+
*/
|
|
20560
|
+
// @ts-ignore
|
|
20561
|
+
export function createSiteProtectionUnitsBulkAdditionJobFromDiscriminatorValue(parseNode) {
|
|
20562
|
+
return deserializeIntoSiteProtectionUnitsBulkAdditionJob;
|
|
20563
|
+
}
|
|
20237
20564
|
/**
|
|
20238
20565
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
20239
20566
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -20252,6 +20579,24 @@ export function createSiteRestoreArtifactCollectionResponseFromDiscriminatorValu
|
|
|
20252
20579
|
export function createSiteRestoreArtifactFromDiscriminatorValue(parseNode) {
|
|
20253
20580
|
return deserializeIntoSiteRestoreArtifact;
|
|
20254
20581
|
}
|
|
20582
|
+
/**
|
|
20583
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20584
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20585
|
+
* @returns {SiteRestoreArtifactsBulkAdditionRequestCollectionResponse}
|
|
20586
|
+
*/
|
|
20587
|
+
// @ts-ignore
|
|
20588
|
+
export function createSiteRestoreArtifactsBulkAdditionRequestCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
20589
|
+
return deserializeIntoSiteRestoreArtifactsBulkAdditionRequestCollectionResponse;
|
|
20590
|
+
}
|
|
20591
|
+
/**
|
|
20592
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20593
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20594
|
+
* @returns {SiteRestoreArtifactsBulkAdditionRequest}
|
|
20595
|
+
*/
|
|
20596
|
+
// @ts-ignore
|
|
20597
|
+
export function createSiteRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue(parseNode) {
|
|
20598
|
+
return deserializeIntoSiteRestoreArtifactsBulkAdditionRequest;
|
|
20599
|
+
}
|
|
20255
20600
|
/**
|
|
20256
20601
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
20257
20602
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -27749,7 +28094,7 @@ export function deserializeIntoAttendanceInterval(attendanceInterval = {}) {
|
|
|
27749
28094
|
*/
|
|
27750
28095
|
// @ts-ignore
|
|
27751
28096
|
export function deserializeIntoAttendanceRecord(attendanceRecord = {}) {
|
|
27752
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(attendanceRecord)), { "attendanceIntervals": n => { attendanceRecord.attendanceIntervals = n.getCollectionOfObjectValues(createAttendanceIntervalFromDiscriminatorValue); }, "emailAddress": n => { attendanceRecord.emailAddress = n.getStringValue(); }, "identity": n => { attendanceRecord.identity = n.getObjectValue(createIdentityFromDiscriminatorValue); }, "role": n => { attendanceRecord.role = n.getStringValue(); }, "totalAttendanceInSeconds": n => { attendanceRecord.totalAttendanceInSeconds = n.getNumberValue(); } });
|
|
28097
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(attendanceRecord)), { "attendanceIntervals": n => { attendanceRecord.attendanceIntervals = n.getCollectionOfObjectValues(createAttendanceIntervalFromDiscriminatorValue); }, "emailAddress": n => { attendanceRecord.emailAddress = n.getStringValue(); }, "externalRegistrationInformation": n => { attendanceRecord.externalRegistrationInformation = n.getObjectValue(createVirtualEventExternalRegistrationInformationFromDiscriminatorValue); }, "identity": n => { attendanceRecord.identity = n.getObjectValue(createIdentityFromDiscriminatorValue); }, "registrationId": n => { attendanceRecord.registrationId = n.getStringValue(); }, "role": n => { attendanceRecord.role = n.getStringValue(); }, "totalAttendanceInSeconds": n => { attendanceRecord.totalAttendanceInSeconds = n.getNumberValue(); } });
|
|
27753
28098
|
}
|
|
27754
28099
|
/**
|
|
27755
28100
|
* The deserialization information for the current model
|
|
@@ -28076,7 +28421,7 @@ export function deserializeIntoAuditResource(auditResource = {}) {
|
|
|
28076
28421
|
*/
|
|
28077
28422
|
// @ts-ignore
|
|
28078
28423
|
export function deserializeIntoAuthentication(authentication = {}) {
|
|
28079
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(authentication)), { "emailMethods": n => { authentication.emailMethods = n.getCollectionOfObjectValues(createEmailAuthenticationMethodFromDiscriminatorValue); }, "fido2Methods": n => { authentication.fido2Methods = n.getCollectionOfObjectValues(createFido2AuthenticationMethodFromDiscriminatorValue); }, "methods": n => { authentication.methods = n.getCollectionOfObjectValues(createAuthenticationMethodFromDiscriminatorValue); }, "microsoftAuthenticatorMethods": n => { authentication.microsoftAuthenticatorMethods = n.getCollectionOfObjectValues(createMicrosoftAuthenticatorAuthenticationMethodFromDiscriminatorValue); }, "operations": n => { authentication.operations = n.getCollectionOfObjectValues(createLongRunningOperationFromDiscriminatorValue); }, "passwordMethods": n => { authentication.passwordMethods = n.getCollectionOfObjectValues(createPasswordAuthenticationMethodFromDiscriminatorValue); }, "phoneMethods": n => { authentication.phoneMethods = n.getCollectionOfObjectValues(createPhoneAuthenticationMethodFromDiscriminatorValue); }, "softwareOathMethods": n => { authentication.softwareOathMethods = n.getCollectionOfObjectValues(createSoftwareOathAuthenticationMethodFromDiscriminatorValue); }, "temporaryAccessPassMethods": n => { authentication.temporaryAccessPassMethods = n.getCollectionOfObjectValues(createTemporaryAccessPassAuthenticationMethodFromDiscriminatorValue); }, "windowsHelloForBusinessMethods": n => { authentication.windowsHelloForBusinessMethods = n.getCollectionOfObjectValues(createWindowsHelloForBusinessAuthenticationMethodFromDiscriminatorValue); } });
|
|
28424
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(authentication)), { "emailMethods": n => { authentication.emailMethods = n.getCollectionOfObjectValues(createEmailAuthenticationMethodFromDiscriminatorValue); }, "fido2Methods": n => { authentication.fido2Methods = n.getCollectionOfObjectValues(createFido2AuthenticationMethodFromDiscriminatorValue); }, "methods": n => { authentication.methods = n.getCollectionOfObjectValues(createAuthenticationMethodFromDiscriminatorValue); }, "microsoftAuthenticatorMethods": n => { authentication.microsoftAuthenticatorMethods = n.getCollectionOfObjectValues(createMicrosoftAuthenticatorAuthenticationMethodFromDiscriminatorValue); }, "operations": n => { authentication.operations = n.getCollectionOfObjectValues(createLongRunningOperationFromDiscriminatorValue); }, "passwordMethods": n => { authentication.passwordMethods = n.getCollectionOfObjectValues(createPasswordAuthenticationMethodFromDiscriminatorValue); }, "phoneMethods": n => { authentication.phoneMethods = n.getCollectionOfObjectValues(createPhoneAuthenticationMethodFromDiscriminatorValue); }, "platformCredentialMethods": n => { authentication.platformCredentialMethods = n.getCollectionOfObjectValues(createPlatformCredentialAuthenticationMethodFromDiscriminatorValue); }, "softwareOathMethods": n => { authentication.softwareOathMethods = n.getCollectionOfObjectValues(createSoftwareOathAuthenticationMethodFromDiscriminatorValue); }, "temporaryAccessPassMethods": n => { authentication.temporaryAccessPassMethods = n.getCollectionOfObjectValues(createTemporaryAccessPassAuthenticationMethodFromDiscriminatorValue); }, "windowsHelloForBusinessMethods": n => { authentication.windowsHelloForBusinessMethods = n.getCollectionOfObjectValues(createWindowsHelloForBusinessAuthenticationMethodFromDiscriminatorValue); } });
|
|
28080
28425
|
}
|
|
28081
28426
|
/**
|
|
28082
28427
|
* The deserialization information for the current model
|
|
@@ -28617,7 +28962,7 @@ export function deserializeIntoB2xIdentityUserFlowCollectionResponse(b2xIdentity
|
|
|
28617
28962
|
*/
|
|
28618
28963
|
// @ts-ignore
|
|
28619
28964
|
export function deserializeIntoBackupRestoreRoot(backupRestoreRoot = {}) {
|
|
28620
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(backupRestoreRoot)), { "driveInclusionRules": n => { backupRestoreRoot.driveInclusionRules = n.getCollectionOfObjectValues(createDriveProtectionRuleFromDiscriminatorValue); }, "driveProtectionUnits": n => { backupRestoreRoot.driveProtectionUnits = n.getCollectionOfObjectValues(createDriveProtectionUnitFromDiscriminatorValue); }, "exchangeProtectionPolicies": n => { backupRestoreRoot.exchangeProtectionPolicies = n.getCollectionOfObjectValues(createExchangeProtectionPolicyFromDiscriminatorValue); }, "exchangeRestoreSessions": n => { backupRestoreRoot.exchangeRestoreSessions = n.getCollectionOfObjectValues(createExchangeRestoreSessionFromDiscriminatorValue); }, "mailboxInclusionRules": n => { backupRestoreRoot.mailboxInclusionRules = n.getCollectionOfObjectValues(createMailboxProtectionRuleFromDiscriminatorValue); }, "mailboxProtectionUnits": n => { backupRestoreRoot.mailboxProtectionUnits = n.getCollectionOfObjectValues(createMailboxProtectionUnitFromDiscriminatorValue); }, "oneDriveForBusinessProtectionPolicies": n => { backupRestoreRoot.oneDriveForBusinessProtectionPolicies = n.getCollectionOfObjectValues(createOneDriveForBusinessProtectionPolicyFromDiscriminatorValue); }, "oneDriveForBusinessRestoreSessions": n => { backupRestoreRoot.oneDriveForBusinessRestoreSessions = n.getCollectionOfObjectValues(createOneDriveForBusinessRestoreSessionFromDiscriminatorValue); }, "protectionPolicies": n => { backupRestoreRoot.protectionPolicies = n.getCollectionOfObjectValues(createProtectionPolicyBaseFromDiscriminatorValue); }, "protectionUnits": n => { backupRestoreRoot.protectionUnits = n.getCollectionOfObjectValues(createProtectionUnitBaseFromDiscriminatorValue); }, "restorePoints": n => { backupRestoreRoot.restorePoints = n.getCollectionOfObjectValues(createRestorePointFromDiscriminatorValue); }, "restoreSessions": n => { backupRestoreRoot.restoreSessions = n.getCollectionOfObjectValues(createRestoreSessionBaseFromDiscriminatorValue); }, "serviceApps": n => { backupRestoreRoot.serviceApps = n.getCollectionOfObjectValues(createServiceAppFromDiscriminatorValue); }, "serviceStatus": n => { backupRestoreRoot.serviceStatus = n.getObjectValue(createServiceStatusFromDiscriminatorValue); }, "sharePointProtectionPolicies": n => { backupRestoreRoot.sharePointProtectionPolicies = n.getCollectionOfObjectValues(createSharePointProtectionPolicyFromDiscriminatorValue); }, "sharePointRestoreSessions": n => { backupRestoreRoot.sharePointRestoreSessions = n.getCollectionOfObjectValues(createSharePointRestoreSessionFromDiscriminatorValue); }, "siteInclusionRules": n => { backupRestoreRoot.siteInclusionRules = n.getCollectionOfObjectValues(createSiteProtectionRuleFromDiscriminatorValue); }, "siteProtectionUnits": n => { backupRestoreRoot.siteProtectionUnits = n.getCollectionOfObjectValues(createSiteProtectionUnitFromDiscriminatorValue); } });
|
|
28965
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(backupRestoreRoot)), { "driveInclusionRules": n => { backupRestoreRoot.driveInclusionRules = n.getCollectionOfObjectValues(createDriveProtectionRuleFromDiscriminatorValue); }, "driveProtectionUnits": n => { backupRestoreRoot.driveProtectionUnits = n.getCollectionOfObjectValues(createDriveProtectionUnitFromDiscriminatorValue); }, "driveProtectionUnitsBulkAdditionJobs": n => { backupRestoreRoot.driveProtectionUnitsBulkAdditionJobs = n.getCollectionOfObjectValues(createDriveProtectionUnitsBulkAdditionJobFromDiscriminatorValue); }, "exchangeProtectionPolicies": n => { backupRestoreRoot.exchangeProtectionPolicies = n.getCollectionOfObjectValues(createExchangeProtectionPolicyFromDiscriminatorValue); }, "exchangeRestoreSessions": n => { backupRestoreRoot.exchangeRestoreSessions = n.getCollectionOfObjectValues(createExchangeRestoreSessionFromDiscriminatorValue); }, "mailboxInclusionRules": n => { backupRestoreRoot.mailboxInclusionRules = n.getCollectionOfObjectValues(createMailboxProtectionRuleFromDiscriminatorValue); }, "mailboxProtectionUnits": n => { backupRestoreRoot.mailboxProtectionUnits = n.getCollectionOfObjectValues(createMailboxProtectionUnitFromDiscriminatorValue); }, "mailboxProtectionUnitsBulkAdditionJobs": n => { backupRestoreRoot.mailboxProtectionUnitsBulkAdditionJobs = n.getCollectionOfObjectValues(createMailboxProtectionUnitsBulkAdditionJobFromDiscriminatorValue); }, "oneDriveForBusinessProtectionPolicies": n => { backupRestoreRoot.oneDriveForBusinessProtectionPolicies = n.getCollectionOfObjectValues(createOneDriveForBusinessProtectionPolicyFromDiscriminatorValue); }, "oneDriveForBusinessRestoreSessions": n => { backupRestoreRoot.oneDriveForBusinessRestoreSessions = n.getCollectionOfObjectValues(createOneDriveForBusinessRestoreSessionFromDiscriminatorValue); }, "protectionPolicies": n => { backupRestoreRoot.protectionPolicies = n.getCollectionOfObjectValues(createProtectionPolicyBaseFromDiscriminatorValue); }, "protectionUnits": n => { backupRestoreRoot.protectionUnits = n.getCollectionOfObjectValues(createProtectionUnitBaseFromDiscriminatorValue); }, "restorePoints": n => { backupRestoreRoot.restorePoints = n.getCollectionOfObjectValues(createRestorePointFromDiscriminatorValue); }, "restoreSessions": n => { backupRestoreRoot.restoreSessions = n.getCollectionOfObjectValues(createRestoreSessionBaseFromDiscriminatorValue); }, "serviceApps": n => { backupRestoreRoot.serviceApps = n.getCollectionOfObjectValues(createServiceAppFromDiscriminatorValue); }, "serviceStatus": n => { backupRestoreRoot.serviceStatus = n.getObjectValue(createServiceStatusFromDiscriminatorValue); }, "sharePointProtectionPolicies": n => { backupRestoreRoot.sharePointProtectionPolicies = n.getCollectionOfObjectValues(createSharePointProtectionPolicyFromDiscriminatorValue); }, "sharePointRestoreSessions": n => { backupRestoreRoot.sharePointRestoreSessions = n.getCollectionOfObjectValues(createSharePointRestoreSessionFromDiscriminatorValue); }, "siteInclusionRules": n => { backupRestoreRoot.siteInclusionRules = n.getCollectionOfObjectValues(createSiteProtectionRuleFromDiscriminatorValue); }, "siteProtectionUnits": n => { backupRestoreRoot.siteProtectionUnits = n.getCollectionOfObjectValues(createSiteProtectionUnitFromDiscriminatorValue); }, "siteProtectionUnitsBulkAdditionJobs": n => { backupRestoreRoot.siteProtectionUnitsBulkAdditionJobs = n.getCollectionOfObjectValues(createSiteProtectionUnitsBulkAdditionJobFromDiscriminatorValue); } });
|
|
28621
28966
|
}
|
|
28622
28967
|
/**
|
|
28623
28968
|
* The deserialization information for the current model
|
|
@@ -31100,6 +31445,30 @@ export function deserializeIntoConvertIdResult(convertIdResult = {}) {
|
|
|
31100
31445
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
31101
31446
|
*/
|
|
31102
31447
|
// @ts-ignore
|
|
31448
|
+
export function deserializeIntoCopilotAdmin(copilotAdmin = {}) {
|
|
31449
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(copilotAdmin)), { "settings": n => { copilotAdmin.settings = n.getObjectValue(createCopilotAdminSettingFromDiscriminatorValue); } });
|
|
31450
|
+
}
|
|
31451
|
+
/**
|
|
31452
|
+
* The deserialization information for the current model
|
|
31453
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
31454
|
+
*/
|
|
31455
|
+
// @ts-ignore
|
|
31456
|
+
export function deserializeIntoCopilotAdminLimitedMode(copilotAdminLimitedMode = {}) {
|
|
31457
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(copilotAdminLimitedMode)), { "groupId": n => { copilotAdminLimitedMode.groupId = n.getStringValue(); }, "isEnabledForGroup": n => { copilotAdminLimitedMode.isEnabledForGroup = n.getBooleanValue(); } });
|
|
31458
|
+
}
|
|
31459
|
+
/**
|
|
31460
|
+
* The deserialization information for the current model
|
|
31461
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
31462
|
+
*/
|
|
31463
|
+
// @ts-ignore
|
|
31464
|
+
export function deserializeIntoCopilotAdminSetting(copilotAdminSetting = {}) {
|
|
31465
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(copilotAdminSetting)), { "limitedMode": n => { copilotAdminSetting.limitedMode = n.getObjectValue(createCopilotAdminLimitedModeFromDiscriminatorValue); } });
|
|
31466
|
+
}
|
|
31467
|
+
/**
|
|
31468
|
+
* The deserialization information for the current model
|
|
31469
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
31470
|
+
*/
|
|
31471
|
+
// @ts-ignore
|
|
31103
31472
|
export function deserializeIntoCopyNotebookModel(copyNotebookModel = {}) {
|
|
31104
31473
|
return {
|
|
31105
31474
|
"backingStoreEnabled": n => { copyNotebookModel.backingStoreEnabled = true; },
|
|
@@ -33079,6 +33448,22 @@ export function deserializeIntoDriveProtectionUnitCollectionResponse(driveProtec
|
|
|
33079
33448
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
33080
33449
|
*/
|
|
33081
33450
|
// @ts-ignore
|
|
33451
|
+
export function deserializeIntoDriveProtectionUnitsBulkAdditionJob(driveProtectionUnitsBulkAdditionJob = {}) {
|
|
33452
|
+
return Object.assign(Object.assign({}, deserializeIntoProtectionUnitsBulkJobBase(driveProtectionUnitsBulkAdditionJob)), { "directoryObjectIds": n => { driveProtectionUnitsBulkAdditionJob.directoryObjectIds = n.getCollectionOfPrimitiveValues(); }, "drives": n => { driveProtectionUnitsBulkAdditionJob.drives = n.getCollectionOfPrimitiveValues(); } });
|
|
33453
|
+
}
|
|
33454
|
+
/**
|
|
33455
|
+
* The deserialization information for the current model
|
|
33456
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
33457
|
+
*/
|
|
33458
|
+
// @ts-ignore
|
|
33459
|
+
export function deserializeIntoDriveProtectionUnitsBulkAdditionJobCollectionResponse(driveProtectionUnitsBulkAdditionJobCollectionResponse = {}) {
|
|
33460
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(driveProtectionUnitsBulkAdditionJobCollectionResponse)), { "value": n => { driveProtectionUnitsBulkAdditionJobCollectionResponse.value = n.getCollectionOfObjectValues(createDriveProtectionUnitsBulkAdditionJobFromDiscriminatorValue); } });
|
|
33461
|
+
}
|
|
33462
|
+
/**
|
|
33463
|
+
* The deserialization information for the current model
|
|
33464
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
33465
|
+
*/
|
|
33466
|
+
// @ts-ignore
|
|
33082
33467
|
export function deserializeIntoDriveRecipient(driveRecipient = {}) {
|
|
33083
33468
|
return {
|
|
33084
33469
|
"alias": n => { driveRecipient.alias = n.getStringValue(); },
|
|
@@ -33109,6 +33494,22 @@ export function deserializeIntoDriveRestoreArtifactCollectionResponse(driveResto
|
|
|
33109
33494
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
33110
33495
|
*/
|
|
33111
33496
|
// @ts-ignore
|
|
33497
|
+
export function deserializeIntoDriveRestoreArtifactsBulkAdditionRequest(driveRestoreArtifactsBulkAdditionRequest = {}) {
|
|
33498
|
+
return Object.assign(Object.assign({}, deserializeIntoRestoreArtifactsBulkRequestBase(driveRestoreArtifactsBulkAdditionRequest)), { "directoryObjectIds": n => { driveRestoreArtifactsBulkAdditionRequest.directoryObjectIds = n.getCollectionOfPrimitiveValues(); }, "drives": n => { driveRestoreArtifactsBulkAdditionRequest.drives = n.getCollectionOfPrimitiveValues(); } });
|
|
33499
|
+
}
|
|
33500
|
+
/**
|
|
33501
|
+
* The deserialization information for the current model
|
|
33502
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
33503
|
+
*/
|
|
33504
|
+
// @ts-ignore
|
|
33505
|
+
export function deserializeIntoDriveRestoreArtifactsBulkAdditionRequestCollectionResponse(driveRestoreArtifactsBulkAdditionRequestCollectionResponse = {}) {
|
|
33506
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(driveRestoreArtifactsBulkAdditionRequestCollectionResponse)), { "value": n => { driveRestoreArtifactsBulkAdditionRequestCollectionResponse.value = n.getCollectionOfObjectValues(createDriveRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue); } });
|
|
33507
|
+
}
|
|
33508
|
+
/**
|
|
33509
|
+
* The deserialization information for the current model
|
|
33510
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
33511
|
+
*/
|
|
33512
|
+
// @ts-ignore
|
|
33112
33513
|
export function deserializeIntoEBookInstallSummary(eBookInstallSummary = {}) {
|
|
33113
33514
|
return Object.assign(Object.assign({}, deserializeIntoEntity(eBookInstallSummary)), { "failedDeviceCount": n => { eBookInstallSummary.failedDeviceCount = n.getNumberValue(); }, "failedUserCount": n => { eBookInstallSummary.failedUserCount = n.getNumberValue(); }, "installedDeviceCount": n => { eBookInstallSummary.installedDeviceCount = n.getNumberValue(); }, "installedUserCount": n => { eBookInstallSummary.installedUserCount = n.getNumberValue(); }, "notInstalledDeviceCount": n => { eBookInstallSummary.notInstalledDeviceCount = n.getNumberValue(); }, "notInstalledUserCount": n => { eBookInstallSummary.notInstalledUserCount = n.getNumberValue(); } });
|
|
33114
33515
|
}
|
|
@@ -33619,7 +34020,7 @@ export function deserializeIntoEducationStudent(educationStudent = {}) {
|
|
|
33619
34020
|
*/
|
|
33620
34021
|
// @ts-ignore
|
|
33621
34022
|
export function deserializeIntoEducationSubmission(educationSubmission = {}) {
|
|
33622
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(educationSubmission)), { "excusedBy": n => { educationSubmission.excusedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "excusedDateTime": n => { educationSubmission.excusedDateTime = n.getDateValue(); }, "outcomes": n => { educationSubmission.outcomes = n.getCollectionOfObjectValues(createEducationOutcomeFromDiscriminatorValue); }, "reassignedBy": n => { educationSubmission.reassignedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "reassignedDateTime": n => { educationSubmission.reassignedDateTime = n.getDateValue(); }, "recipient": n => { educationSubmission.recipient = n.getObjectValue(createEducationSubmissionRecipientFromDiscriminatorValue); }, "resources": n => { educationSubmission.resources = n.getCollectionOfObjectValues(createEducationSubmissionResourceFromDiscriminatorValue); }, "resourcesFolderUrl": n => { educationSubmission.resourcesFolderUrl = n.getStringValue(); }, "returnedBy": n => { educationSubmission.returnedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "returnedDateTime": n => { educationSubmission.returnedDateTime = n.getDateValue(); }, "status": n => { educationSubmission.status = n.getEnumValue(EducationSubmissionStatusObject); }, "submittedBy": n => { educationSubmission.submittedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "submittedDateTime": n => { educationSubmission.submittedDateTime = n.getDateValue(); }, "submittedResources": n => { educationSubmission.submittedResources = n.getCollectionOfObjectValues(createEducationSubmissionResourceFromDiscriminatorValue); }, "unsubmittedBy": n => { educationSubmission.unsubmittedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "unsubmittedDateTime": n => { educationSubmission.unsubmittedDateTime = n.getDateValue(); }, "webUrl": n => { educationSubmission.webUrl = n.getStringValue(); } });
|
|
34023
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(educationSubmission)), { "assignmentId": n => { educationSubmission.assignmentId = n.getStringValue(); }, "excusedBy": n => { educationSubmission.excusedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "excusedDateTime": n => { educationSubmission.excusedDateTime = n.getDateValue(); }, "lastModifiedBy": n => { educationSubmission.lastModifiedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "lastModifiedDateTime": n => { educationSubmission.lastModifiedDateTime = n.getDateValue(); }, "outcomes": n => { educationSubmission.outcomes = n.getCollectionOfObjectValues(createEducationOutcomeFromDiscriminatorValue); }, "reassignedBy": n => { educationSubmission.reassignedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "reassignedDateTime": n => { educationSubmission.reassignedDateTime = n.getDateValue(); }, "recipient": n => { educationSubmission.recipient = n.getObjectValue(createEducationSubmissionRecipientFromDiscriminatorValue); }, "resources": n => { educationSubmission.resources = n.getCollectionOfObjectValues(createEducationSubmissionResourceFromDiscriminatorValue); }, "resourcesFolderUrl": n => { educationSubmission.resourcesFolderUrl = n.getStringValue(); }, "returnedBy": n => { educationSubmission.returnedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "returnedDateTime": n => { educationSubmission.returnedDateTime = n.getDateValue(); }, "status": n => { educationSubmission.status = n.getEnumValue(EducationSubmissionStatusObject); }, "submittedBy": n => { educationSubmission.submittedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "submittedDateTime": n => { educationSubmission.submittedDateTime = n.getDateValue(); }, "submittedResources": n => { educationSubmission.submittedResources = n.getCollectionOfObjectValues(createEducationSubmissionResourceFromDiscriminatorValue); }, "unsubmittedBy": n => { educationSubmission.unsubmittedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "unsubmittedDateTime": n => { educationSubmission.unsubmittedDateTime = n.getDateValue(); }, "webUrl": n => { educationSubmission.webUrl = n.getStringValue(); } });
|
|
33623
34024
|
}
|
|
33624
34025
|
/**
|
|
33625
34026
|
* The deserialization information for the current model
|
|
@@ -34000,7 +34401,7 @@ export function deserializeIntoEnumeratedDeviceRegistrationMembership(enumerated
|
|
|
34000
34401
|
*/
|
|
34001
34402
|
// @ts-ignore
|
|
34002
34403
|
export function deserializeIntoEvent(event = {}) {
|
|
34003
|
-
return Object.assign(Object.assign({}, deserializeIntoOutlookItem(event)), { "allowNewTimeProposals": n => { event.allowNewTimeProposals = n.getBooleanValue(); }, "attachments": n => { event.attachments = n.getCollectionOfObjectValues(createAttachmentFromDiscriminatorValue); }, "attendees": n => { event.attendees = n.getCollectionOfObjectValues(createAttendeeFromDiscriminatorValue); }, "body": n => { event.body = n.getObjectValue(createItemBodyFromDiscriminatorValue); }, "bodyPreview": n => { event.bodyPreview = n.getStringValue(); }, "calendar": n => { event.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "end": n => { event.end = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "extensions": n => { event.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "hasAttachments": n => { event.hasAttachments = n.getBooleanValue(); }, "hideAttendees": n => { event.hideAttendees = n.getBooleanValue(); }, "iCalUId": n => { event.iCalUId = n.getStringValue(); }, "importance": n => { event.importance = n.getEnumValue(ImportanceObject); }, "instances": n => { event.instances = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "isAllDay": n => { event.isAllDay = n.getBooleanValue(); }, "isCancelled": n => { event.isCancelled = n.getBooleanValue(); }, "isDraft": n => { event.isDraft = n.getBooleanValue(); }, "isOnlineMeeting": n => { event.isOnlineMeeting = n.getBooleanValue(); }, "isOrganizer": n => { event.isOrganizer = n.getBooleanValue(); }, "isReminderOn": n => { event.isReminderOn = n.getBooleanValue(); }, "location": n => { event.location = n.getObjectValue(createLocationFromDiscriminatorValue); }, "locations": n => { event.locations = n.getCollectionOfObjectValues(createLocationFromDiscriminatorValue); }, "multiValueExtendedProperties": n => { event.multiValueExtendedProperties = n.getCollectionOfObjectValues(createMultiValueLegacyExtendedPropertyFromDiscriminatorValue); }, "onlineMeeting": n => { event.onlineMeeting = n.getObjectValue(createOnlineMeetingInfoFromDiscriminatorValue); }, "onlineMeetingProvider": n => { event.onlineMeetingProvider = n.getEnumValue(OnlineMeetingProviderTypeObject); }, "onlineMeetingUrl": n => { event.onlineMeetingUrl = n.getStringValue(); }, "organizer": n => { event.organizer = n.getObjectValue(createRecipientFromDiscriminatorValue); }, "originalEndTimeZone": n => { event.originalEndTimeZone = n.getStringValue(); }, "originalStart": n => { event.originalStart = n.getDateValue(); }, "originalStartTimeZone": n => { event.originalStartTimeZone = n.getStringValue(); }, "recurrence": n => { event.recurrence = n.getObjectValue(createPatternedRecurrenceFromDiscriminatorValue); }, "reminderMinutesBeforeStart": n => { event.reminderMinutesBeforeStart = n.getNumberValue(); }, "responseRequested": n => { event.responseRequested = n.getBooleanValue(); }, "responseStatus": n => { event.responseStatus = n.getObjectValue(createResponseStatusFromDiscriminatorValue); }, "sensitivity": n => { event.sensitivity = n.getEnumValue(SensitivityObject); }, "seriesMasterId": n => { event.seriesMasterId = n.getStringValue(); }, "showAs": n => { event.showAs = n.getEnumValue(FreeBusyStatusObject); }, "singleValueExtendedProperties": n => { event.singleValueExtendedProperties = n.getCollectionOfObjectValues(createSingleValueLegacyExtendedPropertyFromDiscriminatorValue); }, "start": n => { event.start = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "subject": n => { event.subject = n.getStringValue(); }, "transactionId": n => { event.transactionId = n.getStringValue(); }, "type": n => { event.type = n.getEnumValue(EventTypeObject); }, "webLink": n => { event.webLink = n.getStringValue(); } });
|
|
34404
|
+
return Object.assign(Object.assign({}, deserializeIntoOutlookItem(event)), { "allowNewTimeProposals": n => { event.allowNewTimeProposals = n.getBooleanValue(); }, "attachments": n => { event.attachments = n.getCollectionOfObjectValues(createAttachmentFromDiscriminatorValue); }, "attendees": n => { event.attendees = n.getCollectionOfObjectValues(createAttendeeFromDiscriminatorValue); }, "body": n => { event.body = n.getObjectValue(createItemBodyFromDiscriminatorValue); }, "bodyPreview": n => { event.bodyPreview = n.getStringValue(); }, "calendar": n => { event.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "cancelledOccurrences": n => { event.cancelledOccurrences = n.getCollectionOfPrimitiveValues(); }, "end": n => { event.end = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "exceptionOccurrences": n => { event.exceptionOccurrences = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "extensions": n => { event.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "hasAttachments": n => { event.hasAttachments = n.getBooleanValue(); }, "hideAttendees": n => { event.hideAttendees = n.getBooleanValue(); }, "iCalUId": n => { event.iCalUId = n.getStringValue(); }, "importance": n => { event.importance = n.getEnumValue(ImportanceObject); }, "instances": n => { event.instances = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "isAllDay": n => { event.isAllDay = n.getBooleanValue(); }, "isCancelled": n => { event.isCancelled = n.getBooleanValue(); }, "isDraft": n => { event.isDraft = n.getBooleanValue(); }, "isOnlineMeeting": n => { event.isOnlineMeeting = n.getBooleanValue(); }, "isOrganizer": n => { event.isOrganizer = n.getBooleanValue(); }, "isReminderOn": n => { event.isReminderOn = n.getBooleanValue(); }, "location": n => { event.location = n.getObjectValue(createLocationFromDiscriminatorValue); }, "locations": n => { event.locations = n.getCollectionOfObjectValues(createLocationFromDiscriminatorValue); }, "multiValueExtendedProperties": n => { event.multiValueExtendedProperties = n.getCollectionOfObjectValues(createMultiValueLegacyExtendedPropertyFromDiscriminatorValue); }, "onlineMeeting": n => { event.onlineMeeting = n.getObjectValue(createOnlineMeetingInfoFromDiscriminatorValue); }, "onlineMeetingProvider": n => { event.onlineMeetingProvider = n.getEnumValue(OnlineMeetingProviderTypeObject); }, "onlineMeetingUrl": n => { event.onlineMeetingUrl = n.getStringValue(); }, "organizer": n => { event.organizer = n.getObjectValue(createRecipientFromDiscriminatorValue); }, "originalEndTimeZone": n => { event.originalEndTimeZone = n.getStringValue(); }, "originalStart": n => { event.originalStart = n.getDateValue(); }, "originalStartTimeZone": n => { event.originalStartTimeZone = n.getStringValue(); }, "recurrence": n => { event.recurrence = n.getObjectValue(createPatternedRecurrenceFromDiscriminatorValue); }, "reminderMinutesBeforeStart": n => { event.reminderMinutesBeforeStart = n.getNumberValue(); }, "responseRequested": n => { event.responseRequested = n.getBooleanValue(); }, "responseStatus": n => { event.responseStatus = n.getObjectValue(createResponseStatusFromDiscriminatorValue); }, "sensitivity": n => { event.sensitivity = n.getEnumValue(SensitivityObject); }, "seriesMasterId": n => { event.seriesMasterId = n.getStringValue(); }, "showAs": n => { event.showAs = n.getEnumValue(FreeBusyStatusObject); }, "singleValueExtendedProperties": n => { event.singleValueExtendedProperties = n.getCollectionOfObjectValues(createSingleValueLegacyExtendedPropertyFromDiscriminatorValue); }, "start": n => { event.start = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "subject": n => { event.subject = n.getStringValue(); }, "transactionId": n => { event.transactionId = n.getStringValue(); }, "type": n => { event.type = n.getEnumValue(EventTypeObject); }, "webLink": n => { event.webLink = n.getStringValue(); } });
|
|
34004
34405
|
}
|
|
34005
34406
|
/**
|
|
34006
34407
|
* The deserialization information for the current model
|
|
@@ -34051,7 +34452,7 @@ export function deserializeIntoEventMessageResponse(eventMessageResponse = {}) {
|
|
|
34051
34452
|
*/
|
|
34052
34453
|
// @ts-ignore
|
|
34053
34454
|
export function deserializeIntoExchangeProtectionPolicy(exchangeProtectionPolicy = {}) {
|
|
34054
|
-
return Object.assign(Object.assign({}, deserializeIntoProtectionPolicyBase(exchangeProtectionPolicy)), { "mailboxInclusionRules": n => { exchangeProtectionPolicy.mailboxInclusionRules = n.getCollectionOfObjectValues(createMailboxProtectionRuleFromDiscriminatorValue); }, "mailboxProtectionUnits": n => { exchangeProtectionPolicy.mailboxProtectionUnits = n.getCollectionOfObjectValues(createMailboxProtectionUnitFromDiscriminatorValue); } });
|
|
34455
|
+
return Object.assign(Object.assign({}, deserializeIntoProtectionPolicyBase(exchangeProtectionPolicy)), { "mailboxInclusionRules": n => { exchangeProtectionPolicy.mailboxInclusionRules = n.getCollectionOfObjectValues(createMailboxProtectionRuleFromDiscriminatorValue); }, "mailboxProtectionUnits": n => { exchangeProtectionPolicy.mailboxProtectionUnits = n.getCollectionOfObjectValues(createMailboxProtectionUnitFromDiscriminatorValue); }, "mailboxProtectionUnitsBulkAdditionJobs": n => { exchangeProtectionPolicy.mailboxProtectionUnitsBulkAdditionJobs = n.getCollectionOfObjectValues(createMailboxProtectionUnitsBulkAdditionJobFromDiscriminatorValue); } });
|
|
34055
34456
|
}
|
|
34056
34457
|
/**
|
|
34057
34458
|
* The deserialization information for the current model
|
|
@@ -34067,7 +34468,7 @@ export function deserializeIntoExchangeProtectionPolicyCollectionResponse(exchan
|
|
|
34067
34468
|
*/
|
|
34068
34469
|
// @ts-ignore
|
|
34069
34470
|
export function deserializeIntoExchangeRestoreSession(exchangeRestoreSession = {}) {
|
|
34070
|
-
return Object.assign(Object.assign({}, deserializeIntoRestoreSessionBase(exchangeRestoreSession)), { "granularMailboxRestoreArtifacts": n => { exchangeRestoreSession.granularMailboxRestoreArtifacts = n.getCollectionOfObjectValues(createGranularMailboxRestoreArtifactFromDiscriminatorValue); }, "mailboxRestoreArtifacts": n => { exchangeRestoreSession.mailboxRestoreArtifacts = n.getCollectionOfObjectValues(createMailboxRestoreArtifactFromDiscriminatorValue); } });
|
|
34471
|
+
return Object.assign(Object.assign({}, deserializeIntoRestoreSessionBase(exchangeRestoreSession)), { "granularMailboxRestoreArtifacts": n => { exchangeRestoreSession.granularMailboxRestoreArtifacts = n.getCollectionOfObjectValues(createGranularMailboxRestoreArtifactFromDiscriminatorValue); }, "mailboxRestoreArtifacts": n => { exchangeRestoreSession.mailboxRestoreArtifacts = n.getCollectionOfObjectValues(createMailboxRestoreArtifactFromDiscriminatorValue); }, "mailboxRestoreArtifactsBulkAdditionRequests": n => { exchangeRestoreSession.mailboxRestoreArtifactsBulkAdditionRequests = n.getCollectionOfObjectValues(createMailboxRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue); } });
|
|
34071
34472
|
}
|
|
34072
34473
|
/**
|
|
34073
34474
|
* The deserialization information for the current model
|
|
@@ -34212,7 +34613,7 @@ export function deserializeIntoExternalSponsors(externalSponsors = {}) {
|
|
|
34212
34613
|
*/
|
|
34213
34614
|
// @ts-ignore
|
|
34214
34615
|
export function deserializeIntoExternalUsersSelfServiceSignUpEventsFlow(externalUsersSelfServiceSignUpEventsFlow = {}) {
|
|
34215
|
-
return Object.assign(Object.assign({}, deserializeIntoAuthenticationEventsFlow(externalUsersSelfServiceSignUpEventsFlow)), { "onAttributeCollection": n => { externalUsersSelfServiceSignUpEventsFlow.onAttributeCollection = n.getObjectValue(createOnAttributeCollectionHandlerFromDiscriminatorValue); }, "onAuthenticationMethodLoadStart": n => { externalUsersSelfServiceSignUpEventsFlow.onAuthenticationMethodLoadStart = n.getObjectValue(createOnAuthenticationMethodLoadStartHandlerFromDiscriminatorValue); }, "onInteractiveAuthFlowStart": n => { externalUsersSelfServiceSignUpEventsFlow.onInteractiveAuthFlowStart = n.getObjectValue(createOnInteractiveAuthFlowStartHandlerFromDiscriminatorValue); }, "onUserCreateStart": n => { externalUsersSelfServiceSignUpEventsFlow.onUserCreateStart = n.getObjectValue(createOnUserCreateStartHandlerFromDiscriminatorValue); } });
|
|
34616
|
+
return Object.assign(Object.assign({}, deserializeIntoAuthenticationEventsFlow(externalUsersSelfServiceSignUpEventsFlow)), { "onAttributeCollection": n => { externalUsersSelfServiceSignUpEventsFlow.onAttributeCollection = n.getObjectValue(createOnAttributeCollectionHandlerFromDiscriminatorValue); }, "onAttributeCollectionStart": n => { externalUsersSelfServiceSignUpEventsFlow.onAttributeCollectionStart = n.getObjectValue(createOnAttributeCollectionStartHandlerFromDiscriminatorValue); }, "onAttributeCollectionSubmit": n => { externalUsersSelfServiceSignUpEventsFlow.onAttributeCollectionSubmit = n.getObjectValue(createOnAttributeCollectionSubmitHandlerFromDiscriminatorValue); }, "onAuthenticationMethodLoadStart": n => { externalUsersSelfServiceSignUpEventsFlow.onAuthenticationMethodLoadStart = n.getObjectValue(createOnAuthenticationMethodLoadStartHandlerFromDiscriminatorValue); }, "onInteractiveAuthFlowStart": n => { externalUsersSelfServiceSignUpEventsFlow.onInteractiveAuthFlowStart = n.getObjectValue(createOnInteractiveAuthFlowStartHandlerFromDiscriminatorValue); }, "onUserCreateStart": n => { externalUsersSelfServiceSignUpEventsFlow.onUserCreateStart = n.getObjectValue(createOnUserCreateStartHandlerFromDiscriminatorValue); } });
|
|
34216
34617
|
}
|
|
34217
34618
|
/**
|
|
34218
34619
|
* The deserialization information for the current model
|
|
@@ -36688,6 +37089,22 @@ export function deserializeIntoMailboxProtectionUnitCollectionResponse(mailboxPr
|
|
|
36688
37089
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
36689
37090
|
*/
|
|
36690
37091
|
// @ts-ignore
|
|
37092
|
+
export function deserializeIntoMailboxProtectionUnitsBulkAdditionJob(mailboxProtectionUnitsBulkAdditionJob = {}) {
|
|
37093
|
+
return Object.assign(Object.assign({}, deserializeIntoProtectionUnitsBulkJobBase(mailboxProtectionUnitsBulkAdditionJob)), { "directoryObjectIds": n => { mailboxProtectionUnitsBulkAdditionJob.directoryObjectIds = n.getCollectionOfPrimitiveValues(); }, "mailboxes": n => { mailboxProtectionUnitsBulkAdditionJob.mailboxes = n.getCollectionOfPrimitiveValues(); } });
|
|
37094
|
+
}
|
|
37095
|
+
/**
|
|
37096
|
+
* The deserialization information for the current model
|
|
37097
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
37098
|
+
*/
|
|
37099
|
+
// @ts-ignore
|
|
37100
|
+
export function deserializeIntoMailboxProtectionUnitsBulkAdditionJobCollectionResponse(mailboxProtectionUnitsBulkAdditionJobCollectionResponse = {}) {
|
|
37101
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(mailboxProtectionUnitsBulkAdditionJobCollectionResponse)), { "value": n => { mailboxProtectionUnitsBulkAdditionJobCollectionResponse.value = n.getCollectionOfObjectValues(createMailboxProtectionUnitsBulkAdditionJobFromDiscriminatorValue); } });
|
|
37102
|
+
}
|
|
37103
|
+
/**
|
|
37104
|
+
* The deserialization information for the current model
|
|
37105
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
37106
|
+
*/
|
|
37107
|
+
// @ts-ignore
|
|
36691
37108
|
export function deserializeIntoMailboxRestoreArtifact(mailboxRestoreArtifact = {}) {
|
|
36692
37109
|
return Object.assign(Object.assign({}, deserializeIntoRestoreArtifactBase(mailboxRestoreArtifact)), { "restoredFolderId": n => { mailboxRestoreArtifact.restoredFolderId = n.getStringValue(); }, "restoredFolderName": n => { mailboxRestoreArtifact.restoredFolderName = n.getStringValue(); } });
|
|
36693
37110
|
}
|
|
@@ -36704,6 +37121,22 @@ export function deserializeIntoMailboxRestoreArtifactCollectionResponse(mailboxR
|
|
|
36704
37121
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
36705
37122
|
*/
|
|
36706
37123
|
// @ts-ignore
|
|
37124
|
+
export function deserializeIntoMailboxRestoreArtifactsBulkAdditionRequest(mailboxRestoreArtifactsBulkAdditionRequest = {}) {
|
|
37125
|
+
return Object.assign(Object.assign({}, deserializeIntoRestoreArtifactsBulkRequestBase(mailboxRestoreArtifactsBulkAdditionRequest)), { "directoryObjectIds": n => { mailboxRestoreArtifactsBulkAdditionRequest.directoryObjectIds = n.getCollectionOfPrimitiveValues(); }, "mailboxes": n => { mailboxRestoreArtifactsBulkAdditionRequest.mailboxes = n.getCollectionOfPrimitiveValues(); } });
|
|
37126
|
+
}
|
|
37127
|
+
/**
|
|
37128
|
+
* The deserialization information for the current model
|
|
37129
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
37130
|
+
*/
|
|
37131
|
+
// @ts-ignore
|
|
37132
|
+
export function deserializeIntoMailboxRestoreArtifactsBulkAdditionRequestCollectionResponse(mailboxRestoreArtifactsBulkAdditionRequestCollectionResponse = {}) {
|
|
37133
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(mailboxRestoreArtifactsBulkAdditionRequestCollectionResponse)), { "value": n => { mailboxRestoreArtifactsBulkAdditionRequestCollectionResponse.value = n.getCollectionOfObjectValues(createMailboxRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue); } });
|
|
37134
|
+
}
|
|
37135
|
+
/**
|
|
37136
|
+
* The deserialization information for the current model
|
|
37137
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
37138
|
+
*/
|
|
37139
|
+
// @ts-ignore
|
|
36707
37140
|
export function deserializeIntoMailboxSettings(mailboxSettings = {}) {
|
|
36708
37141
|
return {
|
|
36709
37142
|
"archiveFolder": n => { mailboxSettings.archiveFolder = n.getStringValue(); },
|
|
@@ -37369,7 +37802,7 @@ export function deserializeIntoMediaStream(mediaStream = {}) {
|
|
|
37369
37802
|
*/
|
|
37370
37803
|
// @ts-ignore
|
|
37371
37804
|
export function deserializeIntoMeetingAttendanceReport(meetingAttendanceReport = {}) {
|
|
37372
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(meetingAttendanceReport)), { "attendanceRecords": n => { meetingAttendanceReport.attendanceRecords = n.getCollectionOfObjectValues(createAttendanceRecordFromDiscriminatorValue); }, "meetingEndDateTime": n => { meetingAttendanceReport.meetingEndDateTime = n.getDateValue(); }, "meetingStartDateTime": n => { meetingAttendanceReport.meetingStartDateTime = n.getDateValue(); }, "totalParticipantCount": n => { meetingAttendanceReport.totalParticipantCount = n.getNumberValue(); } });
|
|
37805
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(meetingAttendanceReport)), { "attendanceRecords": n => { meetingAttendanceReport.attendanceRecords = n.getCollectionOfObjectValues(createAttendanceRecordFromDiscriminatorValue); }, "externalEventInformation": n => { meetingAttendanceReport.externalEventInformation = n.getCollectionOfObjectValues(createVirtualEventExternalInformationFromDiscriminatorValue); }, "meetingEndDateTime": n => { meetingAttendanceReport.meetingEndDateTime = n.getDateValue(); }, "meetingStartDateTime": n => { meetingAttendanceReport.meetingStartDateTime = n.getDateValue(); }, "totalParticipantCount": n => { meetingAttendanceReport.totalParticipantCount = n.getNumberValue(); } });
|
|
37373
37806
|
}
|
|
37374
37807
|
/**
|
|
37375
37808
|
* The deserialization information for the current model
|
|
@@ -38407,6 +38840,76 @@ export function deserializeIntoOnAttributeCollectionListener(onAttributeCollecti
|
|
|
38407
38840
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38408
38841
|
*/
|
|
38409
38842
|
// @ts-ignore
|
|
38843
|
+
export function deserializeIntoOnAttributeCollectionStartCustomExtension(onAttributeCollectionStartCustomExtension = {}) {
|
|
38844
|
+
return Object.assign({}, deserializeIntoCustomAuthenticationExtension(onAttributeCollectionStartCustomExtension));
|
|
38845
|
+
}
|
|
38846
|
+
/**
|
|
38847
|
+
* The deserialization information for the current model
|
|
38848
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38849
|
+
*/
|
|
38850
|
+
// @ts-ignore
|
|
38851
|
+
export function deserializeIntoOnAttributeCollectionStartCustomExtensionHandler(onAttributeCollectionStartCustomExtensionHandler = {}) {
|
|
38852
|
+
return Object.assign(Object.assign({}, deserializeIntoOnAttributeCollectionStartHandler(onAttributeCollectionStartCustomExtensionHandler)), { "configuration": n => { onAttributeCollectionStartCustomExtensionHandler.configuration = n.getObjectValue(createCustomExtensionOverwriteConfigurationFromDiscriminatorValue); }, "customExtension": n => { onAttributeCollectionStartCustomExtensionHandler.customExtension = n.getObjectValue(createOnAttributeCollectionStartCustomExtensionFromDiscriminatorValue); } });
|
|
38853
|
+
}
|
|
38854
|
+
/**
|
|
38855
|
+
* The deserialization information for the current model
|
|
38856
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38857
|
+
*/
|
|
38858
|
+
// @ts-ignore
|
|
38859
|
+
export function deserializeIntoOnAttributeCollectionStartHandler(onAttributeCollectionStartHandler = {}) {
|
|
38860
|
+
return {
|
|
38861
|
+
"backingStoreEnabled": n => { onAttributeCollectionStartHandler.backingStoreEnabled = true; },
|
|
38862
|
+
"@odata.type": n => { onAttributeCollectionStartHandler.odataType = n.getStringValue(); },
|
|
38863
|
+
};
|
|
38864
|
+
}
|
|
38865
|
+
/**
|
|
38866
|
+
* The deserialization information for the current model
|
|
38867
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38868
|
+
*/
|
|
38869
|
+
// @ts-ignore
|
|
38870
|
+
export function deserializeIntoOnAttributeCollectionStartListener(onAttributeCollectionStartListener = {}) {
|
|
38871
|
+
return Object.assign(Object.assign({}, deserializeIntoAuthenticationEventListener(onAttributeCollectionStartListener)), { "handler": n => { onAttributeCollectionStartListener.handler = n.getObjectValue(createOnAttributeCollectionStartHandlerFromDiscriminatorValue); } });
|
|
38872
|
+
}
|
|
38873
|
+
/**
|
|
38874
|
+
* The deserialization information for the current model
|
|
38875
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38876
|
+
*/
|
|
38877
|
+
// @ts-ignore
|
|
38878
|
+
export function deserializeIntoOnAttributeCollectionSubmitCustomExtension(onAttributeCollectionSubmitCustomExtension = {}) {
|
|
38879
|
+
return Object.assign({}, deserializeIntoCustomAuthenticationExtension(onAttributeCollectionSubmitCustomExtension));
|
|
38880
|
+
}
|
|
38881
|
+
/**
|
|
38882
|
+
* The deserialization information for the current model
|
|
38883
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38884
|
+
*/
|
|
38885
|
+
// @ts-ignore
|
|
38886
|
+
export function deserializeIntoOnAttributeCollectionSubmitCustomExtensionHandler(onAttributeCollectionSubmitCustomExtensionHandler = {}) {
|
|
38887
|
+
return Object.assign(Object.assign({}, deserializeIntoOnAttributeCollectionSubmitHandler(onAttributeCollectionSubmitCustomExtensionHandler)), { "configuration": n => { onAttributeCollectionSubmitCustomExtensionHandler.configuration = n.getObjectValue(createCustomExtensionOverwriteConfigurationFromDiscriminatorValue); }, "customExtension": n => { onAttributeCollectionSubmitCustomExtensionHandler.customExtension = n.getObjectValue(createOnAttributeCollectionSubmitCustomExtensionFromDiscriminatorValue); } });
|
|
38888
|
+
}
|
|
38889
|
+
/**
|
|
38890
|
+
* The deserialization information for the current model
|
|
38891
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38892
|
+
*/
|
|
38893
|
+
// @ts-ignore
|
|
38894
|
+
export function deserializeIntoOnAttributeCollectionSubmitHandler(onAttributeCollectionSubmitHandler = {}) {
|
|
38895
|
+
return {
|
|
38896
|
+
"backingStoreEnabled": n => { onAttributeCollectionSubmitHandler.backingStoreEnabled = true; },
|
|
38897
|
+
"@odata.type": n => { onAttributeCollectionSubmitHandler.odataType = n.getStringValue(); },
|
|
38898
|
+
};
|
|
38899
|
+
}
|
|
38900
|
+
/**
|
|
38901
|
+
* The deserialization information for the current model
|
|
38902
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38903
|
+
*/
|
|
38904
|
+
// @ts-ignore
|
|
38905
|
+
export function deserializeIntoOnAttributeCollectionSubmitListener(onAttributeCollectionSubmitListener = {}) {
|
|
38906
|
+
return Object.assign(Object.assign({}, deserializeIntoAuthenticationEventListener(onAttributeCollectionSubmitListener)), { "handler": n => { onAttributeCollectionSubmitListener.handler = n.getObjectValue(createOnAttributeCollectionSubmitHandlerFromDiscriminatorValue); } });
|
|
38907
|
+
}
|
|
38908
|
+
/**
|
|
38909
|
+
* The deserialization information for the current model
|
|
38910
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
38911
|
+
*/
|
|
38912
|
+
// @ts-ignore
|
|
38410
38913
|
export function deserializeIntoOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp(onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp = {}) {
|
|
38411
38914
|
return Object.assign(Object.assign({}, deserializeIntoOnAuthenticationMethodLoadStartHandler(onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp)), { "identityProviders": n => { onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp.identityProviders = n.getCollectionOfObjectValues(createIdentityProviderBaseFromDiscriminatorValue); } });
|
|
38412
38915
|
}
|
|
@@ -38435,7 +38938,7 @@ export function deserializeIntoOnAuthenticationMethodLoadStartListener(onAuthent
|
|
|
38435
38938
|
*/
|
|
38436
38939
|
// @ts-ignore
|
|
38437
38940
|
export function deserializeIntoOneDriveForBusinessProtectionPolicy(oneDriveForBusinessProtectionPolicy = {}) {
|
|
38438
|
-
return Object.assign(Object.assign({}, deserializeIntoProtectionPolicyBase(oneDriveForBusinessProtectionPolicy)), { "driveInclusionRules": n => { oneDriveForBusinessProtectionPolicy.driveInclusionRules = n.getCollectionOfObjectValues(createDriveProtectionRuleFromDiscriminatorValue); }, "driveProtectionUnits": n => { oneDriveForBusinessProtectionPolicy.driveProtectionUnits = n.getCollectionOfObjectValues(createDriveProtectionUnitFromDiscriminatorValue); } });
|
|
38941
|
+
return Object.assign(Object.assign({}, deserializeIntoProtectionPolicyBase(oneDriveForBusinessProtectionPolicy)), { "driveInclusionRules": n => { oneDriveForBusinessProtectionPolicy.driveInclusionRules = n.getCollectionOfObjectValues(createDriveProtectionRuleFromDiscriminatorValue); }, "driveProtectionUnits": n => { oneDriveForBusinessProtectionPolicy.driveProtectionUnits = n.getCollectionOfObjectValues(createDriveProtectionUnitFromDiscriminatorValue); }, "driveProtectionUnitsBulkAdditionJobs": n => { oneDriveForBusinessProtectionPolicy.driveProtectionUnitsBulkAdditionJobs = n.getCollectionOfObjectValues(createDriveProtectionUnitsBulkAdditionJobFromDiscriminatorValue); } });
|
|
38439
38942
|
}
|
|
38440
38943
|
/**
|
|
38441
38944
|
* The deserialization information for the current model
|
|
@@ -38451,7 +38954,7 @@ export function deserializeIntoOneDriveForBusinessProtectionPolicyCollectionResp
|
|
|
38451
38954
|
*/
|
|
38452
38955
|
// @ts-ignore
|
|
38453
38956
|
export function deserializeIntoOneDriveForBusinessRestoreSession(oneDriveForBusinessRestoreSession = {}) {
|
|
38454
|
-
return Object.assign(Object.assign({}, deserializeIntoRestoreSessionBase(oneDriveForBusinessRestoreSession)), { "driveRestoreArtifacts": n => { oneDriveForBusinessRestoreSession.driveRestoreArtifacts = n.getCollectionOfObjectValues(createDriveRestoreArtifactFromDiscriminatorValue); } });
|
|
38957
|
+
return Object.assign(Object.assign({}, deserializeIntoRestoreSessionBase(oneDriveForBusinessRestoreSession)), { "driveRestoreArtifacts": n => { oneDriveForBusinessRestoreSession.driveRestoreArtifacts = n.getCollectionOfObjectValues(createDriveRestoreArtifactFromDiscriminatorValue); }, "driveRestoreArtifactsBulkAdditionRequests": n => { oneDriveForBusinessRestoreSession.driveRestoreArtifactsBulkAdditionRequests = n.getCollectionOfObjectValues(createDriveRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue); } });
|
|
38455
38958
|
}
|
|
38456
38959
|
/**
|
|
38457
38960
|
* The deserialization information for the current model
|
|
@@ -39903,6 +40406,22 @@ export function deserializeIntoPlannerUserIds(plannerUserIds = {}) {
|
|
|
39903
40406
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
39904
40407
|
*/
|
|
39905
40408
|
// @ts-ignore
|
|
40409
|
+
export function deserializeIntoPlatformCredentialAuthenticationMethod(platformCredentialAuthenticationMethod = {}) {
|
|
40410
|
+
return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(platformCredentialAuthenticationMethod)), { "createdDateTime": n => { platformCredentialAuthenticationMethod.createdDateTime = n.getDateValue(); }, "device": n => { platformCredentialAuthenticationMethod.device = n.getObjectValue(createDeviceFromDiscriminatorValue); }, "displayName": n => { platformCredentialAuthenticationMethod.displayName = n.getStringValue(); }, "keyStrength": n => { platformCredentialAuthenticationMethod.keyStrength = n.getEnumValue(AuthenticationMethodKeyStrengthObject); }, "platform": n => { platformCredentialAuthenticationMethod.platform = n.getEnumValue(AuthenticationMethodPlatformObject); } });
|
|
40411
|
+
}
|
|
40412
|
+
/**
|
|
40413
|
+
* The deserialization information for the current model
|
|
40414
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
40415
|
+
*/
|
|
40416
|
+
// @ts-ignore
|
|
40417
|
+
export function deserializeIntoPlatformCredentialAuthenticationMethodCollectionResponse(platformCredentialAuthenticationMethodCollectionResponse = {}) {
|
|
40418
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(platformCredentialAuthenticationMethodCollectionResponse)), { "value": n => { platformCredentialAuthenticationMethodCollectionResponse.value = n.getCollectionOfObjectValues(createPlatformCredentialAuthenticationMethodFromDiscriminatorValue); } });
|
|
40419
|
+
}
|
|
40420
|
+
/**
|
|
40421
|
+
* The deserialization information for the current model
|
|
40422
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
40423
|
+
*/
|
|
40424
|
+
// @ts-ignore
|
|
39906
40425
|
export function deserializeIntoPlayPromptOperation(playPromptOperation = {}) {
|
|
39907
40426
|
return Object.assign({}, deserializeIntoCommsOperation(playPromptOperation));
|
|
39908
40427
|
}
|
|
@@ -40804,6 +41323,14 @@ export function deserializeIntoProtectionUnitBaseCollectionResponse(protectionUn
|
|
|
40804
41323
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
40805
41324
|
*/
|
|
40806
41325
|
// @ts-ignore
|
|
41326
|
+
export function deserializeIntoProtectionUnitsBulkJobBase(protectionUnitsBulkJobBase = {}) {
|
|
41327
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(protectionUnitsBulkJobBase)), { "createdBy": n => { protectionUnitsBulkJobBase.createdBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "createdDateTime": n => { protectionUnitsBulkJobBase.createdDateTime = n.getDateValue(); }, "displayName": n => { protectionUnitsBulkJobBase.displayName = n.getStringValue(); }, "error": n => { protectionUnitsBulkJobBase.errorEscaped = n.getObjectValue(createPublicErrorFromDiscriminatorValue); }, "lastModifiedBy": n => { protectionUnitsBulkJobBase.lastModifiedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "lastModifiedDateTime": n => { protectionUnitsBulkJobBase.lastModifiedDateTime = n.getDateValue(); }, "status": n => { protectionUnitsBulkJobBase.status = n.getEnumValue(ProtectionUnitsBulkJobStatusObject); } });
|
|
41328
|
+
}
|
|
41329
|
+
/**
|
|
41330
|
+
* The deserialization information for the current model
|
|
41331
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
41332
|
+
*/
|
|
41333
|
+
// @ts-ignore
|
|
40807
41334
|
export function deserializeIntoProvisionChannelEmailResult(provisionChannelEmailResult = {}) {
|
|
40808
41335
|
return {
|
|
40809
41336
|
"backingStoreEnabled": n => { provisionChannelEmailResult.backingStoreEnabled = true; },
|
|
@@ -41628,6 +42155,14 @@ export function deserializeIntoRestoreArtifactBase(restoreArtifactBase = {}) {
|
|
|
41628
42155
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
41629
42156
|
*/
|
|
41630
42157
|
// @ts-ignore
|
|
42158
|
+
export function deserializeIntoRestoreArtifactsBulkRequestBase(restoreArtifactsBulkRequestBase = {}) {
|
|
42159
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(restoreArtifactsBulkRequestBase)), { "createdBy": n => { restoreArtifactsBulkRequestBase.createdBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "createdDateTime": n => { restoreArtifactsBulkRequestBase.createdDateTime = n.getDateValue(); }, "destinationType": n => { restoreArtifactsBulkRequestBase.destinationType = n.getEnumValue(DestinationTypeObject); }, "displayName": n => { restoreArtifactsBulkRequestBase.displayName = n.getStringValue(); }, "error": n => { restoreArtifactsBulkRequestBase.errorEscaped = n.getObjectValue(createPublicErrorFromDiscriminatorValue); }, "lastModifiedBy": n => { restoreArtifactsBulkRequestBase.lastModifiedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "lastModifiedDateTime": n => { restoreArtifactsBulkRequestBase.lastModifiedDateTime = n.getDateValue(); }, "protectionTimePeriod": n => { restoreArtifactsBulkRequestBase.protectionTimePeriod = n.getObjectValue(createTimePeriodFromDiscriminatorValue); }, "protectionUnitIds": n => { restoreArtifactsBulkRequestBase.protectionUnitIds = n.getCollectionOfPrimitiveValues(); }, "restorePointPreference": n => { restoreArtifactsBulkRequestBase.restorePointPreference = n.getEnumValue(RestorePointPreferenceObject); }, "status": n => { restoreArtifactsBulkRequestBase.status = n.getEnumValue(RestoreArtifactsBulkRequestStatusObject); }, "tags": n => { restoreArtifactsBulkRequestBase.tags = n.getCollectionOfEnumValues(RestorePointTagsObject); } });
|
|
42160
|
+
}
|
|
42161
|
+
/**
|
|
42162
|
+
* The deserialization information for the current model
|
|
42163
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
42164
|
+
*/
|
|
42165
|
+
// @ts-ignore
|
|
41631
42166
|
export function deserializeIntoRestorePoint(restorePoint = {}) {
|
|
41632
42167
|
return Object.assign(Object.assign({}, deserializeIntoEntity(restorePoint)), { "expirationDateTime": n => { restorePoint.expirationDateTime = n.getDateValue(); }, "protectionDateTime": n => { restorePoint.protectionDateTime = n.getDateValue(); }, "protectionUnit": n => { restorePoint.protectionUnit = n.getObjectValue(createProtectionUnitBaseFromDiscriminatorValue); }, "tags": n => { restorePoint.tags = n.getCollectionOfEnumValues(RestorePointTagsObject); } });
|
|
41633
42168
|
}
|
|
@@ -43035,7 +43570,7 @@ export function deserializeIntoSharePointOneDriveOptions(sharePointOneDriveOptio
|
|
|
43035
43570
|
*/
|
|
43036
43571
|
// @ts-ignore
|
|
43037
43572
|
export function deserializeIntoSharePointProtectionPolicy(sharePointProtectionPolicy = {}) {
|
|
43038
|
-
return Object.assign(Object.assign({}, deserializeIntoProtectionPolicyBase(sharePointProtectionPolicy)), { "siteInclusionRules": n => { sharePointProtectionPolicy.siteInclusionRules = n.getCollectionOfObjectValues(createSiteProtectionRuleFromDiscriminatorValue); }, "siteProtectionUnits": n => { sharePointProtectionPolicy.siteProtectionUnits = n.getCollectionOfObjectValues(createSiteProtectionUnitFromDiscriminatorValue); } });
|
|
43573
|
+
return Object.assign(Object.assign({}, deserializeIntoProtectionPolicyBase(sharePointProtectionPolicy)), { "siteInclusionRules": n => { sharePointProtectionPolicy.siteInclusionRules = n.getCollectionOfObjectValues(createSiteProtectionRuleFromDiscriminatorValue); }, "siteProtectionUnits": n => { sharePointProtectionPolicy.siteProtectionUnits = n.getCollectionOfObjectValues(createSiteProtectionUnitFromDiscriminatorValue); }, "siteProtectionUnitsBulkAdditionJobs": n => { sharePointProtectionPolicy.siteProtectionUnitsBulkAdditionJobs = n.getCollectionOfObjectValues(createSiteProtectionUnitsBulkAdditionJobFromDiscriminatorValue); } });
|
|
43039
43574
|
}
|
|
43040
43575
|
/**
|
|
43041
43576
|
* The deserialization information for the current model
|
|
@@ -43051,7 +43586,7 @@ export function deserializeIntoSharePointProtectionPolicyCollectionResponse(shar
|
|
|
43051
43586
|
*/
|
|
43052
43587
|
// @ts-ignore
|
|
43053
43588
|
export function deserializeIntoSharePointRestoreSession(sharePointRestoreSession = {}) {
|
|
43054
|
-
return Object.assign(Object.assign({}, deserializeIntoRestoreSessionBase(sharePointRestoreSession)), { "siteRestoreArtifacts": n => { sharePointRestoreSession.siteRestoreArtifacts = n.getCollectionOfObjectValues(createSiteRestoreArtifactFromDiscriminatorValue); } });
|
|
43589
|
+
return Object.assign(Object.assign({}, deserializeIntoRestoreSessionBase(sharePointRestoreSession)), { "siteRestoreArtifacts": n => { sharePointRestoreSession.siteRestoreArtifacts = n.getCollectionOfObjectValues(createSiteRestoreArtifactFromDiscriminatorValue); }, "siteRestoreArtifactsBulkAdditionRequests": n => { sharePointRestoreSession.siteRestoreArtifactsBulkAdditionRequests = n.getCollectionOfObjectValues(createSiteRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue); } });
|
|
43055
43590
|
}
|
|
43056
43591
|
/**
|
|
43057
43592
|
* The deserialization information for the current model
|
|
@@ -43493,6 +44028,22 @@ export function deserializeIntoSiteProtectionUnitCollectionResponse(siteProtecti
|
|
|
43493
44028
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
43494
44029
|
*/
|
|
43495
44030
|
// @ts-ignore
|
|
44031
|
+
export function deserializeIntoSiteProtectionUnitsBulkAdditionJob(siteProtectionUnitsBulkAdditionJob = {}) {
|
|
44032
|
+
return Object.assign(Object.assign({}, deserializeIntoProtectionUnitsBulkJobBase(siteProtectionUnitsBulkAdditionJob)), { "siteIds": n => { siteProtectionUnitsBulkAdditionJob.siteIds = n.getCollectionOfPrimitiveValues(); }, "siteWebUrls": n => { siteProtectionUnitsBulkAdditionJob.siteWebUrls = n.getCollectionOfPrimitiveValues(); } });
|
|
44033
|
+
}
|
|
44034
|
+
/**
|
|
44035
|
+
* The deserialization information for the current model
|
|
44036
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
44037
|
+
*/
|
|
44038
|
+
// @ts-ignore
|
|
44039
|
+
export function deserializeIntoSiteProtectionUnitsBulkAdditionJobCollectionResponse(siteProtectionUnitsBulkAdditionJobCollectionResponse = {}) {
|
|
44040
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(siteProtectionUnitsBulkAdditionJobCollectionResponse)), { "value": n => { siteProtectionUnitsBulkAdditionJobCollectionResponse.value = n.getCollectionOfObjectValues(createSiteProtectionUnitsBulkAdditionJobFromDiscriminatorValue); } });
|
|
44041
|
+
}
|
|
44042
|
+
/**
|
|
44043
|
+
* The deserialization information for the current model
|
|
44044
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
44045
|
+
*/
|
|
44046
|
+
// @ts-ignore
|
|
43496
44047
|
export function deserializeIntoSiteRestoreArtifact(siteRestoreArtifact = {}) {
|
|
43497
44048
|
return Object.assign(Object.assign({}, deserializeIntoRestoreArtifactBase(siteRestoreArtifact)), { "restoredSiteId": n => { siteRestoreArtifact.restoredSiteId = n.getStringValue(); }, "restoredSiteName": n => { siteRestoreArtifact.restoredSiteName = n.getStringValue(); }, "restoredSiteWebUrl": n => { siteRestoreArtifact.restoredSiteWebUrl = n.getStringValue(); } });
|
|
43498
44049
|
}
|
|
@@ -43509,6 +44060,22 @@ export function deserializeIntoSiteRestoreArtifactCollectionResponse(siteRestore
|
|
|
43509
44060
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
43510
44061
|
*/
|
|
43511
44062
|
// @ts-ignore
|
|
44063
|
+
export function deserializeIntoSiteRestoreArtifactsBulkAdditionRequest(siteRestoreArtifactsBulkAdditionRequest = {}) {
|
|
44064
|
+
return Object.assign(Object.assign({}, deserializeIntoRestoreArtifactsBulkRequestBase(siteRestoreArtifactsBulkAdditionRequest)), { "siteIds": n => { siteRestoreArtifactsBulkAdditionRequest.siteIds = n.getCollectionOfPrimitiveValues(); }, "siteWebUrls": n => { siteRestoreArtifactsBulkAdditionRequest.siteWebUrls = n.getCollectionOfPrimitiveValues(); } });
|
|
44065
|
+
}
|
|
44066
|
+
/**
|
|
44067
|
+
* The deserialization information for the current model
|
|
44068
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
44069
|
+
*/
|
|
44070
|
+
// @ts-ignore
|
|
44071
|
+
export function deserializeIntoSiteRestoreArtifactsBulkAdditionRequestCollectionResponse(siteRestoreArtifactsBulkAdditionRequestCollectionResponse = {}) {
|
|
44072
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(siteRestoreArtifactsBulkAdditionRequestCollectionResponse)), { "value": n => { siteRestoreArtifactsBulkAdditionRequestCollectionResponse.value = n.getCollectionOfObjectValues(createSiteRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue); } });
|
|
44073
|
+
}
|
|
44074
|
+
/**
|
|
44075
|
+
* The deserialization information for the current model
|
|
44076
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
44077
|
+
*/
|
|
44078
|
+
// @ts-ignore
|
|
43512
44079
|
export function deserializeIntoSizeRange(sizeRange = {}) {
|
|
43513
44080
|
return {
|
|
43514
44081
|
"backingStoreEnabled": n => { sizeRange.backingStoreEnabled = true; },
|
|
@@ -51913,7 +52480,9 @@ export function serializeAttendanceRecord(writer, attendanceRecord = {}) {
|
|
|
51913
52480
|
serializeEntity(writer, attendanceRecord);
|
|
51914
52481
|
writer.writeCollectionOfObjectValues("attendanceIntervals", attendanceRecord.attendanceIntervals, serializeAttendanceInterval);
|
|
51915
52482
|
writer.writeStringValue("emailAddress", attendanceRecord.emailAddress);
|
|
52483
|
+
writer.writeObjectValue("externalRegistrationInformation", attendanceRecord.externalRegistrationInformation, serializeVirtualEventExternalRegistrationInformation);
|
|
51916
52484
|
writer.writeObjectValue("identity", attendanceRecord.identity, serializeIdentity);
|
|
52485
|
+
writer.writeStringValue("registrationId", attendanceRecord.registrationId);
|
|
51917
52486
|
writer.writeStringValue("role", attendanceRecord.role);
|
|
51918
52487
|
writer.writeNumberValue("totalAttendanceInSeconds", attendanceRecord.totalAttendanceInSeconds);
|
|
51919
52488
|
}
|
|
@@ -52308,6 +52877,7 @@ export function serializeAuthentication(writer, authentication = {}) {
|
|
|
52308
52877
|
writer.writeCollectionOfObjectValues("operations", authentication.operations, serializeLongRunningOperation);
|
|
52309
52878
|
writer.writeCollectionOfObjectValues("passwordMethods", authentication.passwordMethods, serializePasswordAuthenticationMethod);
|
|
52310
52879
|
writer.writeCollectionOfObjectValues("phoneMethods", authentication.phoneMethods, serializePhoneAuthenticationMethod);
|
|
52880
|
+
writer.writeCollectionOfObjectValues("platformCredentialMethods", authentication.platformCredentialMethods, serializePlatformCredentialAuthenticationMethod);
|
|
52311
52881
|
writer.writeCollectionOfObjectValues("softwareOathMethods", authentication.softwareOathMethods, serializeSoftwareOathAuthenticationMethod);
|
|
52312
52882
|
writer.writeCollectionOfObjectValues("temporaryAccessPassMethods", authentication.temporaryAccessPassMethods, serializeTemporaryAccessPassAuthenticationMethod);
|
|
52313
52883
|
writer.writeCollectionOfObjectValues("windowsHelloForBusinessMethods", authentication.windowsHelloForBusinessMethods, serializeWindowsHelloForBusinessAuthenticationMethod);
|
|
@@ -52993,10 +53563,12 @@ export function serializeBackupRestoreRoot(writer, backupRestoreRoot = {}) {
|
|
|
52993
53563
|
serializeEntity(writer, backupRestoreRoot);
|
|
52994
53564
|
writer.writeCollectionOfObjectValues("driveInclusionRules", backupRestoreRoot.driveInclusionRules, serializeDriveProtectionRule);
|
|
52995
53565
|
writer.writeCollectionOfObjectValues("driveProtectionUnits", backupRestoreRoot.driveProtectionUnits, serializeDriveProtectionUnit);
|
|
53566
|
+
writer.writeCollectionOfObjectValues("driveProtectionUnitsBulkAdditionJobs", backupRestoreRoot.driveProtectionUnitsBulkAdditionJobs, serializeDriveProtectionUnitsBulkAdditionJob);
|
|
52996
53567
|
writer.writeCollectionOfObjectValues("exchangeProtectionPolicies", backupRestoreRoot.exchangeProtectionPolicies, serializeExchangeProtectionPolicy);
|
|
52997
53568
|
writer.writeCollectionOfObjectValues("exchangeRestoreSessions", backupRestoreRoot.exchangeRestoreSessions, serializeExchangeRestoreSession);
|
|
52998
53569
|
writer.writeCollectionOfObjectValues("mailboxInclusionRules", backupRestoreRoot.mailboxInclusionRules, serializeMailboxProtectionRule);
|
|
52999
53570
|
writer.writeCollectionOfObjectValues("mailboxProtectionUnits", backupRestoreRoot.mailboxProtectionUnits, serializeMailboxProtectionUnit);
|
|
53571
|
+
writer.writeCollectionOfObjectValues("mailboxProtectionUnitsBulkAdditionJobs", backupRestoreRoot.mailboxProtectionUnitsBulkAdditionJobs, serializeMailboxProtectionUnitsBulkAdditionJob);
|
|
53000
53572
|
writer.writeCollectionOfObjectValues("oneDriveForBusinessProtectionPolicies", backupRestoreRoot.oneDriveForBusinessProtectionPolicies, serializeOneDriveForBusinessProtectionPolicy);
|
|
53001
53573
|
writer.writeCollectionOfObjectValues("oneDriveForBusinessRestoreSessions", backupRestoreRoot.oneDriveForBusinessRestoreSessions, serializeOneDriveForBusinessRestoreSession);
|
|
53002
53574
|
writer.writeCollectionOfObjectValues("protectionPolicies", backupRestoreRoot.protectionPolicies, serializeProtectionPolicyBase);
|
|
@@ -53009,6 +53581,7 @@ export function serializeBackupRestoreRoot(writer, backupRestoreRoot = {}) {
|
|
|
53009
53581
|
writer.writeCollectionOfObjectValues("sharePointRestoreSessions", backupRestoreRoot.sharePointRestoreSessions, serializeSharePointRestoreSession);
|
|
53010
53582
|
writer.writeCollectionOfObjectValues("siteInclusionRules", backupRestoreRoot.siteInclusionRules, serializeSiteProtectionRule);
|
|
53011
53583
|
writer.writeCollectionOfObjectValues("siteProtectionUnits", backupRestoreRoot.siteProtectionUnits, serializeSiteProtectionUnit);
|
|
53584
|
+
writer.writeCollectionOfObjectValues("siteProtectionUnitsBulkAdditionJobs", backupRestoreRoot.siteProtectionUnitsBulkAdditionJobs, serializeSiteProtectionUnitsBulkAdditionJob);
|
|
53012
53585
|
}
|
|
53013
53586
|
}
|
|
53014
53587
|
/**
|
|
@@ -56496,6 +57069,40 @@ export function serializeConvertIdResult(writer, convertIdResult = {}) {
|
|
|
56496
57069
|
* @param writer Serialization writer to use to serialize this model
|
|
56497
57070
|
*/
|
|
56498
57071
|
// @ts-ignore
|
|
57072
|
+
export function serializeCopilotAdmin(writer, copilotAdmin = {}) {
|
|
57073
|
+
if (copilotAdmin) {
|
|
57074
|
+
serializeEntity(writer, copilotAdmin);
|
|
57075
|
+
writer.writeObjectValue("settings", copilotAdmin.settings, serializeCopilotAdminSetting);
|
|
57076
|
+
}
|
|
57077
|
+
}
|
|
57078
|
+
/**
|
|
57079
|
+
* Serializes information the current object
|
|
57080
|
+
* @param writer Serialization writer to use to serialize this model
|
|
57081
|
+
*/
|
|
57082
|
+
// @ts-ignore
|
|
57083
|
+
export function serializeCopilotAdminLimitedMode(writer, copilotAdminLimitedMode = {}) {
|
|
57084
|
+
if (copilotAdminLimitedMode) {
|
|
57085
|
+
serializeEntity(writer, copilotAdminLimitedMode);
|
|
57086
|
+
writer.writeStringValue("groupId", copilotAdminLimitedMode.groupId);
|
|
57087
|
+
writer.writeBooleanValue("isEnabledForGroup", copilotAdminLimitedMode.isEnabledForGroup);
|
|
57088
|
+
}
|
|
57089
|
+
}
|
|
57090
|
+
/**
|
|
57091
|
+
* Serializes information the current object
|
|
57092
|
+
* @param writer Serialization writer to use to serialize this model
|
|
57093
|
+
*/
|
|
57094
|
+
// @ts-ignore
|
|
57095
|
+
export function serializeCopilotAdminSetting(writer, copilotAdminSetting = {}) {
|
|
57096
|
+
if (copilotAdminSetting) {
|
|
57097
|
+
serializeEntity(writer, copilotAdminSetting);
|
|
57098
|
+
writer.writeObjectValue("limitedMode", copilotAdminSetting.limitedMode, serializeCopilotAdminLimitedMode);
|
|
57099
|
+
}
|
|
57100
|
+
}
|
|
57101
|
+
/**
|
|
57102
|
+
* Serializes information the current object
|
|
57103
|
+
* @param writer Serialization writer to use to serialize this model
|
|
57104
|
+
*/
|
|
57105
|
+
// @ts-ignore
|
|
56499
57106
|
export function serializeCopyNotebookModel(writer, copyNotebookModel = {}) {
|
|
56500
57107
|
if (copyNotebookModel) {
|
|
56501
57108
|
writer.writeStringValue("createdBy", copyNotebookModel.createdBy);
|
|
@@ -59410,6 +60017,29 @@ export function serializeDriveProtectionUnitCollectionResponse(writer, driveProt
|
|
|
59410
60017
|
* @param writer Serialization writer to use to serialize this model
|
|
59411
60018
|
*/
|
|
59412
60019
|
// @ts-ignore
|
|
60020
|
+
export function serializeDriveProtectionUnitsBulkAdditionJob(writer, driveProtectionUnitsBulkAdditionJob = {}) {
|
|
60021
|
+
if (driveProtectionUnitsBulkAdditionJob) {
|
|
60022
|
+
serializeProtectionUnitsBulkJobBase(writer, driveProtectionUnitsBulkAdditionJob);
|
|
60023
|
+
writer.writeCollectionOfPrimitiveValues("directoryObjectIds", driveProtectionUnitsBulkAdditionJob.directoryObjectIds);
|
|
60024
|
+
writer.writeCollectionOfPrimitiveValues("drives", driveProtectionUnitsBulkAdditionJob.drives);
|
|
60025
|
+
}
|
|
60026
|
+
}
|
|
60027
|
+
/**
|
|
60028
|
+
* Serializes information the current object
|
|
60029
|
+
* @param writer Serialization writer to use to serialize this model
|
|
60030
|
+
*/
|
|
60031
|
+
// @ts-ignore
|
|
60032
|
+
export function serializeDriveProtectionUnitsBulkAdditionJobCollectionResponse(writer, driveProtectionUnitsBulkAdditionJobCollectionResponse = {}) {
|
|
60033
|
+
if (driveProtectionUnitsBulkAdditionJobCollectionResponse) {
|
|
60034
|
+
serializeBaseCollectionPaginationCountResponse(writer, driveProtectionUnitsBulkAdditionJobCollectionResponse);
|
|
60035
|
+
writer.writeCollectionOfObjectValues("value", driveProtectionUnitsBulkAdditionJobCollectionResponse.value, serializeDriveProtectionUnitsBulkAdditionJob);
|
|
60036
|
+
}
|
|
60037
|
+
}
|
|
60038
|
+
/**
|
|
60039
|
+
* Serializes information the current object
|
|
60040
|
+
* @param writer Serialization writer to use to serialize this model
|
|
60041
|
+
*/
|
|
60042
|
+
// @ts-ignore
|
|
59413
60043
|
export function serializeDriveRecipient(writer, driveRecipient = {}) {
|
|
59414
60044
|
if (driveRecipient) {
|
|
59415
60045
|
writer.writeStringValue("alias", driveRecipient.alias);
|
|
@@ -59446,6 +60076,29 @@ export function serializeDriveRestoreArtifactCollectionResponse(writer, driveRes
|
|
|
59446
60076
|
* @param writer Serialization writer to use to serialize this model
|
|
59447
60077
|
*/
|
|
59448
60078
|
// @ts-ignore
|
|
60079
|
+
export function serializeDriveRestoreArtifactsBulkAdditionRequest(writer, driveRestoreArtifactsBulkAdditionRequest = {}) {
|
|
60080
|
+
if (driveRestoreArtifactsBulkAdditionRequest) {
|
|
60081
|
+
serializeRestoreArtifactsBulkRequestBase(writer, driveRestoreArtifactsBulkAdditionRequest);
|
|
60082
|
+
writer.writeCollectionOfPrimitiveValues("directoryObjectIds", driveRestoreArtifactsBulkAdditionRequest.directoryObjectIds);
|
|
60083
|
+
writer.writeCollectionOfPrimitiveValues("drives", driveRestoreArtifactsBulkAdditionRequest.drives);
|
|
60084
|
+
}
|
|
60085
|
+
}
|
|
60086
|
+
/**
|
|
60087
|
+
* Serializes information the current object
|
|
60088
|
+
* @param writer Serialization writer to use to serialize this model
|
|
60089
|
+
*/
|
|
60090
|
+
// @ts-ignore
|
|
60091
|
+
export function serializeDriveRestoreArtifactsBulkAdditionRequestCollectionResponse(writer, driveRestoreArtifactsBulkAdditionRequestCollectionResponse = {}) {
|
|
60092
|
+
if (driveRestoreArtifactsBulkAdditionRequestCollectionResponse) {
|
|
60093
|
+
serializeBaseCollectionPaginationCountResponse(writer, driveRestoreArtifactsBulkAdditionRequestCollectionResponse);
|
|
60094
|
+
writer.writeCollectionOfObjectValues("value", driveRestoreArtifactsBulkAdditionRequestCollectionResponse.value, serializeDriveRestoreArtifactsBulkAdditionRequest);
|
|
60095
|
+
}
|
|
60096
|
+
}
|
|
60097
|
+
/**
|
|
60098
|
+
* Serializes information the current object
|
|
60099
|
+
* @param writer Serialization writer to use to serialize this model
|
|
60100
|
+
*/
|
|
60101
|
+
// @ts-ignore
|
|
59449
60102
|
export function serializeEBookInstallSummary(writer, eBookInstallSummary = {}) {
|
|
59450
60103
|
if (eBookInstallSummary) {
|
|
59451
60104
|
serializeEntity(writer, eBookInstallSummary);
|
|
@@ -60745,7 +61398,9 @@ export function serializeEvent(writer, event = {}) {
|
|
|
60745
61398
|
writer.writeObjectValue("body", event.body, serializeItemBody);
|
|
60746
61399
|
writer.writeStringValue("bodyPreview", event.bodyPreview);
|
|
60747
61400
|
writer.writeObjectValue("calendar", event.calendar, serializeCalendar);
|
|
61401
|
+
writer.writeCollectionOfPrimitiveValues("cancelledOccurrences", event.cancelledOccurrences);
|
|
60748
61402
|
writer.writeObjectValue("end", event.end, serializeDateTimeTimeZone);
|
|
61403
|
+
writer.writeCollectionOfObjectValues("exceptionOccurrences", event.exceptionOccurrences, serializeEvent);
|
|
60749
61404
|
writer.writeCollectionOfObjectValues("extensions", event.extensions, serializeExtension);
|
|
60750
61405
|
writer.writeBooleanValue("hasAttachments", event.hasAttachments);
|
|
60751
61406
|
writer.writeBooleanValue("hideAttendees", event.hideAttendees);
|
|
@@ -60863,6 +61518,7 @@ export function serializeExchangeProtectionPolicy(writer, exchangeProtectionPoli
|
|
|
60863
61518
|
serializeProtectionPolicyBase(writer, exchangeProtectionPolicy);
|
|
60864
61519
|
writer.writeCollectionOfObjectValues("mailboxInclusionRules", exchangeProtectionPolicy.mailboxInclusionRules, serializeMailboxProtectionRule);
|
|
60865
61520
|
writer.writeCollectionOfObjectValues("mailboxProtectionUnits", exchangeProtectionPolicy.mailboxProtectionUnits, serializeMailboxProtectionUnit);
|
|
61521
|
+
writer.writeCollectionOfObjectValues("mailboxProtectionUnitsBulkAdditionJobs", exchangeProtectionPolicy.mailboxProtectionUnitsBulkAdditionJobs, serializeMailboxProtectionUnitsBulkAdditionJob);
|
|
60866
61522
|
}
|
|
60867
61523
|
}
|
|
60868
61524
|
/**
|
|
@@ -60886,6 +61542,7 @@ export function serializeExchangeRestoreSession(writer, exchangeRestoreSession =
|
|
|
60886
61542
|
serializeRestoreSessionBase(writer, exchangeRestoreSession);
|
|
60887
61543
|
writer.writeCollectionOfObjectValues("granularMailboxRestoreArtifacts", exchangeRestoreSession.granularMailboxRestoreArtifacts, serializeGranularMailboxRestoreArtifact);
|
|
60888
61544
|
writer.writeCollectionOfObjectValues("mailboxRestoreArtifacts", exchangeRestoreSession.mailboxRestoreArtifacts, serializeMailboxRestoreArtifact);
|
|
61545
|
+
writer.writeCollectionOfObjectValues("mailboxRestoreArtifactsBulkAdditionRequests", exchangeRestoreSession.mailboxRestoreArtifactsBulkAdditionRequests, serializeMailboxRestoreArtifactsBulkAdditionRequest);
|
|
60889
61546
|
}
|
|
60890
61547
|
}
|
|
60891
61548
|
/**
|
|
@@ -61064,6 +61721,8 @@ export function serializeExternalUsersSelfServiceSignUpEventsFlow(writer, extern
|
|
|
61064
61721
|
if (externalUsersSelfServiceSignUpEventsFlow) {
|
|
61065
61722
|
serializeAuthenticationEventsFlow(writer, externalUsersSelfServiceSignUpEventsFlow);
|
|
61066
61723
|
writer.writeObjectValue("onAttributeCollection", externalUsersSelfServiceSignUpEventsFlow.onAttributeCollection, serializeOnAttributeCollectionHandler);
|
|
61724
|
+
writer.writeObjectValue("onAttributeCollectionStart", externalUsersSelfServiceSignUpEventsFlow.onAttributeCollectionStart, serializeOnAttributeCollectionStartHandler);
|
|
61725
|
+
writer.writeObjectValue("onAttributeCollectionSubmit", externalUsersSelfServiceSignUpEventsFlow.onAttributeCollectionSubmit, serializeOnAttributeCollectionSubmitHandler);
|
|
61067
61726
|
writer.writeObjectValue("onAuthenticationMethodLoadStart", externalUsersSelfServiceSignUpEventsFlow.onAuthenticationMethodLoadStart, serializeOnAuthenticationMethodLoadStartHandler);
|
|
61068
61727
|
writer.writeObjectValue("onInteractiveAuthFlowStart", externalUsersSelfServiceSignUpEventsFlow.onInteractiveAuthFlowStart, serializeOnInteractiveAuthFlowStartHandler);
|
|
61069
61728
|
writer.writeObjectValue("onUserCreateStart", externalUsersSelfServiceSignUpEventsFlow.onUserCreateStart, serializeOnUserCreateStartHandler);
|
|
@@ -64539,6 +65198,29 @@ export function serializeMailboxProtectionUnitCollectionResponse(writer, mailbox
|
|
|
64539
65198
|
* @param writer Serialization writer to use to serialize this model
|
|
64540
65199
|
*/
|
|
64541
65200
|
// @ts-ignore
|
|
65201
|
+
export function serializeMailboxProtectionUnitsBulkAdditionJob(writer, mailboxProtectionUnitsBulkAdditionJob = {}) {
|
|
65202
|
+
if (mailboxProtectionUnitsBulkAdditionJob) {
|
|
65203
|
+
serializeProtectionUnitsBulkJobBase(writer, mailboxProtectionUnitsBulkAdditionJob);
|
|
65204
|
+
writer.writeCollectionOfPrimitiveValues("directoryObjectIds", mailboxProtectionUnitsBulkAdditionJob.directoryObjectIds);
|
|
65205
|
+
writer.writeCollectionOfPrimitiveValues("mailboxes", mailboxProtectionUnitsBulkAdditionJob.mailboxes);
|
|
65206
|
+
}
|
|
65207
|
+
}
|
|
65208
|
+
/**
|
|
65209
|
+
* Serializes information the current object
|
|
65210
|
+
* @param writer Serialization writer to use to serialize this model
|
|
65211
|
+
*/
|
|
65212
|
+
// @ts-ignore
|
|
65213
|
+
export function serializeMailboxProtectionUnitsBulkAdditionJobCollectionResponse(writer, mailboxProtectionUnitsBulkAdditionJobCollectionResponse = {}) {
|
|
65214
|
+
if (mailboxProtectionUnitsBulkAdditionJobCollectionResponse) {
|
|
65215
|
+
serializeBaseCollectionPaginationCountResponse(writer, mailboxProtectionUnitsBulkAdditionJobCollectionResponse);
|
|
65216
|
+
writer.writeCollectionOfObjectValues("value", mailboxProtectionUnitsBulkAdditionJobCollectionResponse.value, serializeMailboxProtectionUnitsBulkAdditionJob);
|
|
65217
|
+
}
|
|
65218
|
+
}
|
|
65219
|
+
/**
|
|
65220
|
+
* Serializes information the current object
|
|
65221
|
+
* @param writer Serialization writer to use to serialize this model
|
|
65222
|
+
*/
|
|
65223
|
+
// @ts-ignore
|
|
64542
65224
|
export function serializeMailboxRestoreArtifact(writer, mailboxRestoreArtifact = {}) {
|
|
64543
65225
|
if (mailboxRestoreArtifact) {
|
|
64544
65226
|
serializeRestoreArtifactBase(writer, mailboxRestoreArtifact);
|
|
@@ -64561,6 +65243,29 @@ export function serializeMailboxRestoreArtifactCollectionResponse(writer, mailbo
|
|
|
64561
65243
|
* @param writer Serialization writer to use to serialize this model
|
|
64562
65244
|
*/
|
|
64563
65245
|
// @ts-ignore
|
|
65246
|
+
export function serializeMailboxRestoreArtifactsBulkAdditionRequest(writer, mailboxRestoreArtifactsBulkAdditionRequest = {}) {
|
|
65247
|
+
if (mailboxRestoreArtifactsBulkAdditionRequest) {
|
|
65248
|
+
serializeRestoreArtifactsBulkRequestBase(writer, mailboxRestoreArtifactsBulkAdditionRequest);
|
|
65249
|
+
writer.writeCollectionOfPrimitiveValues("directoryObjectIds", mailboxRestoreArtifactsBulkAdditionRequest.directoryObjectIds);
|
|
65250
|
+
writer.writeCollectionOfPrimitiveValues("mailboxes", mailboxRestoreArtifactsBulkAdditionRequest.mailboxes);
|
|
65251
|
+
}
|
|
65252
|
+
}
|
|
65253
|
+
/**
|
|
65254
|
+
* Serializes information the current object
|
|
65255
|
+
* @param writer Serialization writer to use to serialize this model
|
|
65256
|
+
*/
|
|
65257
|
+
// @ts-ignore
|
|
65258
|
+
export function serializeMailboxRestoreArtifactsBulkAdditionRequestCollectionResponse(writer, mailboxRestoreArtifactsBulkAdditionRequestCollectionResponse = {}) {
|
|
65259
|
+
if (mailboxRestoreArtifactsBulkAdditionRequestCollectionResponse) {
|
|
65260
|
+
serializeBaseCollectionPaginationCountResponse(writer, mailboxRestoreArtifactsBulkAdditionRequestCollectionResponse);
|
|
65261
|
+
writer.writeCollectionOfObjectValues("value", mailboxRestoreArtifactsBulkAdditionRequestCollectionResponse.value, serializeMailboxRestoreArtifactsBulkAdditionRequest);
|
|
65262
|
+
}
|
|
65263
|
+
}
|
|
65264
|
+
/**
|
|
65265
|
+
* Serializes information the current object
|
|
65266
|
+
* @param writer Serialization writer to use to serialize this model
|
|
65267
|
+
*/
|
|
65268
|
+
// @ts-ignore
|
|
64564
65269
|
export function serializeMailboxSettings(writer, mailboxSettings = {}) {
|
|
64565
65270
|
if (mailboxSettings) {
|
|
64566
65271
|
writer.writeStringValue("archiveFolder", mailboxSettings.archiveFolder);
|
|
@@ -65525,6 +66230,7 @@ export function serializeMeetingAttendanceReport(writer, meetingAttendanceReport
|
|
|
65525
66230
|
if (meetingAttendanceReport) {
|
|
65526
66231
|
serializeEntity(writer, meetingAttendanceReport);
|
|
65527
66232
|
writer.writeCollectionOfObjectValues("attendanceRecords", meetingAttendanceReport.attendanceRecords, serializeAttendanceRecord);
|
|
66233
|
+
writer.writeCollectionOfObjectValues("externalEventInformation", meetingAttendanceReport.externalEventInformation, serializeVirtualEventExternalInformation);
|
|
65528
66234
|
writer.writeDateValue("meetingEndDateTime", meetingAttendanceReport.meetingEndDateTime);
|
|
65529
66235
|
writer.writeDateValue("meetingStartDateTime", meetingAttendanceReport.meetingStartDateTime);
|
|
65530
66236
|
writer.writeNumberValue("totalParticipantCount", meetingAttendanceReport.totalParticipantCount);
|
|
@@ -66927,6 +67633,94 @@ export function serializeOnAttributeCollectionListener(writer, onAttributeCollec
|
|
|
66927
67633
|
* @param writer Serialization writer to use to serialize this model
|
|
66928
67634
|
*/
|
|
66929
67635
|
// @ts-ignore
|
|
67636
|
+
export function serializeOnAttributeCollectionStartCustomExtension(writer, onAttributeCollectionStartCustomExtension = {}) {
|
|
67637
|
+
if (onAttributeCollectionStartCustomExtension) {
|
|
67638
|
+
serializeCustomAuthenticationExtension(writer, onAttributeCollectionStartCustomExtension);
|
|
67639
|
+
}
|
|
67640
|
+
}
|
|
67641
|
+
/**
|
|
67642
|
+
* Serializes information the current object
|
|
67643
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67644
|
+
*/
|
|
67645
|
+
// @ts-ignore
|
|
67646
|
+
export function serializeOnAttributeCollectionStartCustomExtensionHandler(writer, onAttributeCollectionStartCustomExtensionHandler = {}) {
|
|
67647
|
+
if (onAttributeCollectionStartCustomExtensionHandler) {
|
|
67648
|
+
serializeOnAttributeCollectionStartHandler(writer, onAttributeCollectionStartCustomExtensionHandler);
|
|
67649
|
+
writer.writeObjectValue("configuration", onAttributeCollectionStartCustomExtensionHandler.configuration, serializeCustomExtensionOverwriteConfiguration);
|
|
67650
|
+
writer.writeObjectValue("customExtension", onAttributeCollectionStartCustomExtensionHandler.customExtension, serializeOnAttributeCollectionStartCustomExtension);
|
|
67651
|
+
}
|
|
67652
|
+
}
|
|
67653
|
+
/**
|
|
67654
|
+
* Serializes information the current object
|
|
67655
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67656
|
+
*/
|
|
67657
|
+
// @ts-ignore
|
|
67658
|
+
export function serializeOnAttributeCollectionStartHandler(writer, onAttributeCollectionStartHandler = {}) {
|
|
67659
|
+
if (onAttributeCollectionStartHandler) {
|
|
67660
|
+
writer.writeStringValue("@odata.type", onAttributeCollectionStartHandler.odataType);
|
|
67661
|
+
writer.writeAdditionalData(onAttributeCollectionStartHandler.additionalData);
|
|
67662
|
+
}
|
|
67663
|
+
}
|
|
67664
|
+
/**
|
|
67665
|
+
* Serializes information the current object
|
|
67666
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67667
|
+
*/
|
|
67668
|
+
// @ts-ignore
|
|
67669
|
+
export function serializeOnAttributeCollectionStartListener(writer, onAttributeCollectionStartListener = {}) {
|
|
67670
|
+
if (onAttributeCollectionStartListener) {
|
|
67671
|
+
serializeAuthenticationEventListener(writer, onAttributeCollectionStartListener);
|
|
67672
|
+
writer.writeObjectValue("handler", onAttributeCollectionStartListener.handler, serializeOnAttributeCollectionStartHandler);
|
|
67673
|
+
}
|
|
67674
|
+
}
|
|
67675
|
+
/**
|
|
67676
|
+
* Serializes information the current object
|
|
67677
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67678
|
+
*/
|
|
67679
|
+
// @ts-ignore
|
|
67680
|
+
export function serializeOnAttributeCollectionSubmitCustomExtension(writer, onAttributeCollectionSubmitCustomExtension = {}) {
|
|
67681
|
+
if (onAttributeCollectionSubmitCustomExtension) {
|
|
67682
|
+
serializeCustomAuthenticationExtension(writer, onAttributeCollectionSubmitCustomExtension);
|
|
67683
|
+
}
|
|
67684
|
+
}
|
|
67685
|
+
/**
|
|
67686
|
+
* Serializes information the current object
|
|
67687
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67688
|
+
*/
|
|
67689
|
+
// @ts-ignore
|
|
67690
|
+
export function serializeOnAttributeCollectionSubmitCustomExtensionHandler(writer, onAttributeCollectionSubmitCustomExtensionHandler = {}) {
|
|
67691
|
+
if (onAttributeCollectionSubmitCustomExtensionHandler) {
|
|
67692
|
+
serializeOnAttributeCollectionSubmitHandler(writer, onAttributeCollectionSubmitCustomExtensionHandler);
|
|
67693
|
+
writer.writeObjectValue("configuration", onAttributeCollectionSubmitCustomExtensionHandler.configuration, serializeCustomExtensionOverwriteConfiguration);
|
|
67694
|
+
writer.writeObjectValue("customExtension", onAttributeCollectionSubmitCustomExtensionHandler.customExtension, serializeOnAttributeCollectionSubmitCustomExtension);
|
|
67695
|
+
}
|
|
67696
|
+
}
|
|
67697
|
+
/**
|
|
67698
|
+
* Serializes information the current object
|
|
67699
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67700
|
+
*/
|
|
67701
|
+
// @ts-ignore
|
|
67702
|
+
export function serializeOnAttributeCollectionSubmitHandler(writer, onAttributeCollectionSubmitHandler = {}) {
|
|
67703
|
+
if (onAttributeCollectionSubmitHandler) {
|
|
67704
|
+
writer.writeStringValue("@odata.type", onAttributeCollectionSubmitHandler.odataType);
|
|
67705
|
+
writer.writeAdditionalData(onAttributeCollectionSubmitHandler.additionalData);
|
|
67706
|
+
}
|
|
67707
|
+
}
|
|
67708
|
+
/**
|
|
67709
|
+
* Serializes information the current object
|
|
67710
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67711
|
+
*/
|
|
67712
|
+
// @ts-ignore
|
|
67713
|
+
export function serializeOnAttributeCollectionSubmitListener(writer, onAttributeCollectionSubmitListener = {}) {
|
|
67714
|
+
if (onAttributeCollectionSubmitListener) {
|
|
67715
|
+
serializeAuthenticationEventListener(writer, onAttributeCollectionSubmitListener);
|
|
67716
|
+
writer.writeObjectValue("handler", onAttributeCollectionSubmitListener.handler, serializeOnAttributeCollectionSubmitHandler);
|
|
67717
|
+
}
|
|
67718
|
+
}
|
|
67719
|
+
/**
|
|
67720
|
+
* Serializes information the current object
|
|
67721
|
+
* @param writer Serialization writer to use to serialize this model
|
|
67722
|
+
*/
|
|
67723
|
+
// @ts-ignore
|
|
66930
67724
|
export function serializeOnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp(writer, onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp = {}) {
|
|
66931
67725
|
if (onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp) {
|
|
66932
67726
|
serializeOnAuthenticationMethodLoadStartHandler(writer, onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp);
|
|
@@ -66965,6 +67759,7 @@ export function serializeOneDriveForBusinessProtectionPolicy(writer, oneDriveFor
|
|
|
66965
67759
|
serializeProtectionPolicyBase(writer, oneDriveForBusinessProtectionPolicy);
|
|
66966
67760
|
writer.writeCollectionOfObjectValues("driveInclusionRules", oneDriveForBusinessProtectionPolicy.driveInclusionRules, serializeDriveProtectionRule);
|
|
66967
67761
|
writer.writeCollectionOfObjectValues("driveProtectionUnits", oneDriveForBusinessProtectionPolicy.driveProtectionUnits, serializeDriveProtectionUnit);
|
|
67762
|
+
writer.writeCollectionOfObjectValues("driveProtectionUnitsBulkAdditionJobs", oneDriveForBusinessProtectionPolicy.driveProtectionUnitsBulkAdditionJobs, serializeDriveProtectionUnitsBulkAdditionJob);
|
|
66968
67763
|
}
|
|
66969
67764
|
}
|
|
66970
67765
|
/**
|
|
@@ -66987,6 +67782,7 @@ export function serializeOneDriveForBusinessRestoreSession(writer, oneDriveForBu
|
|
|
66987
67782
|
if (oneDriveForBusinessRestoreSession) {
|
|
66988
67783
|
serializeRestoreSessionBase(writer, oneDriveForBusinessRestoreSession);
|
|
66989
67784
|
writer.writeCollectionOfObjectValues("driveRestoreArtifacts", oneDriveForBusinessRestoreSession.driveRestoreArtifacts, serializeDriveRestoreArtifact);
|
|
67785
|
+
writer.writeCollectionOfObjectValues("driveRestoreArtifactsBulkAdditionRequests", oneDriveForBusinessRestoreSession.driveRestoreArtifactsBulkAdditionRequests, serializeDriveRestoreArtifactsBulkAdditionRequest);
|
|
66990
67786
|
}
|
|
66991
67787
|
}
|
|
66992
67788
|
/**
|
|
@@ -68963,6 +69759,32 @@ export function serializePlannerUserIds(writer, plannerUserIds = {}) {
|
|
|
68963
69759
|
* @param writer Serialization writer to use to serialize this model
|
|
68964
69760
|
*/
|
|
68965
69761
|
// @ts-ignore
|
|
69762
|
+
export function serializePlatformCredentialAuthenticationMethod(writer, platformCredentialAuthenticationMethod = {}) {
|
|
69763
|
+
if (platformCredentialAuthenticationMethod) {
|
|
69764
|
+
serializeAuthenticationMethod(writer, platformCredentialAuthenticationMethod);
|
|
69765
|
+
writer.writeDateValue("createdDateTime", platformCredentialAuthenticationMethod.createdDateTime);
|
|
69766
|
+
writer.writeObjectValue("device", platformCredentialAuthenticationMethod.device, serializeDevice);
|
|
69767
|
+
writer.writeStringValue("displayName", platformCredentialAuthenticationMethod.displayName);
|
|
69768
|
+
writer.writeEnumValue("keyStrength", platformCredentialAuthenticationMethod.keyStrength);
|
|
69769
|
+
writer.writeEnumValue("platform", platformCredentialAuthenticationMethod.platform);
|
|
69770
|
+
}
|
|
69771
|
+
}
|
|
69772
|
+
/**
|
|
69773
|
+
* Serializes information the current object
|
|
69774
|
+
* @param writer Serialization writer to use to serialize this model
|
|
69775
|
+
*/
|
|
69776
|
+
// @ts-ignore
|
|
69777
|
+
export function serializePlatformCredentialAuthenticationMethodCollectionResponse(writer, platformCredentialAuthenticationMethodCollectionResponse = {}) {
|
|
69778
|
+
if (platformCredentialAuthenticationMethodCollectionResponse) {
|
|
69779
|
+
serializeBaseCollectionPaginationCountResponse(writer, platformCredentialAuthenticationMethodCollectionResponse);
|
|
69780
|
+
writer.writeCollectionOfObjectValues("value", platformCredentialAuthenticationMethodCollectionResponse.value, serializePlatformCredentialAuthenticationMethod);
|
|
69781
|
+
}
|
|
69782
|
+
}
|
|
69783
|
+
/**
|
|
69784
|
+
* Serializes information the current object
|
|
69785
|
+
* @param writer Serialization writer to use to serialize this model
|
|
69786
|
+
*/
|
|
69787
|
+
// @ts-ignore
|
|
68966
69788
|
export function serializePlayPromptOperation(writer, playPromptOperation = {}) {
|
|
68967
69789
|
if (playPromptOperation) {
|
|
68968
69790
|
serializeCommsOperation(writer, playPromptOperation);
|
|
@@ -70241,6 +71063,23 @@ export function serializeProtectionUnitBaseCollectionResponse(writer, protection
|
|
|
70241
71063
|
* @param writer Serialization writer to use to serialize this model
|
|
70242
71064
|
*/
|
|
70243
71065
|
// @ts-ignore
|
|
71066
|
+
export function serializeProtectionUnitsBulkJobBase(writer, protectionUnitsBulkJobBase = {}) {
|
|
71067
|
+
if (protectionUnitsBulkJobBase) {
|
|
71068
|
+
serializeEntity(writer, protectionUnitsBulkJobBase);
|
|
71069
|
+
writer.writeObjectValue("createdBy", protectionUnitsBulkJobBase.createdBy, serializeIdentitySet);
|
|
71070
|
+
writer.writeDateValue("createdDateTime", protectionUnitsBulkJobBase.createdDateTime);
|
|
71071
|
+
writer.writeStringValue("displayName", protectionUnitsBulkJobBase.displayName);
|
|
71072
|
+
writer.writeObjectValue("error", protectionUnitsBulkJobBase.errorEscaped, serializePublicError);
|
|
71073
|
+
writer.writeObjectValue("lastModifiedBy", protectionUnitsBulkJobBase.lastModifiedBy, serializeIdentitySet);
|
|
71074
|
+
writer.writeDateValue("lastModifiedDateTime", protectionUnitsBulkJobBase.lastModifiedDateTime);
|
|
71075
|
+
writer.writeEnumValue("status", protectionUnitsBulkJobBase.status);
|
|
71076
|
+
}
|
|
71077
|
+
}
|
|
71078
|
+
/**
|
|
71079
|
+
* Serializes information the current object
|
|
71080
|
+
* @param writer Serialization writer to use to serialize this model
|
|
71081
|
+
*/
|
|
71082
|
+
// @ts-ignore
|
|
70244
71083
|
export function serializeProvisionChannelEmailResult(writer, provisionChannelEmailResult = {}) {
|
|
70245
71084
|
if (provisionChannelEmailResult) {
|
|
70246
71085
|
writer.writeStringValue("email", provisionChannelEmailResult.email);
|
|
@@ -71201,6 +72040,28 @@ export function serializeRestoreArtifactBase(writer, restoreArtifactBase = {}) {
|
|
|
71201
72040
|
* @param writer Serialization writer to use to serialize this model
|
|
71202
72041
|
*/
|
|
71203
72042
|
// @ts-ignore
|
|
72043
|
+
export function serializeRestoreArtifactsBulkRequestBase(writer, restoreArtifactsBulkRequestBase = {}) {
|
|
72044
|
+
if (restoreArtifactsBulkRequestBase) {
|
|
72045
|
+
serializeEntity(writer, restoreArtifactsBulkRequestBase);
|
|
72046
|
+
writer.writeObjectValue("createdBy", restoreArtifactsBulkRequestBase.createdBy, serializeIdentitySet);
|
|
72047
|
+
writer.writeDateValue("createdDateTime", restoreArtifactsBulkRequestBase.createdDateTime);
|
|
72048
|
+
writer.writeEnumValue("destinationType", restoreArtifactsBulkRequestBase.destinationType);
|
|
72049
|
+
writer.writeStringValue("displayName", restoreArtifactsBulkRequestBase.displayName);
|
|
72050
|
+
writer.writeObjectValue("error", restoreArtifactsBulkRequestBase.errorEscaped, serializePublicError);
|
|
72051
|
+
writer.writeObjectValue("lastModifiedBy", restoreArtifactsBulkRequestBase.lastModifiedBy, serializeIdentitySet);
|
|
72052
|
+
writer.writeDateValue("lastModifiedDateTime", restoreArtifactsBulkRequestBase.lastModifiedDateTime);
|
|
72053
|
+
writer.writeObjectValue("protectionTimePeriod", restoreArtifactsBulkRequestBase.protectionTimePeriod, serializeTimePeriod);
|
|
72054
|
+
writer.writeCollectionOfPrimitiveValues("protectionUnitIds", restoreArtifactsBulkRequestBase.protectionUnitIds);
|
|
72055
|
+
writer.writeEnumValue("restorePointPreference", restoreArtifactsBulkRequestBase.restorePointPreference);
|
|
72056
|
+
writer.writeEnumValue("status", restoreArtifactsBulkRequestBase.status);
|
|
72057
|
+
writer.writeEnumValue("tags", restoreArtifactsBulkRequestBase.tags);
|
|
72058
|
+
}
|
|
72059
|
+
}
|
|
72060
|
+
/**
|
|
72061
|
+
* Serializes information the current object
|
|
72062
|
+
* @param writer Serialization writer to use to serialize this model
|
|
72063
|
+
*/
|
|
72064
|
+
// @ts-ignore
|
|
71204
72065
|
export function serializeRestorePoint(writer, restorePoint = {}) {
|
|
71205
72066
|
if (restorePoint) {
|
|
71206
72067
|
serializeEntity(writer, restorePoint);
|
|
@@ -73139,6 +74000,7 @@ export function serializeSharePointProtectionPolicy(writer, sharePointProtection
|
|
|
73139
74000
|
serializeProtectionPolicyBase(writer, sharePointProtectionPolicy);
|
|
73140
74001
|
writer.writeCollectionOfObjectValues("siteInclusionRules", sharePointProtectionPolicy.siteInclusionRules, serializeSiteProtectionRule);
|
|
73141
74002
|
writer.writeCollectionOfObjectValues("siteProtectionUnits", sharePointProtectionPolicy.siteProtectionUnits, serializeSiteProtectionUnit);
|
|
74003
|
+
writer.writeCollectionOfObjectValues("siteProtectionUnitsBulkAdditionJobs", sharePointProtectionPolicy.siteProtectionUnitsBulkAdditionJobs, serializeSiteProtectionUnitsBulkAdditionJob);
|
|
73142
74004
|
}
|
|
73143
74005
|
}
|
|
73144
74006
|
/**
|
|
@@ -73161,6 +74023,7 @@ export function serializeSharePointRestoreSession(writer, sharePointRestoreSessi
|
|
|
73161
74023
|
if (sharePointRestoreSession) {
|
|
73162
74024
|
serializeRestoreSessionBase(writer, sharePointRestoreSession);
|
|
73163
74025
|
writer.writeCollectionOfObjectValues("siteRestoreArtifacts", sharePointRestoreSession.siteRestoreArtifacts, serializeSiteRestoreArtifact);
|
|
74026
|
+
writer.writeCollectionOfObjectValues("siteRestoreArtifactsBulkAdditionRequests", sharePointRestoreSession.siteRestoreArtifactsBulkAdditionRequests, serializeSiteRestoreArtifactsBulkAdditionRequest);
|
|
73164
74027
|
}
|
|
73165
74028
|
}
|
|
73166
74029
|
/**
|
|
@@ -73807,6 +74670,29 @@ export function serializeSiteProtectionUnitCollectionResponse(writer, siteProtec
|
|
|
73807
74670
|
* @param writer Serialization writer to use to serialize this model
|
|
73808
74671
|
*/
|
|
73809
74672
|
// @ts-ignore
|
|
74673
|
+
export function serializeSiteProtectionUnitsBulkAdditionJob(writer, siteProtectionUnitsBulkAdditionJob = {}) {
|
|
74674
|
+
if (siteProtectionUnitsBulkAdditionJob) {
|
|
74675
|
+
serializeProtectionUnitsBulkJobBase(writer, siteProtectionUnitsBulkAdditionJob);
|
|
74676
|
+
writer.writeCollectionOfPrimitiveValues("siteIds", siteProtectionUnitsBulkAdditionJob.siteIds);
|
|
74677
|
+
writer.writeCollectionOfPrimitiveValues("siteWebUrls", siteProtectionUnitsBulkAdditionJob.siteWebUrls);
|
|
74678
|
+
}
|
|
74679
|
+
}
|
|
74680
|
+
/**
|
|
74681
|
+
* Serializes information the current object
|
|
74682
|
+
* @param writer Serialization writer to use to serialize this model
|
|
74683
|
+
*/
|
|
74684
|
+
// @ts-ignore
|
|
74685
|
+
export function serializeSiteProtectionUnitsBulkAdditionJobCollectionResponse(writer, siteProtectionUnitsBulkAdditionJobCollectionResponse = {}) {
|
|
74686
|
+
if (siteProtectionUnitsBulkAdditionJobCollectionResponse) {
|
|
74687
|
+
serializeBaseCollectionPaginationCountResponse(writer, siteProtectionUnitsBulkAdditionJobCollectionResponse);
|
|
74688
|
+
writer.writeCollectionOfObjectValues("value", siteProtectionUnitsBulkAdditionJobCollectionResponse.value, serializeSiteProtectionUnitsBulkAdditionJob);
|
|
74689
|
+
}
|
|
74690
|
+
}
|
|
74691
|
+
/**
|
|
74692
|
+
* Serializes information the current object
|
|
74693
|
+
* @param writer Serialization writer to use to serialize this model
|
|
74694
|
+
*/
|
|
74695
|
+
// @ts-ignore
|
|
73810
74696
|
export function serializeSiteRestoreArtifact(writer, siteRestoreArtifact = {}) {
|
|
73811
74697
|
if (siteRestoreArtifact) {
|
|
73812
74698
|
serializeRestoreArtifactBase(writer, siteRestoreArtifact);
|
|
@@ -73829,6 +74715,29 @@ export function serializeSiteRestoreArtifactCollectionResponse(writer, siteResto
|
|
|
73829
74715
|
* @param writer Serialization writer to use to serialize this model
|
|
73830
74716
|
*/
|
|
73831
74717
|
// @ts-ignore
|
|
74718
|
+
export function serializeSiteRestoreArtifactsBulkAdditionRequest(writer, siteRestoreArtifactsBulkAdditionRequest = {}) {
|
|
74719
|
+
if (siteRestoreArtifactsBulkAdditionRequest) {
|
|
74720
|
+
serializeRestoreArtifactsBulkRequestBase(writer, siteRestoreArtifactsBulkAdditionRequest);
|
|
74721
|
+
writer.writeCollectionOfPrimitiveValues("siteIds", siteRestoreArtifactsBulkAdditionRequest.siteIds);
|
|
74722
|
+
writer.writeCollectionOfPrimitiveValues("siteWebUrls", siteRestoreArtifactsBulkAdditionRequest.siteWebUrls);
|
|
74723
|
+
}
|
|
74724
|
+
}
|
|
74725
|
+
/**
|
|
74726
|
+
* Serializes information the current object
|
|
74727
|
+
* @param writer Serialization writer to use to serialize this model
|
|
74728
|
+
*/
|
|
74729
|
+
// @ts-ignore
|
|
74730
|
+
export function serializeSiteRestoreArtifactsBulkAdditionRequestCollectionResponse(writer, siteRestoreArtifactsBulkAdditionRequestCollectionResponse = {}) {
|
|
74731
|
+
if (siteRestoreArtifactsBulkAdditionRequestCollectionResponse) {
|
|
74732
|
+
serializeBaseCollectionPaginationCountResponse(writer, siteRestoreArtifactsBulkAdditionRequestCollectionResponse);
|
|
74733
|
+
writer.writeCollectionOfObjectValues("value", siteRestoreArtifactsBulkAdditionRequestCollectionResponse.value, serializeSiteRestoreArtifactsBulkAdditionRequest);
|
|
74734
|
+
}
|
|
74735
|
+
}
|
|
74736
|
+
/**
|
|
74737
|
+
* Serializes information the current object
|
|
74738
|
+
* @param writer Serialization writer to use to serialize this model
|
|
74739
|
+
*/
|
|
74740
|
+
// @ts-ignore
|
|
73832
74741
|
export function serializeSizeRange(writer, sizeRange = {}) {
|
|
73833
74742
|
if (sizeRange) {
|
|
73834
74743
|
writer.writeNumberValue("maximumSize", sizeRange.maximumSize);
|
|
@@ -82460,6 +83369,15 @@ export const AuthenticationMethodModesObject = {
|
|
|
82460
83369
|
FederatedMultiFactor: "federatedMultiFactor",
|
|
82461
83370
|
UnknownFutureValue: "unknownFutureValue",
|
|
82462
83371
|
};
|
|
83372
|
+
export const AuthenticationMethodPlatformObject = {
|
|
83373
|
+
Unknown: "unknown",
|
|
83374
|
+
Windows: "windows",
|
|
83375
|
+
MacOS: "macOS",
|
|
83376
|
+
IOS: "iOS",
|
|
83377
|
+
Android: "android",
|
|
83378
|
+
Linux: "linux",
|
|
83379
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
83380
|
+
};
|
|
82463
83381
|
export const AuthenticationMethodSignInStateObject = {
|
|
82464
83382
|
NotSupported: "notSupported",
|
|
82465
83383
|
NotAllowedByPolicy: "notAllowedByPolicy",
|
|
@@ -86238,6 +87156,13 @@ export const ProtectionRuleStatusObject = {
|
|
|
86238
87156
|
CompletedWithErrors: "completedWithErrors",
|
|
86239
87157
|
UnknownFutureValue: "unknownFutureValue",
|
|
86240
87158
|
};
|
|
87159
|
+
export const ProtectionUnitsBulkJobStatusObject = {
|
|
87160
|
+
Unknown: "unknown",
|
|
87161
|
+
Active: "active",
|
|
87162
|
+
Completed: "completed",
|
|
87163
|
+
CompletedWithErrors: "completedWithErrors",
|
|
87164
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
87165
|
+
};
|
|
86241
87166
|
export const ProtectionUnitStatusObject = {
|
|
86242
87167
|
ProtectRequested: "protectRequested",
|
|
86243
87168
|
Protected: "protected",
|
|
@@ -86746,6 +87671,13 @@ export const RestorableArtifactObject = {
|
|
|
86746
87671
|
Message: "message",
|
|
86747
87672
|
UnknownFutureValue: "unknownFutureValue",
|
|
86748
87673
|
};
|
|
87674
|
+
export const RestoreArtifactsBulkRequestStatusObject = {
|
|
87675
|
+
Unknown: "unknown",
|
|
87676
|
+
Active: "active",
|
|
87677
|
+
Completed: "completed",
|
|
87678
|
+
CompletedWithErrors: "completedWithErrors",
|
|
87679
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
87680
|
+
};
|
|
86749
87681
|
export const RestorePointPreferenceObject = {
|
|
86750
87682
|
Latest: "latest",
|
|
86751
87683
|
Oldest: "oldest",
|