@microsoft/msgraph-sdk 1.0.0-preview.62 → 1.0.0-preview.63
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/callRecords/index.d.ts +112 -80
- package/models/callRecords/index.d.ts.map +1 -1
- package/models/callRecords/index.js +419 -283
- package/models/callRecords/index.js.map +1 -1
- package/models/externalConnectors/index.d.ts +108 -75
- package/models/externalConnectors/index.d.ts.map +1 -1
- package/models/externalConnectors/index.js +274 -156
- package/models/externalConnectors/index.js.map +1 -1
- package/models/identityGovernance/index.d.ts +180 -93
- package/models/identityGovernance/index.d.ts.map +1 -1
- package/models/identityGovernance/index.js +532 -325
- package/models/identityGovernance/index.js.map +1 -1
- package/models/index.d.ts +10884 -5286
- package/models/index.d.ts.map +1 -1
- package/models/index.js +33874 -17260
- package/models/index.js.map +1 -1
- package/models/oDataErrors/index.d.ts +16 -20
- package/models/oDataErrors/index.d.ts.map +1 -1
- package/models/oDataErrors/index.js +41 -25
- package/models/oDataErrors/index.js.map +1 -1
- package/models/partners/billing/index.d.ts +60 -19
- package/models/partners/billing/index.d.ts.map +1 -1
- package/models/partners/billing/index.js +144 -73
- package/models/partners/billing/index.js.map +1 -1
- package/models/search/index.d.ts +44 -27
- package/models/search/index.d.ts.map +1 -1
- package/models/search/index.js +137 -82
- package/models/search/index.js.map +1 -1
- package/models/security/index.d.ts +844 -367
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +2727 -1571
- package/models/security/index.js.map +1 -1
- package/models/termStore/index.d.ts +52 -25
- package/models/termStore/index.d.ts.map +1 -1
- package/models/termStore/index.js +136 -84
- package/models/termStore/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
|
@@ -454,6 +454,7 @@ export function createWorkflowVersionFromDiscriminatorValue(parseNode) {
|
|
|
454
454
|
}
|
|
455
455
|
/**
|
|
456
456
|
* The deserialization information for the current model
|
|
457
|
+
* @param AttributeChangeTrigger The instance to deserialize into.
|
|
457
458
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
458
459
|
*/
|
|
459
460
|
// @ts-ignore
|
|
@@ -462,6 +463,7 @@ export function deserializeIntoAttributeChangeTrigger(attributeChangeTrigger = {
|
|
|
462
463
|
}
|
|
463
464
|
/**
|
|
464
465
|
* The deserialization information for the current model
|
|
466
|
+
* @param CustomTaskExtension The instance to deserialize into.
|
|
465
467
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
466
468
|
*/
|
|
467
469
|
// @ts-ignore
|
|
@@ -470,6 +472,7 @@ export function deserializeIntoCustomTaskExtension(customTaskExtension = {}) {
|
|
|
470
472
|
}
|
|
471
473
|
/**
|
|
472
474
|
* The deserialization information for the current model
|
|
475
|
+
* @param CustomTaskExtensionCallbackConfiguration The instance to deserialize into.
|
|
473
476
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
474
477
|
*/
|
|
475
478
|
// @ts-ignore
|
|
@@ -478,6 +481,7 @@ export function deserializeIntoCustomTaskExtensionCallbackConfiguration(customTa
|
|
|
478
481
|
}
|
|
479
482
|
/**
|
|
480
483
|
* The deserialization information for the current model
|
|
484
|
+
* @param CustomTaskExtensionCallbackData The instance to deserialize into.
|
|
481
485
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
482
486
|
*/
|
|
483
487
|
// @ts-ignore
|
|
@@ -486,6 +490,7 @@ export function deserializeIntoCustomTaskExtensionCallbackData(customTaskExtensi
|
|
|
486
490
|
}
|
|
487
491
|
/**
|
|
488
492
|
* The deserialization information for the current model
|
|
493
|
+
* @param CustomTaskExtensionCalloutData The instance to deserialize into.
|
|
489
494
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
490
495
|
*/
|
|
491
496
|
// @ts-ignore
|
|
@@ -494,6 +499,7 @@ export function deserializeIntoCustomTaskExtensionCalloutData(customTaskExtensio
|
|
|
494
499
|
}
|
|
495
500
|
/**
|
|
496
501
|
* The deserialization information for the current model
|
|
502
|
+
* @param CustomTaskExtensionCollectionResponse The instance to deserialize into.
|
|
497
503
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
498
504
|
*/
|
|
499
505
|
// @ts-ignore
|
|
@@ -502,6 +508,7 @@ export function deserializeIntoCustomTaskExtensionCollectionResponse(customTaskE
|
|
|
502
508
|
}
|
|
503
509
|
/**
|
|
504
510
|
* The deserialization information for the current model
|
|
511
|
+
* @param GroupBasedSubjectSet The instance to deserialize into.
|
|
505
512
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
506
513
|
*/
|
|
507
514
|
// @ts-ignore
|
|
@@ -510,6 +517,7 @@ export function deserializeIntoGroupBasedSubjectSet(groupBasedSubjectSet = {}) {
|
|
|
510
517
|
}
|
|
511
518
|
/**
|
|
512
519
|
* The deserialization information for the current model
|
|
520
|
+
* @param Insights The instance to deserialize into.
|
|
513
521
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
514
522
|
*/
|
|
515
523
|
// @ts-ignore
|
|
@@ -518,6 +526,7 @@ export function deserializeIntoInsights(insights = {}) {
|
|
|
518
526
|
}
|
|
519
527
|
/**
|
|
520
528
|
* The deserialization information for the current model
|
|
529
|
+
* @param LifecycleManagementSettings The instance to deserialize into.
|
|
521
530
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
522
531
|
*/
|
|
523
532
|
// @ts-ignore
|
|
@@ -526,6 +535,7 @@ export function deserializeIntoLifecycleManagementSettings(lifecycleManagementSe
|
|
|
526
535
|
}
|
|
527
536
|
/**
|
|
528
537
|
* The deserialization information for the current model
|
|
538
|
+
* @param LifecycleWorkflowsContainer The instance to deserialize into.
|
|
529
539
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
530
540
|
*/
|
|
531
541
|
// @ts-ignore
|
|
@@ -534,6 +544,7 @@ export function deserializeIntoLifecycleWorkflowsContainer(lifecycleWorkflowsCon
|
|
|
534
544
|
}
|
|
535
545
|
/**
|
|
536
546
|
* The deserialization information for the current model
|
|
547
|
+
* @param MembershipChangeTrigger The instance to deserialize into.
|
|
537
548
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
538
549
|
*/
|
|
539
550
|
// @ts-ignore
|
|
@@ -542,6 +553,7 @@ export function deserializeIntoMembershipChangeTrigger(membershipChangeTrigger =
|
|
|
542
553
|
}
|
|
543
554
|
/**
|
|
544
555
|
* The deserialization information for the current model
|
|
556
|
+
* @param OnDemandExecutionOnly The instance to deserialize into.
|
|
545
557
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
546
558
|
*/
|
|
547
559
|
// @ts-ignore
|
|
@@ -550,6 +562,7 @@ export function deserializeIntoOnDemandExecutionOnly(onDemandExecutionOnly = {})
|
|
|
550
562
|
}
|
|
551
563
|
/**
|
|
552
564
|
* The deserialization information for the current model
|
|
565
|
+
* @param Parameter The instance to deserialize into.
|
|
553
566
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
554
567
|
*/
|
|
555
568
|
// @ts-ignore
|
|
@@ -564,6 +577,7 @@ export function deserializeIntoParameter(parameter = {}) {
|
|
|
564
577
|
}
|
|
565
578
|
/**
|
|
566
579
|
* The deserialization information for the current model
|
|
580
|
+
* @param RuleBasedSubjectSet The instance to deserialize into.
|
|
567
581
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
568
582
|
*/
|
|
569
583
|
// @ts-ignore
|
|
@@ -572,6 +586,7 @@ export function deserializeIntoRuleBasedSubjectSet(ruleBasedSubjectSet = {}) {
|
|
|
572
586
|
}
|
|
573
587
|
/**
|
|
574
588
|
* The deserialization information for the current model
|
|
589
|
+
* @param Run The instance to deserialize into.
|
|
575
590
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
576
591
|
*/
|
|
577
592
|
// @ts-ignore
|
|
@@ -580,6 +595,7 @@ export function deserializeIntoRun(run = {}) {
|
|
|
580
595
|
}
|
|
581
596
|
/**
|
|
582
597
|
* The deserialization information for the current model
|
|
598
|
+
* @param RunCollectionResponse The instance to deserialize into.
|
|
583
599
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
584
600
|
*/
|
|
585
601
|
// @ts-ignore
|
|
@@ -588,6 +604,7 @@ export function deserializeIntoRunCollectionResponse(runCollectionResponse = {})
|
|
|
588
604
|
}
|
|
589
605
|
/**
|
|
590
606
|
* The deserialization information for the current model
|
|
607
|
+
* @param RunSummary The instance to deserialize into.
|
|
591
608
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
592
609
|
*/
|
|
593
610
|
// @ts-ignore
|
|
@@ -605,6 +622,7 @@ export function deserializeIntoRunSummary(runSummary = {}) {
|
|
|
605
622
|
}
|
|
606
623
|
/**
|
|
607
624
|
* The deserialization information for the current model
|
|
625
|
+
* @param Task The instance to deserialize into.
|
|
608
626
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
609
627
|
*/
|
|
610
628
|
// @ts-ignore
|
|
@@ -613,6 +631,7 @@ export function deserializeIntoTask(task = {}) {
|
|
|
613
631
|
}
|
|
614
632
|
/**
|
|
615
633
|
* The deserialization information for the current model
|
|
634
|
+
* @param TaskCollectionResponse The instance to deserialize into.
|
|
616
635
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
617
636
|
*/
|
|
618
637
|
// @ts-ignore
|
|
@@ -621,6 +640,7 @@ export function deserializeIntoTaskCollectionResponse(taskCollectionResponse = {
|
|
|
621
640
|
}
|
|
622
641
|
/**
|
|
623
642
|
* The deserialization information for the current model
|
|
643
|
+
* @param TaskDefinition The instance to deserialize into.
|
|
624
644
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
625
645
|
*/
|
|
626
646
|
// @ts-ignore
|
|
@@ -629,6 +649,7 @@ export function deserializeIntoTaskDefinition(taskDefinition = {}) {
|
|
|
629
649
|
}
|
|
630
650
|
/**
|
|
631
651
|
* The deserialization information for the current model
|
|
652
|
+
* @param TaskDefinitionCollectionResponse The instance to deserialize into.
|
|
632
653
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
633
654
|
*/
|
|
634
655
|
// @ts-ignore
|
|
@@ -637,6 +658,7 @@ export function deserializeIntoTaskDefinitionCollectionResponse(taskDefinitionCo
|
|
|
637
658
|
}
|
|
638
659
|
/**
|
|
639
660
|
* The deserialization information for the current model
|
|
661
|
+
* @param TaskProcessingResult The instance to deserialize into.
|
|
640
662
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
641
663
|
*/
|
|
642
664
|
// @ts-ignore
|
|
@@ -645,6 +667,7 @@ export function deserializeIntoTaskProcessingResult(taskProcessingResult = {}) {
|
|
|
645
667
|
}
|
|
646
668
|
/**
|
|
647
669
|
* The deserialization information for the current model
|
|
670
|
+
* @param TaskProcessingResultCollectionResponse The instance to deserialize into.
|
|
648
671
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
649
672
|
*/
|
|
650
673
|
// @ts-ignore
|
|
@@ -653,6 +676,7 @@ export function deserializeIntoTaskProcessingResultCollectionResponse(taskProces
|
|
|
653
676
|
}
|
|
654
677
|
/**
|
|
655
678
|
* The deserialization information for the current model
|
|
679
|
+
* @param TaskReport The instance to deserialize into.
|
|
656
680
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
657
681
|
*/
|
|
658
682
|
// @ts-ignore
|
|
@@ -661,6 +685,7 @@ export function deserializeIntoTaskReport(taskReport = {}) {
|
|
|
661
685
|
}
|
|
662
686
|
/**
|
|
663
687
|
* The deserialization information for the current model
|
|
688
|
+
* @param TaskReportCollectionResponse The instance to deserialize into.
|
|
664
689
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
665
690
|
*/
|
|
666
691
|
// @ts-ignore
|
|
@@ -669,6 +694,7 @@ export function deserializeIntoTaskReportCollectionResponse(taskReportCollection
|
|
|
669
694
|
}
|
|
670
695
|
/**
|
|
671
696
|
* The deserialization information for the current model
|
|
697
|
+
* @param TaskReportSummary The instance to deserialize into.
|
|
672
698
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
673
699
|
*/
|
|
674
700
|
// @ts-ignore
|
|
@@ -684,6 +710,7 @@ export function deserializeIntoTaskReportSummary(taskReportSummary = {}) {
|
|
|
684
710
|
}
|
|
685
711
|
/**
|
|
686
712
|
* The deserialization information for the current model
|
|
713
|
+
* @param TimeBasedAttributeTrigger The instance to deserialize into.
|
|
687
714
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
688
715
|
*/
|
|
689
716
|
// @ts-ignore
|
|
@@ -692,6 +719,7 @@ export function deserializeIntoTimeBasedAttributeTrigger(timeBasedAttributeTrigg
|
|
|
692
719
|
}
|
|
693
720
|
/**
|
|
694
721
|
* The deserialization information for the current model
|
|
722
|
+
* @param TopTasksInsightsSummary The instance to deserialize into.
|
|
695
723
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
696
724
|
*/
|
|
697
725
|
// @ts-ignore
|
|
@@ -711,6 +739,7 @@ export function deserializeIntoTopTasksInsightsSummary(topTasksInsightsSummary =
|
|
|
711
739
|
}
|
|
712
740
|
/**
|
|
713
741
|
* The deserialization information for the current model
|
|
742
|
+
* @param TopWorkflowsInsightsSummary The instance to deserialize into.
|
|
714
743
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
715
744
|
*/
|
|
716
745
|
// @ts-ignore
|
|
@@ -732,6 +761,7 @@ export function deserializeIntoTopWorkflowsInsightsSummary(topWorkflowsInsightsS
|
|
|
732
761
|
}
|
|
733
762
|
/**
|
|
734
763
|
* The deserialization information for the current model
|
|
764
|
+
* @param TriggerAndScopeBasedConditions The instance to deserialize into.
|
|
735
765
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
736
766
|
*/
|
|
737
767
|
// @ts-ignore
|
|
@@ -740,6 +770,7 @@ export function deserializeIntoTriggerAndScopeBasedConditions(triggerAndScopeBas
|
|
|
740
770
|
}
|
|
741
771
|
/**
|
|
742
772
|
* The deserialization information for the current model
|
|
773
|
+
* @param TriggerAttribute The instance to deserialize into.
|
|
743
774
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
744
775
|
*/
|
|
745
776
|
// @ts-ignore
|
|
@@ -752,6 +783,7 @@ export function deserializeIntoTriggerAttribute(triggerAttribute = {}) {
|
|
|
752
783
|
}
|
|
753
784
|
/**
|
|
754
785
|
* The deserialization information for the current model
|
|
786
|
+
* @param UserProcessingResult The instance to deserialize into.
|
|
755
787
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
756
788
|
*/
|
|
757
789
|
// @ts-ignore
|
|
@@ -760,6 +792,7 @@ export function deserializeIntoUserProcessingResult(userProcessingResult = {}) {
|
|
|
760
792
|
}
|
|
761
793
|
/**
|
|
762
794
|
* The deserialization information for the current model
|
|
795
|
+
* @param UserProcessingResultCollectionResponse The instance to deserialize into.
|
|
763
796
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
764
797
|
*/
|
|
765
798
|
// @ts-ignore
|
|
@@ -768,6 +801,7 @@ export function deserializeIntoUserProcessingResultCollectionResponse(userProces
|
|
|
768
801
|
}
|
|
769
802
|
/**
|
|
770
803
|
* The deserialization information for the current model
|
|
804
|
+
* @param UserSummary The instance to deserialize into.
|
|
771
805
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
772
806
|
*/
|
|
773
807
|
// @ts-ignore
|
|
@@ -784,6 +818,7 @@ export function deserializeIntoUserSummary(userSummary = {}) {
|
|
|
784
818
|
}
|
|
785
819
|
/**
|
|
786
820
|
* The deserialization information for the current model
|
|
821
|
+
* @param Workflow The instance to deserialize into.
|
|
787
822
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
788
823
|
*/
|
|
789
824
|
// @ts-ignore
|
|
@@ -792,6 +827,7 @@ export function deserializeIntoWorkflow(workflow = {}) {
|
|
|
792
827
|
}
|
|
793
828
|
/**
|
|
794
829
|
* The deserialization information for the current model
|
|
830
|
+
* @param WorkflowBase The instance to deserialize into.
|
|
795
831
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
796
832
|
*/
|
|
797
833
|
// @ts-ignore
|
|
@@ -814,6 +850,7 @@ export function deserializeIntoWorkflowBase(workflowBase = {}) {
|
|
|
814
850
|
}
|
|
815
851
|
/**
|
|
816
852
|
* The deserialization information for the current model
|
|
853
|
+
* @param WorkflowCollectionResponse The instance to deserialize into.
|
|
817
854
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
818
855
|
*/
|
|
819
856
|
// @ts-ignore
|
|
@@ -822,6 +859,7 @@ export function deserializeIntoWorkflowCollectionResponse(workflowCollectionResp
|
|
|
822
859
|
}
|
|
823
860
|
/**
|
|
824
861
|
* The deserialization information for the current model
|
|
862
|
+
* @param WorkflowExecutionConditions The instance to deserialize into.
|
|
825
863
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
826
864
|
*/
|
|
827
865
|
// @ts-ignore
|
|
@@ -833,6 +871,7 @@ export function deserializeIntoWorkflowExecutionConditions(workflowExecutionCond
|
|
|
833
871
|
}
|
|
834
872
|
/**
|
|
835
873
|
* The deserialization information for the current model
|
|
874
|
+
* @param WorkflowExecutionTrigger The instance to deserialize into.
|
|
836
875
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
837
876
|
*/
|
|
838
877
|
// @ts-ignore
|
|
@@ -844,6 +883,7 @@ export function deserializeIntoWorkflowExecutionTrigger(workflowExecutionTrigger
|
|
|
844
883
|
}
|
|
845
884
|
/**
|
|
846
885
|
* The deserialization information for the current model
|
|
886
|
+
* @param WorkflowsInsightsByCategory The instance to deserialize into.
|
|
847
887
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
848
888
|
*/
|
|
849
889
|
// @ts-ignore
|
|
@@ -864,6 +904,7 @@ export function deserializeIntoWorkflowsInsightsByCategory(workflowsInsightsByCa
|
|
|
864
904
|
}
|
|
865
905
|
/**
|
|
866
906
|
* The deserialization information for the current model
|
|
907
|
+
* @param WorkflowsInsightsSummary The instance to deserialize into.
|
|
867
908
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
868
909
|
*/
|
|
869
910
|
// @ts-ignore
|
|
@@ -884,6 +925,7 @@ export function deserializeIntoWorkflowsInsightsSummary(workflowsInsightsSummary
|
|
|
884
925
|
}
|
|
885
926
|
/**
|
|
886
927
|
* The deserialization information for the current model
|
|
928
|
+
* @param WorkflowTemplate The instance to deserialize into.
|
|
887
929
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
888
930
|
*/
|
|
889
931
|
// @ts-ignore
|
|
@@ -892,6 +934,7 @@ export function deserializeIntoWorkflowTemplate(workflowTemplate = {}) {
|
|
|
892
934
|
}
|
|
893
935
|
/**
|
|
894
936
|
* The deserialization information for the current model
|
|
937
|
+
* @param WorkflowTemplateCollectionResponse The instance to deserialize into.
|
|
895
938
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
896
939
|
*/
|
|
897
940
|
// @ts-ignore
|
|
@@ -900,6 +943,7 @@ export function deserializeIntoWorkflowTemplateCollectionResponse(workflowTempla
|
|
|
900
943
|
}
|
|
901
944
|
/**
|
|
902
945
|
* The deserialization information for the current model
|
|
946
|
+
* @param WorkflowVersion The instance to deserialize into.
|
|
903
947
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
904
948
|
*/
|
|
905
949
|
// @ts-ignore
|
|
@@ -908,6 +952,7 @@ export function deserializeIntoWorkflowVersion(workflowVersion = {}) {
|
|
|
908
952
|
}
|
|
909
953
|
/**
|
|
910
954
|
* The deserialization information for the current model
|
|
955
|
+
* @param WorkflowVersionCollectionResponse The instance to deserialize into.
|
|
911
956
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
912
957
|
*/
|
|
913
958
|
// @ts-ignore
|
|
@@ -916,643 +961,805 @@ export function deserializeIntoWorkflowVersionCollectionResponse(workflowVersion
|
|
|
916
961
|
}
|
|
917
962
|
/**
|
|
918
963
|
* Serializes information the current object
|
|
964
|
+
* @param AttributeChangeTrigger The instance to serialize from.
|
|
965
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
919
966
|
* @param writer Serialization writer to use to serialize this model
|
|
920
967
|
*/
|
|
921
968
|
// @ts-ignore
|
|
922
|
-
export function serializeAttributeChangeTrigger(writer, attributeChangeTrigger = {}) {
|
|
923
|
-
if (attributeChangeTrigger) {
|
|
924
|
-
|
|
925
|
-
writer.writeCollectionOfObjectValues("triggerAttributes", attributeChangeTrigger.triggerAttributes, serializeTriggerAttribute);
|
|
969
|
+
export function serializeAttributeChangeTrigger(writer, attributeChangeTrigger = {}, isSerializingDerivedType = false) {
|
|
970
|
+
if (!attributeChangeTrigger || isSerializingDerivedType) {
|
|
971
|
+
return;
|
|
926
972
|
}
|
|
973
|
+
serializeWorkflowExecutionTrigger(writer, attributeChangeTrigger, isSerializingDerivedType);
|
|
974
|
+
writer.writeCollectionOfObjectValues("triggerAttributes", attributeChangeTrigger.triggerAttributes, serializeTriggerAttribute);
|
|
927
975
|
}
|
|
928
976
|
/**
|
|
929
977
|
* Serializes information the current object
|
|
978
|
+
* @param CustomTaskExtension The instance to serialize from.
|
|
979
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
930
980
|
* @param writer Serialization writer to use to serialize this model
|
|
931
981
|
*/
|
|
932
982
|
// @ts-ignore
|
|
933
|
-
export function serializeCustomTaskExtension(writer, customTaskExtension = {}) {
|
|
934
|
-
if (customTaskExtension) {
|
|
935
|
-
|
|
936
|
-
writer.writeObjectValue("callbackConfiguration", customTaskExtension.callbackConfiguration, serializeCustomExtensionCallbackConfiguration);
|
|
937
|
-
writer.writeObjectValue("createdBy", customTaskExtension.createdBy, serializeUser);
|
|
938
|
-
writer.writeDateValue("createdDateTime", customTaskExtension.createdDateTime);
|
|
939
|
-
writer.writeObjectValue("lastModifiedBy", customTaskExtension.lastModifiedBy, serializeUser);
|
|
940
|
-
writer.writeDateValue("lastModifiedDateTime", customTaskExtension.lastModifiedDateTime);
|
|
983
|
+
export function serializeCustomTaskExtension(writer, customTaskExtension = {}, isSerializingDerivedType = false) {
|
|
984
|
+
if (!customTaskExtension || isSerializingDerivedType) {
|
|
985
|
+
return;
|
|
941
986
|
}
|
|
987
|
+
serializeCustomCalloutExtension(writer, customTaskExtension, isSerializingDerivedType);
|
|
988
|
+
writer.writeObjectValue("callbackConfiguration", customTaskExtension.callbackConfiguration, serializeCustomExtensionCallbackConfiguration);
|
|
989
|
+
writer.writeObjectValue("createdBy", customTaskExtension.createdBy, serializeUser);
|
|
990
|
+
writer.writeDateValue("createdDateTime", customTaskExtension.createdDateTime);
|
|
991
|
+
writer.writeObjectValue("lastModifiedBy", customTaskExtension.lastModifiedBy, serializeUser);
|
|
992
|
+
writer.writeDateValue("lastModifiedDateTime", customTaskExtension.lastModifiedDateTime);
|
|
942
993
|
}
|
|
943
994
|
/**
|
|
944
995
|
* Serializes information the current object
|
|
996
|
+
* @param CustomTaskExtensionCallbackConfiguration The instance to serialize from.
|
|
997
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
945
998
|
* @param writer Serialization writer to use to serialize this model
|
|
946
999
|
*/
|
|
947
1000
|
// @ts-ignore
|
|
948
|
-
export function serializeCustomTaskExtensionCallbackConfiguration(writer, customTaskExtensionCallbackConfiguration = {}) {
|
|
949
|
-
if (customTaskExtensionCallbackConfiguration) {
|
|
950
|
-
|
|
951
|
-
writer.writeCollectionOfObjectValues("authorizedApps", customTaskExtensionCallbackConfiguration.authorizedApps, serializeApplication);
|
|
1001
|
+
export function serializeCustomTaskExtensionCallbackConfiguration(writer, customTaskExtensionCallbackConfiguration = {}, isSerializingDerivedType = false) {
|
|
1002
|
+
if (!customTaskExtensionCallbackConfiguration || isSerializingDerivedType) {
|
|
1003
|
+
return;
|
|
952
1004
|
}
|
|
1005
|
+
serializeCustomExtensionCallbackConfiguration(writer, customTaskExtensionCallbackConfiguration, isSerializingDerivedType);
|
|
1006
|
+
writer.writeCollectionOfObjectValues("authorizedApps", customTaskExtensionCallbackConfiguration.authorizedApps, serializeApplication);
|
|
953
1007
|
}
|
|
954
1008
|
/**
|
|
955
1009
|
* Serializes information the current object
|
|
1010
|
+
* @param CustomTaskExtensionCallbackData The instance to serialize from.
|
|
1011
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
956
1012
|
* @param writer Serialization writer to use to serialize this model
|
|
957
1013
|
*/
|
|
958
1014
|
// @ts-ignore
|
|
959
|
-
export function serializeCustomTaskExtensionCallbackData(writer, customTaskExtensionCallbackData = {}) {
|
|
960
|
-
if (customTaskExtensionCallbackData) {
|
|
961
|
-
|
|
962
|
-
writer.writeEnumValue("operationStatus", customTaskExtensionCallbackData.operationStatus);
|
|
1015
|
+
export function serializeCustomTaskExtensionCallbackData(writer, customTaskExtensionCallbackData = {}, isSerializingDerivedType = false) {
|
|
1016
|
+
if (!customTaskExtensionCallbackData || isSerializingDerivedType) {
|
|
1017
|
+
return;
|
|
963
1018
|
}
|
|
1019
|
+
serializeCustomExtensionData(writer, customTaskExtensionCallbackData, isSerializingDerivedType);
|
|
1020
|
+
writer.writeEnumValue("operationStatus", customTaskExtensionCallbackData.operationStatus);
|
|
964
1021
|
}
|
|
965
1022
|
/**
|
|
966
1023
|
* Serializes information the current object
|
|
1024
|
+
* @param CustomTaskExtensionCalloutData The instance to serialize from.
|
|
1025
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
967
1026
|
* @param writer Serialization writer to use to serialize this model
|
|
968
1027
|
*/
|
|
969
1028
|
// @ts-ignore
|
|
970
|
-
export function serializeCustomTaskExtensionCalloutData(writer, customTaskExtensionCalloutData = {}) {
|
|
971
|
-
if (customTaskExtensionCalloutData) {
|
|
972
|
-
|
|
973
|
-
writer.writeObjectValue("subject", customTaskExtensionCalloutData.subject, serializeUser);
|
|
974
|
-
writer.writeObjectValue("task", customTaskExtensionCalloutData.task, serializeTask);
|
|
975
|
-
writer.writeObjectValue("taskProcessingresult", customTaskExtensionCalloutData.taskProcessingresult, serializeTaskProcessingResult);
|
|
976
|
-
writer.writeObjectValue("workflow", customTaskExtensionCalloutData.workflow, serializeWorkflow);
|
|
1029
|
+
export function serializeCustomTaskExtensionCalloutData(writer, customTaskExtensionCalloutData = {}, isSerializingDerivedType = false) {
|
|
1030
|
+
if (!customTaskExtensionCalloutData || isSerializingDerivedType) {
|
|
1031
|
+
return;
|
|
977
1032
|
}
|
|
1033
|
+
serializeCustomExtensionData(writer, customTaskExtensionCalloutData, isSerializingDerivedType);
|
|
1034
|
+
writer.writeObjectValue("subject", customTaskExtensionCalloutData.subject, serializeUser);
|
|
1035
|
+
writer.writeObjectValue("task", customTaskExtensionCalloutData.task, serializeTask);
|
|
1036
|
+
writer.writeObjectValue("taskProcessingresult", customTaskExtensionCalloutData.taskProcessingresult, serializeTaskProcessingResult);
|
|
1037
|
+
writer.writeObjectValue("workflow", customTaskExtensionCalloutData.workflow, serializeWorkflow);
|
|
978
1038
|
}
|
|
979
1039
|
/**
|
|
980
1040
|
* Serializes information the current object
|
|
1041
|
+
* @param CustomTaskExtensionCollectionResponse The instance to serialize from.
|
|
1042
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
981
1043
|
* @param writer Serialization writer to use to serialize this model
|
|
982
1044
|
*/
|
|
983
1045
|
// @ts-ignore
|
|
984
|
-
export function serializeCustomTaskExtensionCollectionResponse(writer, customTaskExtensionCollectionResponse = {}) {
|
|
985
|
-
if (customTaskExtensionCollectionResponse) {
|
|
986
|
-
|
|
987
|
-
writer.writeCollectionOfObjectValues("value", customTaskExtensionCollectionResponse.value, serializeCustomTaskExtension);
|
|
1046
|
+
export function serializeCustomTaskExtensionCollectionResponse(writer, customTaskExtensionCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1047
|
+
if (!customTaskExtensionCollectionResponse || isSerializingDerivedType) {
|
|
1048
|
+
return;
|
|
988
1049
|
}
|
|
1050
|
+
serializeBaseCollectionPaginationCountResponse(writer, customTaskExtensionCollectionResponse, isSerializingDerivedType);
|
|
1051
|
+
writer.writeCollectionOfObjectValues("value", customTaskExtensionCollectionResponse.value, serializeCustomTaskExtension);
|
|
989
1052
|
}
|
|
990
1053
|
/**
|
|
991
1054
|
* Serializes information the current object
|
|
1055
|
+
* @param GroupBasedSubjectSet The instance to serialize from.
|
|
1056
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
992
1057
|
* @param writer Serialization writer to use to serialize this model
|
|
993
1058
|
*/
|
|
994
1059
|
// @ts-ignore
|
|
995
|
-
export function serializeGroupBasedSubjectSet(writer, groupBasedSubjectSet = {}) {
|
|
996
|
-
if (groupBasedSubjectSet) {
|
|
997
|
-
|
|
998
|
-
writer.writeCollectionOfObjectValues("groups", groupBasedSubjectSet.groups, serializeGroup);
|
|
1060
|
+
export function serializeGroupBasedSubjectSet(writer, groupBasedSubjectSet = {}, isSerializingDerivedType = false) {
|
|
1061
|
+
if (!groupBasedSubjectSet || isSerializingDerivedType) {
|
|
1062
|
+
return;
|
|
999
1063
|
}
|
|
1064
|
+
serializeSubjectSet(writer, groupBasedSubjectSet, isSerializingDerivedType);
|
|
1065
|
+
writer.writeCollectionOfObjectValues("groups", groupBasedSubjectSet.groups, serializeGroup);
|
|
1000
1066
|
}
|
|
1001
1067
|
/**
|
|
1002
1068
|
* Serializes information the current object
|
|
1069
|
+
* @param Insights The instance to serialize from.
|
|
1070
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1003
1071
|
* @param writer Serialization writer to use to serialize this model
|
|
1004
1072
|
*/
|
|
1005
1073
|
// @ts-ignore
|
|
1006
|
-
export function serializeInsights(writer, insights = {}) {
|
|
1007
|
-
if (insights) {
|
|
1008
|
-
|
|
1074
|
+
export function serializeInsights(writer, insights = {}, isSerializingDerivedType = false) {
|
|
1075
|
+
if (!insights || isSerializingDerivedType) {
|
|
1076
|
+
return;
|
|
1009
1077
|
}
|
|
1078
|
+
serializeEntity(writer, insights, isSerializingDerivedType);
|
|
1010
1079
|
}
|
|
1011
1080
|
/**
|
|
1012
1081
|
* Serializes information the current object
|
|
1082
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1083
|
+
* @param LifecycleManagementSettings The instance to serialize from.
|
|
1013
1084
|
* @param writer Serialization writer to use to serialize this model
|
|
1014
1085
|
*/
|
|
1015
1086
|
// @ts-ignore
|
|
1016
|
-
export function serializeLifecycleManagementSettings(writer, lifecycleManagementSettings = {}) {
|
|
1017
|
-
if (lifecycleManagementSettings) {
|
|
1018
|
-
|
|
1019
|
-
writer.writeObjectValue("emailSettings", lifecycleManagementSettings.emailSettings, serializeEmailSettings);
|
|
1020
|
-
writer.writeNumberValue("workflowScheduleIntervalInHours", lifecycleManagementSettings.workflowScheduleIntervalInHours);
|
|
1087
|
+
export function serializeLifecycleManagementSettings(writer, lifecycleManagementSettings = {}, isSerializingDerivedType = false) {
|
|
1088
|
+
if (!lifecycleManagementSettings || isSerializingDerivedType) {
|
|
1089
|
+
return;
|
|
1021
1090
|
}
|
|
1091
|
+
serializeEntity(writer, lifecycleManagementSettings, isSerializingDerivedType);
|
|
1092
|
+
writer.writeObjectValue("emailSettings", lifecycleManagementSettings.emailSettings, serializeEmailSettings);
|
|
1093
|
+
writer.writeNumberValue("workflowScheduleIntervalInHours", lifecycleManagementSettings.workflowScheduleIntervalInHours);
|
|
1022
1094
|
}
|
|
1023
1095
|
/**
|
|
1024
1096
|
* Serializes information the current object
|
|
1097
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1098
|
+
* @param LifecycleWorkflowsContainer The instance to serialize from.
|
|
1025
1099
|
* @param writer Serialization writer to use to serialize this model
|
|
1026
1100
|
*/
|
|
1027
1101
|
// @ts-ignore
|
|
1028
|
-
export function serializeLifecycleWorkflowsContainer(writer, lifecycleWorkflowsContainer = {}) {
|
|
1029
|
-
if (lifecycleWorkflowsContainer) {
|
|
1030
|
-
|
|
1031
|
-
writer.writeCollectionOfObjectValues("customTaskExtensions", lifecycleWorkflowsContainer.customTaskExtensions, serializeCustomTaskExtension);
|
|
1032
|
-
writer.writeObjectValue("deletedItems", lifecycleWorkflowsContainer.deletedItems, serializeDeletedItemContainer);
|
|
1033
|
-
writer.writeObjectValue("insights", lifecycleWorkflowsContainer.insights, serializeInsights);
|
|
1034
|
-
writer.writeObjectValue("settings", lifecycleWorkflowsContainer.settings, serializeLifecycleManagementSettings);
|
|
1035
|
-
writer.writeCollectionOfObjectValues("taskDefinitions", lifecycleWorkflowsContainer.taskDefinitions, serializeTaskDefinition);
|
|
1036
|
-
writer.writeCollectionOfObjectValues("workflows", lifecycleWorkflowsContainer.workflows, serializeWorkflow);
|
|
1037
|
-
writer.writeCollectionOfObjectValues("workflowTemplates", lifecycleWorkflowsContainer.workflowTemplates, serializeWorkflowTemplate);
|
|
1102
|
+
export function serializeLifecycleWorkflowsContainer(writer, lifecycleWorkflowsContainer = {}, isSerializingDerivedType = false) {
|
|
1103
|
+
if (!lifecycleWorkflowsContainer || isSerializingDerivedType) {
|
|
1104
|
+
return;
|
|
1038
1105
|
}
|
|
1106
|
+
serializeEntity(writer, lifecycleWorkflowsContainer, isSerializingDerivedType);
|
|
1107
|
+
writer.writeCollectionOfObjectValues("customTaskExtensions", lifecycleWorkflowsContainer.customTaskExtensions, serializeCustomTaskExtension);
|
|
1108
|
+
writer.writeObjectValue("deletedItems", lifecycleWorkflowsContainer.deletedItems, serializeDeletedItemContainer);
|
|
1109
|
+
writer.writeObjectValue("insights", lifecycleWorkflowsContainer.insights, serializeInsights);
|
|
1110
|
+
writer.writeObjectValue("settings", lifecycleWorkflowsContainer.settings, serializeLifecycleManagementSettings);
|
|
1111
|
+
writer.writeCollectionOfObjectValues("taskDefinitions", lifecycleWorkflowsContainer.taskDefinitions, serializeTaskDefinition);
|
|
1112
|
+
writer.writeCollectionOfObjectValues("workflows", lifecycleWorkflowsContainer.workflows, serializeWorkflow);
|
|
1113
|
+
writer.writeCollectionOfObjectValues("workflowTemplates", lifecycleWorkflowsContainer.workflowTemplates, serializeWorkflowTemplate);
|
|
1039
1114
|
}
|
|
1040
1115
|
/**
|
|
1041
1116
|
* Serializes information the current object
|
|
1117
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1118
|
+
* @param MembershipChangeTrigger The instance to serialize from.
|
|
1042
1119
|
* @param writer Serialization writer to use to serialize this model
|
|
1043
1120
|
*/
|
|
1044
1121
|
// @ts-ignore
|
|
1045
|
-
export function serializeMembershipChangeTrigger(writer, membershipChangeTrigger = {}) {
|
|
1046
|
-
if (membershipChangeTrigger) {
|
|
1047
|
-
|
|
1048
|
-
writer.writeEnumValue("changeType", membershipChangeTrigger.changeType);
|
|
1122
|
+
export function serializeMembershipChangeTrigger(writer, membershipChangeTrigger = {}, isSerializingDerivedType = false) {
|
|
1123
|
+
if (!membershipChangeTrigger || isSerializingDerivedType) {
|
|
1124
|
+
return;
|
|
1049
1125
|
}
|
|
1126
|
+
serializeWorkflowExecutionTrigger(writer, membershipChangeTrigger, isSerializingDerivedType);
|
|
1127
|
+
writer.writeEnumValue("changeType", membershipChangeTrigger.changeType);
|
|
1050
1128
|
}
|
|
1051
1129
|
/**
|
|
1052
1130
|
* Serializes information the current object
|
|
1131
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1132
|
+
* @param OnDemandExecutionOnly The instance to serialize from.
|
|
1053
1133
|
* @param writer Serialization writer to use to serialize this model
|
|
1054
1134
|
*/
|
|
1055
1135
|
// @ts-ignore
|
|
1056
|
-
export function serializeOnDemandExecutionOnly(writer, onDemandExecutionOnly = {}) {
|
|
1057
|
-
if (onDemandExecutionOnly) {
|
|
1058
|
-
|
|
1136
|
+
export function serializeOnDemandExecutionOnly(writer, onDemandExecutionOnly = {}, isSerializingDerivedType = false) {
|
|
1137
|
+
if (!onDemandExecutionOnly || isSerializingDerivedType) {
|
|
1138
|
+
return;
|
|
1059
1139
|
}
|
|
1140
|
+
serializeWorkflowExecutionConditions(writer, onDemandExecutionOnly, isSerializingDerivedType);
|
|
1060
1141
|
}
|
|
1061
1142
|
/**
|
|
1062
1143
|
* Serializes information the current object
|
|
1144
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1145
|
+
* @param Parameter The instance to serialize from.
|
|
1063
1146
|
* @param writer Serialization writer to use to serialize this model
|
|
1064
1147
|
*/
|
|
1065
1148
|
// @ts-ignore
|
|
1066
|
-
export function serializeParameter(writer, parameter = {}) {
|
|
1067
|
-
if (parameter) {
|
|
1068
|
-
|
|
1069
|
-
writer.writeStringValue("@odata.type", parameter.odataType);
|
|
1070
|
-
writer.writeCollectionOfPrimitiveValues("values", parameter.values);
|
|
1071
|
-
writer.writeEnumValue("valueType", parameter.valueType);
|
|
1072
|
-
writer.writeAdditionalData(parameter.additionalData);
|
|
1149
|
+
export function serializeParameter(writer, parameter = {}, isSerializingDerivedType = false) {
|
|
1150
|
+
if (!parameter || isSerializingDerivedType) {
|
|
1151
|
+
return;
|
|
1073
1152
|
}
|
|
1153
|
+
writer.writeStringValue("name", parameter.name);
|
|
1154
|
+
writer.writeStringValue("@odata.type", parameter.odataType);
|
|
1155
|
+
writer.writeCollectionOfPrimitiveValues("values", parameter.values);
|
|
1156
|
+
writer.writeEnumValue("valueType", parameter.valueType);
|
|
1157
|
+
writer.writeAdditionalData(parameter.additionalData);
|
|
1074
1158
|
}
|
|
1075
1159
|
/**
|
|
1076
1160
|
* Serializes information the current object
|
|
1161
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1162
|
+
* @param RuleBasedSubjectSet The instance to serialize from.
|
|
1077
1163
|
* @param writer Serialization writer to use to serialize this model
|
|
1078
1164
|
*/
|
|
1079
1165
|
// @ts-ignore
|
|
1080
|
-
export function serializeRuleBasedSubjectSet(writer, ruleBasedSubjectSet = {}) {
|
|
1081
|
-
if (ruleBasedSubjectSet) {
|
|
1082
|
-
|
|
1083
|
-
writer.writeStringValue("rule", ruleBasedSubjectSet.rule);
|
|
1166
|
+
export function serializeRuleBasedSubjectSet(writer, ruleBasedSubjectSet = {}, isSerializingDerivedType = false) {
|
|
1167
|
+
if (!ruleBasedSubjectSet || isSerializingDerivedType) {
|
|
1168
|
+
return;
|
|
1084
1169
|
}
|
|
1170
|
+
serializeSubjectSet(writer, ruleBasedSubjectSet, isSerializingDerivedType);
|
|
1171
|
+
writer.writeStringValue("rule", ruleBasedSubjectSet.rule);
|
|
1085
1172
|
}
|
|
1086
1173
|
/**
|
|
1087
1174
|
* Serializes information the current object
|
|
1175
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1176
|
+
* @param Run The instance to serialize from.
|
|
1088
1177
|
* @param writer Serialization writer to use to serialize this model
|
|
1089
1178
|
*/
|
|
1090
1179
|
// @ts-ignore
|
|
1091
|
-
export function serializeRun(writer, run = {}) {
|
|
1092
|
-
if (run) {
|
|
1093
|
-
|
|
1094
|
-
writer.writeDateValue("completedDateTime", run.completedDateTime);
|
|
1095
|
-
writer.writeNumberValue("failedTasksCount", run.failedTasksCount);
|
|
1096
|
-
writer.writeNumberValue("failedUsersCount", run.failedUsersCount);
|
|
1097
|
-
writer.writeDateValue("lastUpdatedDateTime", run.lastUpdatedDateTime);
|
|
1098
|
-
writer.writeEnumValue("processingStatus", run.processingStatus);
|
|
1099
|
-
writer.writeDateValue("scheduledDateTime", run.scheduledDateTime);
|
|
1100
|
-
writer.writeDateValue("startedDateTime", run.startedDateTime);
|
|
1101
|
-
writer.writeNumberValue("successfulUsersCount", run.successfulUsersCount);
|
|
1102
|
-
writer.writeCollectionOfObjectValues("taskProcessingResults", run.taskProcessingResults, serializeTaskProcessingResult);
|
|
1103
|
-
writer.writeNumberValue("totalTasksCount", run.totalTasksCount);
|
|
1104
|
-
writer.writeNumberValue("totalUnprocessedTasksCount", run.totalUnprocessedTasksCount);
|
|
1105
|
-
writer.writeNumberValue("totalUsersCount", run.totalUsersCount);
|
|
1106
|
-
writer.writeCollectionOfObjectValues("userProcessingResults", run.userProcessingResults, serializeUserProcessingResult);
|
|
1107
|
-
writer.writeEnumValue("workflowExecutionType", run.workflowExecutionType);
|
|
1180
|
+
export function serializeRun(writer, run = {}, isSerializingDerivedType = false) {
|
|
1181
|
+
if (!run || isSerializingDerivedType) {
|
|
1182
|
+
return;
|
|
1108
1183
|
}
|
|
1184
|
+
serializeEntity(writer, run, isSerializingDerivedType);
|
|
1185
|
+
writer.writeDateValue("completedDateTime", run.completedDateTime);
|
|
1186
|
+
writer.writeNumberValue("failedTasksCount", run.failedTasksCount);
|
|
1187
|
+
writer.writeNumberValue("failedUsersCount", run.failedUsersCount);
|
|
1188
|
+
writer.writeDateValue("lastUpdatedDateTime", run.lastUpdatedDateTime);
|
|
1189
|
+
writer.writeEnumValue("processingStatus", run.processingStatus);
|
|
1190
|
+
writer.writeDateValue("scheduledDateTime", run.scheduledDateTime);
|
|
1191
|
+
writer.writeDateValue("startedDateTime", run.startedDateTime);
|
|
1192
|
+
writer.writeNumberValue("successfulUsersCount", run.successfulUsersCount);
|
|
1193
|
+
writer.writeCollectionOfObjectValues("taskProcessingResults", run.taskProcessingResults, serializeTaskProcessingResult);
|
|
1194
|
+
writer.writeNumberValue("totalTasksCount", run.totalTasksCount);
|
|
1195
|
+
writer.writeNumberValue("totalUnprocessedTasksCount", run.totalUnprocessedTasksCount);
|
|
1196
|
+
writer.writeNumberValue("totalUsersCount", run.totalUsersCount);
|
|
1197
|
+
writer.writeCollectionOfObjectValues("userProcessingResults", run.userProcessingResults, serializeUserProcessingResult);
|
|
1198
|
+
writer.writeEnumValue("workflowExecutionType", run.workflowExecutionType);
|
|
1109
1199
|
}
|
|
1110
1200
|
/**
|
|
1111
1201
|
* Serializes information the current object
|
|
1202
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1203
|
+
* @param RunCollectionResponse The instance to serialize from.
|
|
1112
1204
|
* @param writer Serialization writer to use to serialize this model
|
|
1113
1205
|
*/
|
|
1114
1206
|
// @ts-ignore
|
|
1115
|
-
export function serializeRunCollectionResponse(writer, runCollectionResponse = {}) {
|
|
1116
|
-
if (runCollectionResponse) {
|
|
1117
|
-
|
|
1118
|
-
writer.writeCollectionOfObjectValues("value", runCollectionResponse.value, serializeRun);
|
|
1207
|
+
export function serializeRunCollectionResponse(writer, runCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1208
|
+
if (!runCollectionResponse || isSerializingDerivedType) {
|
|
1209
|
+
return;
|
|
1119
1210
|
}
|
|
1211
|
+
serializeBaseCollectionPaginationCountResponse(writer, runCollectionResponse, isSerializingDerivedType);
|
|
1212
|
+
writer.writeCollectionOfObjectValues("value", runCollectionResponse.value, serializeRun);
|
|
1120
1213
|
}
|
|
1121
1214
|
/**
|
|
1122
1215
|
* Serializes information the current object
|
|
1216
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1217
|
+
* @param RunSummary The instance to serialize from.
|
|
1123
1218
|
* @param writer Serialization writer to use to serialize this model
|
|
1124
1219
|
*/
|
|
1125
1220
|
// @ts-ignore
|
|
1126
|
-
export function serializeRunSummary(writer, runSummary = {}) {
|
|
1127
|
-
if (runSummary) {
|
|
1128
|
-
|
|
1129
|
-
writer.writeNumberValue("failedTasks", runSummary.failedTasks);
|
|
1130
|
-
writer.writeStringValue("@odata.type", runSummary.odataType);
|
|
1131
|
-
writer.writeNumberValue("successfulRuns", runSummary.successfulRuns);
|
|
1132
|
-
writer.writeNumberValue("totalRuns", runSummary.totalRuns);
|
|
1133
|
-
writer.writeNumberValue("totalTasks", runSummary.totalTasks);
|
|
1134
|
-
writer.writeNumberValue("totalUsers", runSummary.totalUsers);
|
|
1135
|
-
writer.writeAdditionalData(runSummary.additionalData);
|
|
1221
|
+
export function serializeRunSummary(writer, runSummary = {}, isSerializingDerivedType = false) {
|
|
1222
|
+
if (!runSummary || isSerializingDerivedType) {
|
|
1223
|
+
return;
|
|
1136
1224
|
}
|
|
1225
|
+
writer.writeNumberValue("failedRuns", runSummary.failedRuns);
|
|
1226
|
+
writer.writeNumberValue("failedTasks", runSummary.failedTasks);
|
|
1227
|
+
writer.writeStringValue("@odata.type", runSummary.odataType);
|
|
1228
|
+
writer.writeNumberValue("successfulRuns", runSummary.successfulRuns);
|
|
1229
|
+
writer.writeNumberValue("totalRuns", runSummary.totalRuns);
|
|
1230
|
+
writer.writeNumberValue("totalTasks", runSummary.totalTasks);
|
|
1231
|
+
writer.writeNumberValue("totalUsers", runSummary.totalUsers);
|
|
1232
|
+
writer.writeAdditionalData(runSummary.additionalData);
|
|
1137
1233
|
}
|
|
1138
1234
|
/**
|
|
1139
1235
|
* Serializes information the current object
|
|
1236
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1237
|
+
* @param Task The instance to serialize from.
|
|
1140
1238
|
* @param writer Serialization writer to use to serialize this model
|
|
1141
1239
|
*/
|
|
1142
1240
|
// @ts-ignore
|
|
1143
|
-
export function serializeTask(writer, task = {}) {
|
|
1144
|
-
if (task) {
|
|
1145
|
-
|
|
1146
|
-
writer.writeCollectionOfObjectValues("arguments", task.arguments, serializeKeyValuePair);
|
|
1147
|
-
writer.writeEnumValue("category", task.category);
|
|
1148
|
-
writer.writeBooleanValue("continueOnError", task.continueOnError);
|
|
1149
|
-
writer.writeStringValue("description", task.description);
|
|
1150
|
-
writer.writeStringValue("displayName", task.displayName);
|
|
1151
|
-
writer.writeNumberValue("executionSequence", task.executionSequence);
|
|
1152
|
-
writer.writeBooleanValue("isEnabled", task.isEnabled);
|
|
1153
|
-
writer.writeStringValue("taskDefinitionId", task.taskDefinitionId);
|
|
1154
|
-
writer.writeCollectionOfObjectValues("taskProcessingResults", task.taskProcessingResults, serializeTaskProcessingResult);
|
|
1241
|
+
export function serializeTask(writer, task = {}, isSerializingDerivedType = false) {
|
|
1242
|
+
if (!task || isSerializingDerivedType) {
|
|
1243
|
+
return;
|
|
1155
1244
|
}
|
|
1245
|
+
serializeEntity(writer, task, isSerializingDerivedType);
|
|
1246
|
+
writer.writeCollectionOfObjectValues("arguments", task.arguments, serializeKeyValuePair);
|
|
1247
|
+
writer.writeEnumValue("category", task.category);
|
|
1248
|
+
writer.writeBooleanValue("continueOnError", task.continueOnError);
|
|
1249
|
+
writer.writeStringValue("description", task.description);
|
|
1250
|
+
writer.writeStringValue("displayName", task.displayName);
|
|
1251
|
+
writer.writeNumberValue("executionSequence", task.executionSequence);
|
|
1252
|
+
writer.writeBooleanValue("isEnabled", task.isEnabled);
|
|
1253
|
+
writer.writeStringValue("taskDefinitionId", task.taskDefinitionId);
|
|
1254
|
+
writer.writeCollectionOfObjectValues("taskProcessingResults", task.taskProcessingResults, serializeTaskProcessingResult);
|
|
1156
1255
|
}
|
|
1157
1256
|
/**
|
|
1158
1257
|
* Serializes information the current object
|
|
1258
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1259
|
+
* @param TaskCollectionResponse The instance to serialize from.
|
|
1159
1260
|
* @param writer Serialization writer to use to serialize this model
|
|
1160
1261
|
*/
|
|
1161
1262
|
// @ts-ignore
|
|
1162
|
-
export function serializeTaskCollectionResponse(writer, taskCollectionResponse = {}) {
|
|
1163
|
-
if (taskCollectionResponse) {
|
|
1164
|
-
|
|
1165
|
-
writer.writeCollectionOfObjectValues("value", taskCollectionResponse.value, serializeTask);
|
|
1263
|
+
export function serializeTaskCollectionResponse(writer, taskCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1264
|
+
if (!taskCollectionResponse || isSerializingDerivedType) {
|
|
1265
|
+
return;
|
|
1166
1266
|
}
|
|
1267
|
+
serializeBaseCollectionPaginationCountResponse(writer, taskCollectionResponse, isSerializingDerivedType);
|
|
1268
|
+
writer.writeCollectionOfObjectValues("value", taskCollectionResponse.value, serializeTask);
|
|
1167
1269
|
}
|
|
1168
1270
|
/**
|
|
1169
1271
|
* Serializes information the current object
|
|
1272
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1273
|
+
* @param TaskDefinition The instance to serialize from.
|
|
1170
1274
|
* @param writer Serialization writer to use to serialize this model
|
|
1171
1275
|
*/
|
|
1172
1276
|
// @ts-ignore
|
|
1173
|
-
export function serializeTaskDefinition(writer, taskDefinition = {}) {
|
|
1174
|
-
if (taskDefinition) {
|
|
1175
|
-
|
|
1176
|
-
writer.writeEnumValue("category", taskDefinition.category);
|
|
1177
|
-
writer.writeBooleanValue("continueOnError", taskDefinition.continueOnError);
|
|
1178
|
-
writer.writeStringValue("description", taskDefinition.description);
|
|
1179
|
-
writer.writeStringValue("displayName", taskDefinition.displayName);
|
|
1180
|
-
writer.writeCollectionOfObjectValues("parameters", taskDefinition.parameters, serializeParameter);
|
|
1181
|
-
writer.writeNumberValue("version", taskDefinition.version);
|
|
1277
|
+
export function serializeTaskDefinition(writer, taskDefinition = {}, isSerializingDerivedType = false) {
|
|
1278
|
+
if (!taskDefinition || isSerializingDerivedType) {
|
|
1279
|
+
return;
|
|
1182
1280
|
}
|
|
1281
|
+
serializeEntity(writer, taskDefinition, isSerializingDerivedType);
|
|
1282
|
+
writer.writeEnumValue("category", taskDefinition.category);
|
|
1283
|
+
writer.writeBooleanValue("continueOnError", taskDefinition.continueOnError);
|
|
1284
|
+
writer.writeStringValue("description", taskDefinition.description);
|
|
1285
|
+
writer.writeStringValue("displayName", taskDefinition.displayName);
|
|
1286
|
+
writer.writeCollectionOfObjectValues("parameters", taskDefinition.parameters, serializeParameter);
|
|
1287
|
+
writer.writeNumberValue("version", taskDefinition.version);
|
|
1183
1288
|
}
|
|
1184
1289
|
/**
|
|
1185
1290
|
* Serializes information the current object
|
|
1291
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1292
|
+
* @param TaskDefinitionCollectionResponse The instance to serialize from.
|
|
1186
1293
|
* @param writer Serialization writer to use to serialize this model
|
|
1187
1294
|
*/
|
|
1188
1295
|
// @ts-ignore
|
|
1189
|
-
export function serializeTaskDefinitionCollectionResponse(writer, taskDefinitionCollectionResponse = {}) {
|
|
1190
|
-
if (taskDefinitionCollectionResponse) {
|
|
1191
|
-
|
|
1192
|
-
writer.writeCollectionOfObjectValues("value", taskDefinitionCollectionResponse.value, serializeTaskDefinition);
|
|
1296
|
+
export function serializeTaskDefinitionCollectionResponse(writer, taskDefinitionCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1297
|
+
if (!taskDefinitionCollectionResponse || isSerializingDerivedType) {
|
|
1298
|
+
return;
|
|
1193
1299
|
}
|
|
1300
|
+
serializeBaseCollectionPaginationCountResponse(writer, taskDefinitionCollectionResponse, isSerializingDerivedType);
|
|
1301
|
+
writer.writeCollectionOfObjectValues("value", taskDefinitionCollectionResponse.value, serializeTaskDefinition);
|
|
1194
1302
|
}
|
|
1195
1303
|
/**
|
|
1196
1304
|
* Serializes information the current object
|
|
1305
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1306
|
+
* @param TaskProcessingResult The instance to serialize from.
|
|
1197
1307
|
* @param writer Serialization writer to use to serialize this model
|
|
1198
1308
|
*/
|
|
1199
1309
|
// @ts-ignore
|
|
1200
|
-
export function serializeTaskProcessingResult(writer, taskProcessingResult = {}) {
|
|
1201
|
-
if (taskProcessingResult) {
|
|
1202
|
-
|
|
1203
|
-
writer.writeDateValue("completedDateTime", taskProcessingResult.completedDateTime);
|
|
1204
|
-
writer.writeDateValue("createdDateTime", taskProcessingResult.createdDateTime);
|
|
1205
|
-
writer.writeStringValue("failureReason", taskProcessingResult.failureReason);
|
|
1206
|
-
writer.writeEnumValue("processingStatus", taskProcessingResult.processingStatus);
|
|
1207
|
-
writer.writeDateValue("startedDateTime", taskProcessingResult.startedDateTime);
|
|
1208
|
-
writer.writeObjectValue("subject", taskProcessingResult.subject, serializeUser);
|
|
1209
|
-
writer.writeObjectValue("task", taskProcessingResult.task, serializeTask);
|
|
1310
|
+
export function serializeTaskProcessingResult(writer, taskProcessingResult = {}, isSerializingDerivedType = false) {
|
|
1311
|
+
if (!taskProcessingResult || isSerializingDerivedType) {
|
|
1312
|
+
return;
|
|
1210
1313
|
}
|
|
1314
|
+
serializeEntity(writer, taskProcessingResult, isSerializingDerivedType);
|
|
1315
|
+
writer.writeDateValue("completedDateTime", taskProcessingResult.completedDateTime);
|
|
1316
|
+
writer.writeDateValue("createdDateTime", taskProcessingResult.createdDateTime);
|
|
1317
|
+
writer.writeStringValue("failureReason", taskProcessingResult.failureReason);
|
|
1318
|
+
writer.writeEnumValue("processingStatus", taskProcessingResult.processingStatus);
|
|
1319
|
+
writer.writeDateValue("startedDateTime", taskProcessingResult.startedDateTime);
|
|
1320
|
+
writer.writeObjectValue("subject", taskProcessingResult.subject, serializeUser);
|
|
1321
|
+
writer.writeObjectValue("task", taskProcessingResult.task, serializeTask);
|
|
1211
1322
|
}
|
|
1212
1323
|
/**
|
|
1213
1324
|
* Serializes information the current object
|
|
1325
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1326
|
+
* @param TaskProcessingResultCollectionResponse The instance to serialize from.
|
|
1214
1327
|
* @param writer Serialization writer to use to serialize this model
|
|
1215
1328
|
*/
|
|
1216
1329
|
// @ts-ignore
|
|
1217
|
-
export function serializeTaskProcessingResultCollectionResponse(writer, taskProcessingResultCollectionResponse = {}) {
|
|
1218
|
-
if (taskProcessingResultCollectionResponse) {
|
|
1219
|
-
|
|
1220
|
-
writer.writeCollectionOfObjectValues("value", taskProcessingResultCollectionResponse.value, serializeTaskProcessingResult);
|
|
1330
|
+
export function serializeTaskProcessingResultCollectionResponse(writer, taskProcessingResultCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1331
|
+
if (!taskProcessingResultCollectionResponse || isSerializingDerivedType) {
|
|
1332
|
+
return;
|
|
1221
1333
|
}
|
|
1334
|
+
serializeBaseCollectionPaginationCountResponse(writer, taskProcessingResultCollectionResponse, isSerializingDerivedType);
|
|
1335
|
+
writer.writeCollectionOfObjectValues("value", taskProcessingResultCollectionResponse.value, serializeTaskProcessingResult);
|
|
1222
1336
|
}
|
|
1223
1337
|
/**
|
|
1224
1338
|
* Serializes information the current object
|
|
1339
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1340
|
+
* @param TaskReport The instance to serialize from.
|
|
1225
1341
|
* @param writer Serialization writer to use to serialize this model
|
|
1226
1342
|
*/
|
|
1227
1343
|
// @ts-ignore
|
|
1228
|
-
export function serializeTaskReport(writer, taskReport = {}) {
|
|
1229
|
-
if (taskReport) {
|
|
1230
|
-
|
|
1231
|
-
writer.writeDateValue("completedDateTime", taskReport.completedDateTime);
|
|
1232
|
-
writer.writeNumberValue("failedUsersCount", taskReport.failedUsersCount);
|
|
1233
|
-
writer.writeDateValue("lastUpdatedDateTime", taskReport.lastUpdatedDateTime);
|
|
1234
|
-
writer.writeEnumValue("processingStatus", taskReport.processingStatus);
|
|
1235
|
-
writer.writeStringValue("runId", taskReport.runId);
|
|
1236
|
-
writer.writeDateValue("startedDateTime", taskReport.startedDateTime);
|
|
1237
|
-
writer.writeNumberValue("successfulUsersCount", taskReport.successfulUsersCount);
|
|
1238
|
-
writer.writeObjectValue("task", taskReport.task, serializeTask);
|
|
1239
|
-
writer.writeObjectValue("taskDefinition", taskReport.taskDefinition, serializeTaskDefinition);
|
|
1240
|
-
writer.writeCollectionOfObjectValues("taskProcessingResults", taskReport.taskProcessingResults, serializeTaskProcessingResult);
|
|
1241
|
-
writer.writeNumberValue("totalUsersCount", taskReport.totalUsersCount);
|
|
1242
|
-
writer.writeNumberValue("unprocessedUsersCount", taskReport.unprocessedUsersCount);
|
|
1344
|
+
export function serializeTaskReport(writer, taskReport = {}, isSerializingDerivedType = false) {
|
|
1345
|
+
if (!taskReport || isSerializingDerivedType) {
|
|
1346
|
+
return;
|
|
1243
1347
|
}
|
|
1348
|
+
serializeEntity(writer, taskReport, isSerializingDerivedType);
|
|
1349
|
+
writer.writeDateValue("completedDateTime", taskReport.completedDateTime);
|
|
1350
|
+
writer.writeNumberValue("failedUsersCount", taskReport.failedUsersCount);
|
|
1351
|
+
writer.writeDateValue("lastUpdatedDateTime", taskReport.lastUpdatedDateTime);
|
|
1352
|
+
writer.writeEnumValue("processingStatus", taskReport.processingStatus);
|
|
1353
|
+
writer.writeStringValue("runId", taskReport.runId);
|
|
1354
|
+
writer.writeDateValue("startedDateTime", taskReport.startedDateTime);
|
|
1355
|
+
writer.writeNumberValue("successfulUsersCount", taskReport.successfulUsersCount);
|
|
1356
|
+
writer.writeObjectValue("task", taskReport.task, serializeTask);
|
|
1357
|
+
writer.writeObjectValue("taskDefinition", taskReport.taskDefinition, serializeTaskDefinition);
|
|
1358
|
+
writer.writeCollectionOfObjectValues("taskProcessingResults", taskReport.taskProcessingResults, serializeTaskProcessingResult);
|
|
1359
|
+
writer.writeNumberValue("totalUsersCount", taskReport.totalUsersCount);
|
|
1360
|
+
writer.writeNumberValue("unprocessedUsersCount", taskReport.unprocessedUsersCount);
|
|
1244
1361
|
}
|
|
1245
1362
|
/**
|
|
1246
1363
|
* Serializes information the current object
|
|
1364
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1365
|
+
* @param TaskReportCollectionResponse The instance to serialize from.
|
|
1247
1366
|
* @param writer Serialization writer to use to serialize this model
|
|
1248
1367
|
*/
|
|
1249
1368
|
// @ts-ignore
|
|
1250
|
-
export function serializeTaskReportCollectionResponse(writer, taskReportCollectionResponse = {}) {
|
|
1251
|
-
if (taskReportCollectionResponse) {
|
|
1252
|
-
|
|
1253
|
-
writer.writeCollectionOfObjectValues("value", taskReportCollectionResponse.value, serializeTaskReport);
|
|
1369
|
+
export function serializeTaskReportCollectionResponse(writer, taskReportCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1370
|
+
if (!taskReportCollectionResponse || isSerializingDerivedType) {
|
|
1371
|
+
return;
|
|
1254
1372
|
}
|
|
1373
|
+
serializeBaseCollectionPaginationCountResponse(writer, taskReportCollectionResponse, isSerializingDerivedType);
|
|
1374
|
+
writer.writeCollectionOfObjectValues("value", taskReportCollectionResponse.value, serializeTaskReport);
|
|
1255
1375
|
}
|
|
1256
1376
|
/**
|
|
1257
1377
|
* Serializes information the current object
|
|
1378
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1379
|
+
* @param TaskReportSummary The instance to serialize from.
|
|
1258
1380
|
* @param writer Serialization writer to use to serialize this model
|
|
1259
1381
|
*/
|
|
1260
1382
|
// @ts-ignore
|
|
1261
|
-
export function serializeTaskReportSummary(writer, taskReportSummary = {}) {
|
|
1262
|
-
if (taskReportSummary) {
|
|
1263
|
-
|
|
1264
|
-
writer.writeStringValue("@odata.type", taskReportSummary.odataType);
|
|
1265
|
-
writer.writeNumberValue("successfulTasks", taskReportSummary.successfulTasks);
|
|
1266
|
-
writer.writeNumberValue("totalTasks", taskReportSummary.totalTasks);
|
|
1267
|
-
writer.writeNumberValue("unprocessedTasks", taskReportSummary.unprocessedTasks);
|
|
1268
|
-
writer.writeAdditionalData(taskReportSummary.additionalData);
|
|
1383
|
+
export function serializeTaskReportSummary(writer, taskReportSummary = {}, isSerializingDerivedType = false) {
|
|
1384
|
+
if (!taskReportSummary || isSerializingDerivedType) {
|
|
1385
|
+
return;
|
|
1269
1386
|
}
|
|
1387
|
+
writer.writeNumberValue("failedTasks", taskReportSummary.failedTasks);
|
|
1388
|
+
writer.writeStringValue("@odata.type", taskReportSummary.odataType);
|
|
1389
|
+
writer.writeNumberValue("successfulTasks", taskReportSummary.successfulTasks);
|
|
1390
|
+
writer.writeNumberValue("totalTasks", taskReportSummary.totalTasks);
|
|
1391
|
+
writer.writeNumberValue("unprocessedTasks", taskReportSummary.unprocessedTasks);
|
|
1392
|
+
writer.writeAdditionalData(taskReportSummary.additionalData);
|
|
1270
1393
|
}
|
|
1271
1394
|
/**
|
|
1272
1395
|
* Serializes information the current object
|
|
1396
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1397
|
+
* @param TimeBasedAttributeTrigger The instance to serialize from.
|
|
1273
1398
|
* @param writer Serialization writer to use to serialize this model
|
|
1274
1399
|
*/
|
|
1275
1400
|
// @ts-ignore
|
|
1276
|
-
export function serializeTimeBasedAttributeTrigger(writer, timeBasedAttributeTrigger = {}) {
|
|
1277
|
-
if (timeBasedAttributeTrigger) {
|
|
1278
|
-
|
|
1279
|
-
writer.writeNumberValue("offsetInDays", timeBasedAttributeTrigger.offsetInDays);
|
|
1280
|
-
writer.writeEnumValue("timeBasedAttribute", timeBasedAttributeTrigger.timeBasedAttribute);
|
|
1401
|
+
export function serializeTimeBasedAttributeTrigger(writer, timeBasedAttributeTrigger = {}, isSerializingDerivedType = false) {
|
|
1402
|
+
if (!timeBasedAttributeTrigger || isSerializingDerivedType) {
|
|
1403
|
+
return;
|
|
1281
1404
|
}
|
|
1405
|
+
serializeWorkflowExecutionTrigger(writer, timeBasedAttributeTrigger, isSerializingDerivedType);
|
|
1406
|
+
writer.writeNumberValue("offsetInDays", timeBasedAttributeTrigger.offsetInDays);
|
|
1407
|
+
writer.writeEnumValue("timeBasedAttribute", timeBasedAttributeTrigger.timeBasedAttribute);
|
|
1282
1408
|
}
|
|
1283
1409
|
/**
|
|
1284
1410
|
* Serializes information the current object
|
|
1411
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1412
|
+
* @param TopTasksInsightsSummary The instance to serialize from.
|
|
1285
1413
|
* @param writer Serialization writer to use to serialize this model
|
|
1286
1414
|
*/
|
|
1287
1415
|
// @ts-ignore
|
|
1288
|
-
export function serializeTopTasksInsightsSummary(writer, topTasksInsightsSummary = {}) {
|
|
1289
|
-
if (topTasksInsightsSummary) {
|
|
1290
|
-
|
|
1291
|
-
writer.writeNumberValue("failedUsers", topTasksInsightsSummary.failedUsers);
|
|
1292
|
-
writer.writeStringValue("@odata.type", topTasksInsightsSummary.odataType);
|
|
1293
|
-
writer.writeNumberValue("successfulTasks", topTasksInsightsSummary.successfulTasks);
|
|
1294
|
-
writer.writeNumberValue("successfulUsers", topTasksInsightsSummary.successfulUsers);
|
|
1295
|
-
writer.writeStringValue("taskDefinitionDisplayName", topTasksInsightsSummary.taskDefinitionDisplayName);
|
|
1296
|
-
writer.writeStringValue("taskDefinitionId", topTasksInsightsSummary.taskDefinitionId);
|
|
1297
|
-
writer.writeNumberValue("totalTasks", topTasksInsightsSummary.totalTasks);
|
|
1298
|
-
writer.writeNumberValue("totalUsers", topTasksInsightsSummary.totalUsers);
|
|
1299
|
-
writer.writeAdditionalData(topTasksInsightsSummary.additionalData);
|
|
1416
|
+
export function serializeTopTasksInsightsSummary(writer, topTasksInsightsSummary = {}, isSerializingDerivedType = false) {
|
|
1417
|
+
if (!topTasksInsightsSummary || isSerializingDerivedType) {
|
|
1418
|
+
return;
|
|
1300
1419
|
}
|
|
1420
|
+
writer.writeNumberValue("failedTasks", topTasksInsightsSummary.failedTasks);
|
|
1421
|
+
writer.writeNumberValue("failedUsers", topTasksInsightsSummary.failedUsers);
|
|
1422
|
+
writer.writeStringValue("@odata.type", topTasksInsightsSummary.odataType);
|
|
1423
|
+
writer.writeNumberValue("successfulTasks", topTasksInsightsSummary.successfulTasks);
|
|
1424
|
+
writer.writeNumberValue("successfulUsers", topTasksInsightsSummary.successfulUsers);
|
|
1425
|
+
writer.writeStringValue("taskDefinitionDisplayName", topTasksInsightsSummary.taskDefinitionDisplayName);
|
|
1426
|
+
writer.writeStringValue("taskDefinitionId", topTasksInsightsSummary.taskDefinitionId);
|
|
1427
|
+
writer.writeNumberValue("totalTasks", topTasksInsightsSummary.totalTasks);
|
|
1428
|
+
writer.writeNumberValue("totalUsers", topTasksInsightsSummary.totalUsers);
|
|
1429
|
+
writer.writeAdditionalData(topTasksInsightsSummary.additionalData);
|
|
1301
1430
|
}
|
|
1302
1431
|
/**
|
|
1303
1432
|
* Serializes information the current object
|
|
1433
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1434
|
+
* @param TopWorkflowsInsightsSummary The instance to serialize from.
|
|
1304
1435
|
* @param writer Serialization writer to use to serialize this model
|
|
1305
1436
|
*/
|
|
1306
1437
|
// @ts-ignore
|
|
1307
|
-
export function serializeTopWorkflowsInsightsSummary(writer, topWorkflowsInsightsSummary = {}) {
|
|
1308
|
-
if (topWorkflowsInsightsSummary) {
|
|
1309
|
-
|
|
1310
|
-
writer.writeNumberValue("failedUsers", topWorkflowsInsightsSummary.failedUsers);
|
|
1311
|
-
writer.writeStringValue("@odata.type", topWorkflowsInsightsSummary.odataType);
|
|
1312
|
-
writer.writeNumberValue("successfulRuns", topWorkflowsInsightsSummary.successfulRuns);
|
|
1313
|
-
writer.writeNumberValue("successfulUsers", topWorkflowsInsightsSummary.successfulUsers);
|
|
1314
|
-
writer.writeNumberValue("totalRuns", topWorkflowsInsightsSummary.totalRuns);
|
|
1315
|
-
writer.writeNumberValue("totalUsers", topWorkflowsInsightsSummary.totalUsers);
|
|
1316
|
-
writer.writeEnumValue("workflowCategory", topWorkflowsInsightsSummary.workflowCategory);
|
|
1317
|
-
writer.writeStringValue("workflowDisplayName", topWorkflowsInsightsSummary.workflowDisplayName);
|
|
1318
|
-
writer.writeStringValue("workflowId", topWorkflowsInsightsSummary.workflowId);
|
|
1319
|
-
writer.writeNumberValue("workflowVersion", topWorkflowsInsightsSummary.workflowVersion);
|
|
1320
|
-
writer.writeAdditionalData(topWorkflowsInsightsSummary.additionalData);
|
|
1438
|
+
export function serializeTopWorkflowsInsightsSummary(writer, topWorkflowsInsightsSummary = {}, isSerializingDerivedType = false) {
|
|
1439
|
+
if (!topWorkflowsInsightsSummary || isSerializingDerivedType) {
|
|
1440
|
+
return;
|
|
1321
1441
|
}
|
|
1442
|
+
writer.writeNumberValue("failedRuns", topWorkflowsInsightsSummary.failedRuns);
|
|
1443
|
+
writer.writeNumberValue("failedUsers", topWorkflowsInsightsSummary.failedUsers);
|
|
1444
|
+
writer.writeStringValue("@odata.type", topWorkflowsInsightsSummary.odataType);
|
|
1445
|
+
writer.writeNumberValue("successfulRuns", topWorkflowsInsightsSummary.successfulRuns);
|
|
1446
|
+
writer.writeNumberValue("successfulUsers", topWorkflowsInsightsSummary.successfulUsers);
|
|
1447
|
+
writer.writeNumberValue("totalRuns", topWorkflowsInsightsSummary.totalRuns);
|
|
1448
|
+
writer.writeNumberValue("totalUsers", topWorkflowsInsightsSummary.totalUsers);
|
|
1449
|
+
writer.writeEnumValue("workflowCategory", topWorkflowsInsightsSummary.workflowCategory);
|
|
1450
|
+
writer.writeStringValue("workflowDisplayName", topWorkflowsInsightsSummary.workflowDisplayName);
|
|
1451
|
+
writer.writeStringValue("workflowId", topWorkflowsInsightsSummary.workflowId);
|
|
1452
|
+
writer.writeNumberValue("workflowVersion", topWorkflowsInsightsSummary.workflowVersion);
|
|
1453
|
+
writer.writeAdditionalData(topWorkflowsInsightsSummary.additionalData);
|
|
1322
1454
|
}
|
|
1323
1455
|
/**
|
|
1324
1456
|
* Serializes information the current object
|
|
1457
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1458
|
+
* @param TriggerAndScopeBasedConditions The instance to serialize from.
|
|
1325
1459
|
* @param writer Serialization writer to use to serialize this model
|
|
1326
1460
|
*/
|
|
1327
1461
|
// @ts-ignore
|
|
1328
|
-
export function serializeTriggerAndScopeBasedConditions(writer, triggerAndScopeBasedConditions = {}) {
|
|
1329
|
-
if (triggerAndScopeBasedConditions) {
|
|
1330
|
-
|
|
1331
|
-
writer.writeObjectValue("scope", triggerAndScopeBasedConditions.scope, serializeSubjectSet);
|
|
1332
|
-
writer.writeObjectValue("trigger", triggerAndScopeBasedConditions.trigger, serializeWorkflowExecutionTrigger);
|
|
1462
|
+
export function serializeTriggerAndScopeBasedConditions(writer, triggerAndScopeBasedConditions = {}, isSerializingDerivedType = false) {
|
|
1463
|
+
if (!triggerAndScopeBasedConditions || isSerializingDerivedType) {
|
|
1464
|
+
return;
|
|
1333
1465
|
}
|
|
1466
|
+
serializeWorkflowExecutionConditions(writer, triggerAndScopeBasedConditions, isSerializingDerivedType);
|
|
1467
|
+
writer.writeObjectValue("scope", triggerAndScopeBasedConditions.scope, serializeSubjectSet);
|
|
1468
|
+
writer.writeObjectValue("trigger", triggerAndScopeBasedConditions.trigger, serializeWorkflowExecutionTrigger);
|
|
1334
1469
|
}
|
|
1335
1470
|
/**
|
|
1336
1471
|
* Serializes information the current object
|
|
1472
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1473
|
+
* @param TriggerAttribute The instance to serialize from.
|
|
1337
1474
|
* @param writer Serialization writer to use to serialize this model
|
|
1338
1475
|
*/
|
|
1339
1476
|
// @ts-ignore
|
|
1340
|
-
export function serializeTriggerAttribute(writer, triggerAttribute = {}) {
|
|
1341
|
-
if (triggerAttribute) {
|
|
1342
|
-
|
|
1343
|
-
writer.writeStringValue("@odata.type", triggerAttribute.odataType);
|
|
1344
|
-
writer.writeAdditionalData(triggerAttribute.additionalData);
|
|
1477
|
+
export function serializeTriggerAttribute(writer, triggerAttribute = {}, isSerializingDerivedType = false) {
|
|
1478
|
+
if (!triggerAttribute || isSerializingDerivedType) {
|
|
1479
|
+
return;
|
|
1345
1480
|
}
|
|
1481
|
+
writer.writeStringValue("name", triggerAttribute.name);
|
|
1482
|
+
writer.writeStringValue("@odata.type", triggerAttribute.odataType);
|
|
1483
|
+
writer.writeAdditionalData(triggerAttribute.additionalData);
|
|
1346
1484
|
}
|
|
1347
1485
|
/**
|
|
1348
1486
|
* Serializes information the current object
|
|
1487
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1488
|
+
* @param UserProcessingResult The instance to serialize from.
|
|
1349
1489
|
* @param writer Serialization writer to use to serialize this model
|
|
1350
1490
|
*/
|
|
1351
1491
|
// @ts-ignore
|
|
1352
|
-
export function serializeUserProcessingResult(writer, userProcessingResult = {}) {
|
|
1353
|
-
if (userProcessingResult) {
|
|
1354
|
-
|
|
1355
|
-
writer.writeDateValue("completedDateTime", userProcessingResult.completedDateTime);
|
|
1356
|
-
writer.writeNumberValue("failedTasksCount", userProcessingResult.failedTasksCount);
|
|
1357
|
-
writer.writeEnumValue("processingStatus", userProcessingResult.processingStatus);
|
|
1358
|
-
writer.writeDateValue("scheduledDateTime", userProcessingResult.scheduledDateTime);
|
|
1359
|
-
writer.writeDateValue("startedDateTime", userProcessingResult.startedDateTime);
|
|
1360
|
-
writer.writeObjectValue("subject", userProcessingResult.subject, serializeUser);
|
|
1361
|
-
writer.writeCollectionOfObjectValues("taskProcessingResults", userProcessingResult.taskProcessingResults, serializeTaskProcessingResult);
|
|
1362
|
-
writer.writeNumberValue("totalTasksCount", userProcessingResult.totalTasksCount);
|
|
1363
|
-
writer.writeNumberValue("totalUnprocessedTasksCount", userProcessingResult.totalUnprocessedTasksCount);
|
|
1364
|
-
writer.writeEnumValue("workflowExecutionType", userProcessingResult.workflowExecutionType);
|
|
1365
|
-
writer.writeNumberValue("workflowVersion", userProcessingResult.workflowVersion);
|
|
1492
|
+
export function serializeUserProcessingResult(writer, userProcessingResult = {}, isSerializingDerivedType = false) {
|
|
1493
|
+
if (!userProcessingResult || isSerializingDerivedType) {
|
|
1494
|
+
return;
|
|
1366
1495
|
}
|
|
1496
|
+
serializeEntity(writer, userProcessingResult, isSerializingDerivedType);
|
|
1497
|
+
writer.writeDateValue("completedDateTime", userProcessingResult.completedDateTime);
|
|
1498
|
+
writer.writeNumberValue("failedTasksCount", userProcessingResult.failedTasksCount);
|
|
1499
|
+
writer.writeEnumValue("processingStatus", userProcessingResult.processingStatus);
|
|
1500
|
+
writer.writeDateValue("scheduledDateTime", userProcessingResult.scheduledDateTime);
|
|
1501
|
+
writer.writeDateValue("startedDateTime", userProcessingResult.startedDateTime);
|
|
1502
|
+
writer.writeObjectValue("subject", userProcessingResult.subject, serializeUser);
|
|
1503
|
+
writer.writeCollectionOfObjectValues("taskProcessingResults", userProcessingResult.taskProcessingResults, serializeTaskProcessingResult);
|
|
1504
|
+
writer.writeNumberValue("totalTasksCount", userProcessingResult.totalTasksCount);
|
|
1505
|
+
writer.writeNumberValue("totalUnprocessedTasksCount", userProcessingResult.totalUnprocessedTasksCount);
|
|
1506
|
+
writer.writeEnumValue("workflowExecutionType", userProcessingResult.workflowExecutionType);
|
|
1507
|
+
writer.writeNumberValue("workflowVersion", userProcessingResult.workflowVersion);
|
|
1367
1508
|
}
|
|
1368
1509
|
/**
|
|
1369
1510
|
* Serializes information the current object
|
|
1511
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1512
|
+
* @param UserProcessingResultCollectionResponse The instance to serialize from.
|
|
1370
1513
|
* @param writer Serialization writer to use to serialize this model
|
|
1371
1514
|
*/
|
|
1372
1515
|
// @ts-ignore
|
|
1373
|
-
export function serializeUserProcessingResultCollectionResponse(writer, userProcessingResultCollectionResponse = {}) {
|
|
1374
|
-
if (userProcessingResultCollectionResponse) {
|
|
1375
|
-
|
|
1376
|
-
writer.writeCollectionOfObjectValues("value", userProcessingResultCollectionResponse.value, serializeUserProcessingResult);
|
|
1516
|
+
export function serializeUserProcessingResultCollectionResponse(writer, userProcessingResultCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1517
|
+
if (!userProcessingResultCollectionResponse || isSerializingDerivedType) {
|
|
1518
|
+
return;
|
|
1377
1519
|
}
|
|
1520
|
+
serializeBaseCollectionPaginationCountResponse(writer, userProcessingResultCollectionResponse, isSerializingDerivedType);
|
|
1521
|
+
writer.writeCollectionOfObjectValues("value", userProcessingResultCollectionResponse.value, serializeUserProcessingResult);
|
|
1378
1522
|
}
|
|
1379
1523
|
/**
|
|
1380
1524
|
* Serializes information the current object
|
|
1525
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1526
|
+
* @param UserSummary The instance to serialize from.
|
|
1381
1527
|
* @param writer Serialization writer to use to serialize this model
|
|
1382
1528
|
*/
|
|
1383
1529
|
// @ts-ignore
|
|
1384
|
-
export function serializeUserSummary(writer, userSummary = {}) {
|
|
1385
|
-
if (userSummary) {
|
|
1386
|
-
|
|
1387
|
-
writer.writeNumberValue("failedUsers", userSummary.failedUsers);
|
|
1388
|
-
writer.writeStringValue("@odata.type", userSummary.odataType);
|
|
1389
|
-
writer.writeNumberValue("successfulUsers", userSummary.successfulUsers);
|
|
1390
|
-
writer.writeNumberValue("totalTasks", userSummary.totalTasks);
|
|
1391
|
-
writer.writeNumberValue("totalUsers", userSummary.totalUsers);
|
|
1392
|
-
writer.writeAdditionalData(userSummary.additionalData);
|
|
1530
|
+
export function serializeUserSummary(writer, userSummary = {}, isSerializingDerivedType = false) {
|
|
1531
|
+
if (!userSummary || isSerializingDerivedType) {
|
|
1532
|
+
return;
|
|
1393
1533
|
}
|
|
1534
|
+
writer.writeNumberValue("failedTasks", userSummary.failedTasks);
|
|
1535
|
+
writer.writeNumberValue("failedUsers", userSummary.failedUsers);
|
|
1536
|
+
writer.writeStringValue("@odata.type", userSummary.odataType);
|
|
1537
|
+
writer.writeNumberValue("successfulUsers", userSummary.successfulUsers);
|
|
1538
|
+
writer.writeNumberValue("totalTasks", userSummary.totalTasks);
|
|
1539
|
+
writer.writeNumberValue("totalUsers", userSummary.totalUsers);
|
|
1540
|
+
writer.writeAdditionalData(userSummary.additionalData);
|
|
1394
1541
|
}
|
|
1395
1542
|
/**
|
|
1396
1543
|
* Serializes information the current object
|
|
1544
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1545
|
+
* @param Workflow The instance to serialize from.
|
|
1397
1546
|
* @param writer Serialization writer to use to serialize this model
|
|
1398
1547
|
*/
|
|
1399
1548
|
// @ts-ignore
|
|
1400
|
-
export function serializeWorkflow(writer, workflow = {}) {
|
|
1401
|
-
if (workflow) {
|
|
1402
|
-
|
|
1403
|
-
writer.writeDateValue("deletedDateTime", workflow.deletedDateTime);
|
|
1404
|
-
writer.writeCollectionOfObjectValues("executionScope", workflow.executionScope, serializeUserProcessingResult);
|
|
1405
|
-
writer.writeStringValue("id", workflow.id);
|
|
1406
|
-
writer.writeDateValue("nextScheduleRunDateTime", workflow.nextScheduleRunDateTime);
|
|
1407
|
-
writer.writeCollectionOfObjectValues("runs", workflow.runs, serializeRun);
|
|
1408
|
-
writer.writeCollectionOfObjectValues("taskReports", workflow.taskReports, serializeTaskReport);
|
|
1409
|
-
writer.writeCollectionOfObjectValues("userProcessingResults", workflow.userProcessingResults, serializeUserProcessingResult);
|
|
1410
|
-
writer.writeNumberValue("version", workflow.version);
|
|
1411
|
-
writer.writeCollectionOfObjectValues("versions", workflow.versions, serializeWorkflowVersion);
|
|
1549
|
+
export function serializeWorkflow(writer, workflow = {}, isSerializingDerivedType = false) {
|
|
1550
|
+
if (!workflow || isSerializingDerivedType) {
|
|
1551
|
+
return;
|
|
1412
1552
|
}
|
|
1553
|
+
serializeWorkflowBase(writer, workflow, isSerializingDerivedType);
|
|
1554
|
+
writer.writeDateValue("deletedDateTime", workflow.deletedDateTime);
|
|
1555
|
+
writer.writeCollectionOfObjectValues("executionScope", workflow.executionScope, serializeUserProcessingResult);
|
|
1556
|
+
writer.writeStringValue("id", workflow.id);
|
|
1557
|
+
writer.writeDateValue("nextScheduleRunDateTime", workflow.nextScheduleRunDateTime);
|
|
1558
|
+
writer.writeCollectionOfObjectValues("runs", workflow.runs, serializeRun);
|
|
1559
|
+
writer.writeCollectionOfObjectValues("taskReports", workflow.taskReports, serializeTaskReport);
|
|
1560
|
+
writer.writeCollectionOfObjectValues("userProcessingResults", workflow.userProcessingResults, serializeUserProcessingResult);
|
|
1561
|
+
writer.writeNumberValue("version", workflow.version);
|
|
1562
|
+
writer.writeCollectionOfObjectValues("versions", workflow.versions, serializeWorkflowVersion);
|
|
1413
1563
|
}
|
|
1414
1564
|
/**
|
|
1415
1565
|
* Serializes information the current object
|
|
1566
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1567
|
+
* @param WorkflowBase The instance to serialize from.
|
|
1416
1568
|
* @param writer Serialization writer to use to serialize this model
|
|
1417
1569
|
*/
|
|
1418
1570
|
// @ts-ignore
|
|
1419
|
-
export function serializeWorkflowBase(writer, workflowBase = {}) {
|
|
1420
|
-
if (workflowBase) {
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1571
|
+
export function serializeWorkflowBase(writer, workflowBase = {}, isSerializingDerivedType = false) {
|
|
1572
|
+
if (!workflowBase || isSerializingDerivedType) {
|
|
1573
|
+
return;
|
|
1574
|
+
}
|
|
1575
|
+
writer.writeEnumValue("category", workflowBase.category);
|
|
1576
|
+
writer.writeObjectValue("createdBy", workflowBase.createdBy, serializeUser);
|
|
1577
|
+
writer.writeDateValue("createdDateTime", workflowBase.createdDateTime);
|
|
1578
|
+
writer.writeStringValue("description", workflowBase.description);
|
|
1579
|
+
writer.writeStringValue("displayName", workflowBase.displayName);
|
|
1580
|
+
writer.writeObjectValue("executionConditions", workflowBase.executionConditions, serializeWorkflowExecutionConditions);
|
|
1581
|
+
writer.writeBooleanValue("isEnabled", workflowBase.isEnabled);
|
|
1582
|
+
writer.writeBooleanValue("isSchedulingEnabled", workflowBase.isSchedulingEnabled);
|
|
1583
|
+
writer.writeObjectValue("lastModifiedBy", workflowBase.lastModifiedBy, serializeUser);
|
|
1584
|
+
writer.writeDateValue("lastModifiedDateTime", workflowBase.lastModifiedDateTime);
|
|
1585
|
+
writer.writeStringValue("@odata.type", workflowBase.odataType);
|
|
1586
|
+
writer.writeCollectionOfObjectValues("tasks", workflowBase.tasks, serializeTask);
|
|
1587
|
+
writer.writeAdditionalData(workflowBase.additionalData);
|
|
1588
|
+
switch (workflowBase.odataType) {
|
|
1589
|
+
case "#microsoft.graph.identityGovernance.workflow":
|
|
1590
|
+
serializeWorkflow(writer, workflowBase, true);
|
|
1591
|
+
break;
|
|
1592
|
+
case "#microsoft.graph.identityGovernance.workflowVersion":
|
|
1593
|
+
serializeWorkflowVersion(writer, workflowBase, true);
|
|
1594
|
+
break;
|
|
1434
1595
|
}
|
|
1435
1596
|
}
|
|
1436
1597
|
/**
|
|
1437
1598
|
* Serializes information the current object
|
|
1599
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1600
|
+
* @param WorkflowCollectionResponse The instance to serialize from.
|
|
1438
1601
|
* @param writer Serialization writer to use to serialize this model
|
|
1439
1602
|
*/
|
|
1440
1603
|
// @ts-ignore
|
|
1441
|
-
export function serializeWorkflowCollectionResponse(writer, workflowCollectionResponse = {}) {
|
|
1442
|
-
if (workflowCollectionResponse) {
|
|
1443
|
-
|
|
1444
|
-
writer.writeCollectionOfObjectValues("value", workflowCollectionResponse.value, serializeWorkflow);
|
|
1604
|
+
export function serializeWorkflowCollectionResponse(writer, workflowCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1605
|
+
if (!workflowCollectionResponse || isSerializingDerivedType) {
|
|
1606
|
+
return;
|
|
1445
1607
|
}
|
|
1608
|
+
serializeBaseCollectionPaginationCountResponse(writer, workflowCollectionResponse, isSerializingDerivedType);
|
|
1609
|
+
writer.writeCollectionOfObjectValues("value", workflowCollectionResponse.value, serializeWorkflow);
|
|
1446
1610
|
}
|
|
1447
1611
|
/**
|
|
1448
1612
|
* Serializes information the current object
|
|
1613
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1614
|
+
* @param WorkflowExecutionConditions The instance to serialize from.
|
|
1449
1615
|
* @param writer Serialization writer to use to serialize this model
|
|
1450
1616
|
*/
|
|
1451
1617
|
// @ts-ignore
|
|
1452
|
-
export function serializeWorkflowExecutionConditions(writer, workflowExecutionConditions = {}) {
|
|
1453
|
-
if (workflowExecutionConditions) {
|
|
1454
|
-
|
|
1455
|
-
|
|
1618
|
+
export function serializeWorkflowExecutionConditions(writer, workflowExecutionConditions = {}, isSerializingDerivedType = false) {
|
|
1619
|
+
if (!workflowExecutionConditions || isSerializingDerivedType) {
|
|
1620
|
+
return;
|
|
1621
|
+
}
|
|
1622
|
+
writer.writeStringValue("@odata.type", workflowExecutionConditions.odataType);
|
|
1623
|
+
writer.writeAdditionalData(workflowExecutionConditions.additionalData);
|
|
1624
|
+
switch (workflowExecutionConditions.odataType) {
|
|
1625
|
+
case "#microsoft.graph.identityGovernance.onDemandExecutionOnly":
|
|
1626
|
+
serializeOnDemandExecutionOnly(writer, workflowExecutionConditions, true);
|
|
1627
|
+
break;
|
|
1628
|
+
case "#microsoft.graph.identityGovernance.triggerAndScopeBasedConditions":
|
|
1629
|
+
serializeTriggerAndScopeBasedConditions(writer, workflowExecutionConditions, true);
|
|
1630
|
+
break;
|
|
1456
1631
|
}
|
|
1457
1632
|
}
|
|
1458
1633
|
/**
|
|
1459
1634
|
* Serializes information the current object
|
|
1635
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1636
|
+
* @param WorkflowExecutionTrigger The instance to serialize from.
|
|
1460
1637
|
* @param writer Serialization writer to use to serialize this model
|
|
1461
1638
|
*/
|
|
1462
1639
|
// @ts-ignore
|
|
1463
|
-
export function serializeWorkflowExecutionTrigger(writer, workflowExecutionTrigger = {}) {
|
|
1464
|
-
if (workflowExecutionTrigger) {
|
|
1465
|
-
|
|
1466
|
-
|
|
1640
|
+
export function serializeWorkflowExecutionTrigger(writer, workflowExecutionTrigger = {}, isSerializingDerivedType = false) {
|
|
1641
|
+
if (!workflowExecutionTrigger || isSerializingDerivedType) {
|
|
1642
|
+
return;
|
|
1643
|
+
}
|
|
1644
|
+
writer.writeStringValue("@odata.type", workflowExecutionTrigger.odataType);
|
|
1645
|
+
writer.writeAdditionalData(workflowExecutionTrigger.additionalData);
|
|
1646
|
+
switch (workflowExecutionTrigger.odataType) {
|
|
1647
|
+
case "#microsoft.graph.identityGovernance.attributeChangeTrigger":
|
|
1648
|
+
serializeAttributeChangeTrigger(writer, workflowExecutionTrigger, true);
|
|
1649
|
+
break;
|
|
1650
|
+
case "#microsoft.graph.identityGovernance.membershipChangeTrigger":
|
|
1651
|
+
serializeMembershipChangeTrigger(writer, workflowExecutionTrigger, true);
|
|
1652
|
+
break;
|
|
1653
|
+
case "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger":
|
|
1654
|
+
serializeTimeBasedAttributeTrigger(writer, workflowExecutionTrigger, true);
|
|
1655
|
+
break;
|
|
1467
1656
|
}
|
|
1468
1657
|
}
|
|
1469
1658
|
/**
|
|
1470
1659
|
* Serializes information the current object
|
|
1660
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1661
|
+
* @param WorkflowsInsightsByCategory The instance to serialize from.
|
|
1471
1662
|
* @param writer Serialization writer to use to serialize this model
|
|
1472
1663
|
*/
|
|
1473
1664
|
// @ts-ignore
|
|
1474
|
-
export function serializeWorkflowsInsightsByCategory(writer, workflowsInsightsByCategory = {}) {
|
|
1475
|
-
if (workflowsInsightsByCategory) {
|
|
1476
|
-
|
|
1477
|
-
writer.writeNumberValue("failedLeaverRuns", workflowsInsightsByCategory.failedLeaverRuns);
|
|
1478
|
-
writer.writeNumberValue("failedMoverRuns", workflowsInsightsByCategory.failedMoverRuns);
|
|
1479
|
-
writer.writeStringValue("@odata.type", workflowsInsightsByCategory.odataType);
|
|
1480
|
-
writer.writeNumberValue("successfulJoinerRuns", workflowsInsightsByCategory.successfulJoinerRuns);
|
|
1481
|
-
writer.writeNumberValue("successfulLeaverRuns", workflowsInsightsByCategory.successfulLeaverRuns);
|
|
1482
|
-
writer.writeNumberValue("successfulMoverRuns", workflowsInsightsByCategory.successfulMoverRuns);
|
|
1483
|
-
writer.writeNumberValue("totalJoinerRuns", workflowsInsightsByCategory.totalJoinerRuns);
|
|
1484
|
-
writer.writeNumberValue("totalLeaverRuns", workflowsInsightsByCategory.totalLeaverRuns);
|
|
1485
|
-
writer.writeNumberValue("totalMoverRuns", workflowsInsightsByCategory.totalMoverRuns);
|
|
1486
|
-
writer.writeAdditionalData(workflowsInsightsByCategory.additionalData);
|
|
1665
|
+
export function serializeWorkflowsInsightsByCategory(writer, workflowsInsightsByCategory = {}, isSerializingDerivedType = false) {
|
|
1666
|
+
if (!workflowsInsightsByCategory || isSerializingDerivedType) {
|
|
1667
|
+
return;
|
|
1487
1668
|
}
|
|
1669
|
+
writer.writeNumberValue("failedJoinerRuns", workflowsInsightsByCategory.failedJoinerRuns);
|
|
1670
|
+
writer.writeNumberValue("failedLeaverRuns", workflowsInsightsByCategory.failedLeaverRuns);
|
|
1671
|
+
writer.writeNumberValue("failedMoverRuns", workflowsInsightsByCategory.failedMoverRuns);
|
|
1672
|
+
writer.writeStringValue("@odata.type", workflowsInsightsByCategory.odataType);
|
|
1673
|
+
writer.writeNumberValue("successfulJoinerRuns", workflowsInsightsByCategory.successfulJoinerRuns);
|
|
1674
|
+
writer.writeNumberValue("successfulLeaverRuns", workflowsInsightsByCategory.successfulLeaverRuns);
|
|
1675
|
+
writer.writeNumberValue("successfulMoverRuns", workflowsInsightsByCategory.successfulMoverRuns);
|
|
1676
|
+
writer.writeNumberValue("totalJoinerRuns", workflowsInsightsByCategory.totalJoinerRuns);
|
|
1677
|
+
writer.writeNumberValue("totalLeaverRuns", workflowsInsightsByCategory.totalLeaverRuns);
|
|
1678
|
+
writer.writeNumberValue("totalMoverRuns", workflowsInsightsByCategory.totalMoverRuns);
|
|
1679
|
+
writer.writeAdditionalData(workflowsInsightsByCategory.additionalData);
|
|
1488
1680
|
}
|
|
1489
1681
|
/**
|
|
1490
1682
|
* Serializes information the current object
|
|
1683
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1684
|
+
* @param WorkflowsInsightsSummary The instance to serialize from.
|
|
1491
1685
|
* @param writer Serialization writer to use to serialize this model
|
|
1492
1686
|
*/
|
|
1493
1687
|
// @ts-ignore
|
|
1494
|
-
export function serializeWorkflowsInsightsSummary(writer, workflowsInsightsSummary = {}) {
|
|
1495
|
-
if (workflowsInsightsSummary) {
|
|
1496
|
-
|
|
1497
|
-
writer.writeNumberValue("failedTasks", workflowsInsightsSummary.failedTasks);
|
|
1498
|
-
writer.writeNumberValue("failedUsers", workflowsInsightsSummary.failedUsers);
|
|
1499
|
-
writer.writeStringValue("@odata.type", workflowsInsightsSummary.odataType);
|
|
1500
|
-
writer.writeNumberValue("successfulRuns", workflowsInsightsSummary.successfulRuns);
|
|
1501
|
-
writer.writeNumberValue("successfulTasks", workflowsInsightsSummary.successfulTasks);
|
|
1502
|
-
writer.writeNumberValue("successfulUsers", workflowsInsightsSummary.successfulUsers);
|
|
1503
|
-
writer.writeNumberValue("totalRuns", workflowsInsightsSummary.totalRuns);
|
|
1504
|
-
writer.writeNumberValue("totalTasks", workflowsInsightsSummary.totalTasks);
|
|
1505
|
-
writer.writeNumberValue("totalUsers", workflowsInsightsSummary.totalUsers);
|
|
1506
|
-
writer.writeAdditionalData(workflowsInsightsSummary.additionalData);
|
|
1688
|
+
export function serializeWorkflowsInsightsSummary(writer, workflowsInsightsSummary = {}, isSerializingDerivedType = false) {
|
|
1689
|
+
if (!workflowsInsightsSummary || isSerializingDerivedType) {
|
|
1690
|
+
return;
|
|
1507
1691
|
}
|
|
1692
|
+
writer.writeNumberValue("failedRuns", workflowsInsightsSummary.failedRuns);
|
|
1693
|
+
writer.writeNumberValue("failedTasks", workflowsInsightsSummary.failedTasks);
|
|
1694
|
+
writer.writeNumberValue("failedUsers", workflowsInsightsSummary.failedUsers);
|
|
1695
|
+
writer.writeStringValue("@odata.type", workflowsInsightsSummary.odataType);
|
|
1696
|
+
writer.writeNumberValue("successfulRuns", workflowsInsightsSummary.successfulRuns);
|
|
1697
|
+
writer.writeNumberValue("successfulTasks", workflowsInsightsSummary.successfulTasks);
|
|
1698
|
+
writer.writeNumberValue("successfulUsers", workflowsInsightsSummary.successfulUsers);
|
|
1699
|
+
writer.writeNumberValue("totalRuns", workflowsInsightsSummary.totalRuns);
|
|
1700
|
+
writer.writeNumberValue("totalTasks", workflowsInsightsSummary.totalTasks);
|
|
1701
|
+
writer.writeNumberValue("totalUsers", workflowsInsightsSummary.totalUsers);
|
|
1702
|
+
writer.writeAdditionalData(workflowsInsightsSummary.additionalData);
|
|
1508
1703
|
}
|
|
1509
1704
|
/**
|
|
1510
1705
|
* Serializes information the current object
|
|
1706
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1707
|
+
* @param WorkflowTemplate The instance to serialize from.
|
|
1511
1708
|
* @param writer Serialization writer to use to serialize this model
|
|
1512
1709
|
*/
|
|
1513
1710
|
// @ts-ignore
|
|
1514
|
-
export function serializeWorkflowTemplate(writer, workflowTemplate = {}) {
|
|
1515
|
-
if (workflowTemplate) {
|
|
1516
|
-
|
|
1517
|
-
writer.writeEnumValue("category", workflowTemplate.category);
|
|
1518
|
-
writer.writeStringValue("description", workflowTemplate.description);
|
|
1519
|
-
writer.writeStringValue("displayName", workflowTemplate.displayName);
|
|
1520
|
-
writer.writeObjectValue("executionConditions", workflowTemplate.executionConditions, serializeWorkflowExecutionConditions);
|
|
1521
|
-
writer.writeCollectionOfObjectValues("tasks", workflowTemplate.tasks, serializeTask);
|
|
1711
|
+
export function serializeWorkflowTemplate(writer, workflowTemplate = {}, isSerializingDerivedType = false) {
|
|
1712
|
+
if (!workflowTemplate || isSerializingDerivedType) {
|
|
1713
|
+
return;
|
|
1522
1714
|
}
|
|
1715
|
+
serializeEntity(writer, workflowTemplate, isSerializingDerivedType);
|
|
1716
|
+
writer.writeEnumValue("category", workflowTemplate.category);
|
|
1717
|
+
writer.writeStringValue("description", workflowTemplate.description);
|
|
1718
|
+
writer.writeStringValue("displayName", workflowTemplate.displayName);
|
|
1719
|
+
writer.writeObjectValue("executionConditions", workflowTemplate.executionConditions, serializeWorkflowExecutionConditions);
|
|
1720
|
+
writer.writeCollectionOfObjectValues("tasks", workflowTemplate.tasks, serializeTask);
|
|
1523
1721
|
}
|
|
1524
1722
|
/**
|
|
1525
1723
|
* Serializes information the current object
|
|
1724
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1725
|
+
* @param WorkflowTemplateCollectionResponse The instance to serialize from.
|
|
1526
1726
|
* @param writer Serialization writer to use to serialize this model
|
|
1527
1727
|
*/
|
|
1528
1728
|
// @ts-ignore
|
|
1529
|
-
export function serializeWorkflowTemplateCollectionResponse(writer, workflowTemplateCollectionResponse = {}) {
|
|
1530
|
-
if (workflowTemplateCollectionResponse) {
|
|
1531
|
-
|
|
1532
|
-
writer.writeCollectionOfObjectValues("value", workflowTemplateCollectionResponse.value, serializeWorkflowTemplate);
|
|
1729
|
+
export function serializeWorkflowTemplateCollectionResponse(writer, workflowTemplateCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1730
|
+
if (!workflowTemplateCollectionResponse || isSerializingDerivedType) {
|
|
1731
|
+
return;
|
|
1533
1732
|
}
|
|
1733
|
+
serializeBaseCollectionPaginationCountResponse(writer, workflowTemplateCollectionResponse, isSerializingDerivedType);
|
|
1734
|
+
writer.writeCollectionOfObjectValues("value", workflowTemplateCollectionResponse.value, serializeWorkflowTemplate);
|
|
1534
1735
|
}
|
|
1535
1736
|
/**
|
|
1536
1737
|
* Serializes information the current object
|
|
1738
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1739
|
+
* @param WorkflowVersion The instance to serialize from.
|
|
1537
1740
|
* @param writer Serialization writer to use to serialize this model
|
|
1538
1741
|
*/
|
|
1539
1742
|
// @ts-ignore
|
|
1540
|
-
export function serializeWorkflowVersion(writer, workflowVersion = {}) {
|
|
1541
|
-
if (workflowVersion) {
|
|
1542
|
-
|
|
1543
|
-
writer.writeNumberValue("versionNumber", workflowVersion.versionNumber);
|
|
1743
|
+
export function serializeWorkflowVersion(writer, workflowVersion = {}, isSerializingDerivedType = false) {
|
|
1744
|
+
if (!workflowVersion || isSerializingDerivedType) {
|
|
1745
|
+
return;
|
|
1544
1746
|
}
|
|
1747
|
+
serializeWorkflowBase(writer, workflowVersion, isSerializingDerivedType);
|
|
1748
|
+
writer.writeNumberValue("versionNumber", workflowVersion.versionNumber);
|
|
1545
1749
|
}
|
|
1546
1750
|
/**
|
|
1547
1751
|
* Serializes information the current object
|
|
1752
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1753
|
+
* @param WorkflowVersionCollectionResponse The instance to serialize from.
|
|
1548
1754
|
* @param writer Serialization writer to use to serialize this model
|
|
1549
1755
|
*/
|
|
1550
1756
|
// @ts-ignore
|
|
1551
|
-
export function serializeWorkflowVersionCollectionResponse(writer, workflowVersionCollectionResponse = {}) {
|
|
1552
|
-
if (workflowVersionCollectionResponse) {
|
|
1553
|
-
|
|
1554
|
-
writer.writeCollectionOfObjectValues("value", workflowVersionCollectionResponse.value, serializeWorkflowVersion);
|
|
1757
|
+
export function serializeWorkflowVersionCollectionResponse(writer, workflowVersionCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1758
|
+
if (!workflowVersionCollectionResponse || isSerializingDerivedType) {
|
|
1759
|
+
return;
|
|
1555
1760
|
}
|
|
1761
|
+
serializeBaseCollectionPaginationCountResponse(writer, workflowVersionCollectionResponse, isSerializingDerivedType);
|
|
1762
|
+
writer.writeCollectionOfObjectValues("value", workflowVersionCollectionResponse.value, serializeWorkflowVersion);
|
|
1556
1763
|
}
|
|
1557
1764
|
export const CustomTaskExtensionOperationStatusObject = {
|
|
1558
1765
|
Completed: "completed",
|