@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
|
@@ -299,6 +299,7 @@ export function createUserIdentityFromDiscriminatorValue(parseNode) {
|
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
301
|
* The deserialization information for the current model
|
|
302
|
+
* @param AdministrativeUnitInfo The instance to deserialize into.
|
|
302
303
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
303
304
|
*/
|
|
304
305
|
// @ts-ignore
|
|
@@ -311,6 +312,7 @@ export function deserializeIntoAdministrativeUnitInfo(administrativeUnitInfo = {
|
|
|
311
312
|
}
|
|
312
313
|
/**
|
|
313
314
|
* The deserialization information for the current model
|
|
315
|
+
* @param CallRecord The instance to deserialize into.
|
|
314
316
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
315
317
|
*/
|
|
316
318
|
// @ts-ignore
|
|
@@ -319,6 +321,7 @@ export function deserializeIntoCallRecord(callRecord = {}) {
|
|
|
319
321
|
}
|
|
320
322
|
/**
|
|
321
323
|
* The deserialization information for the current model
|
|
324
|
+
* @param CallRecordCollectionResponse The instance to deserialize into.
|
|
322
325
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
323
326
|
*/
|
|
324
327
|
// @ts-ignore
|
|
@@ -327,6 +330,7 @@ export function deserializeIntoCallRecordCollectionResponse(callRecordCollection
|
|
|
327
330
|
}
|
|
328
331
|
/**
|
|
329
332
|
* The deserialization information for the current model
|
|
333
|
+
* @param ClientUserAgent The instance to deserialize into.
|
|
330
334
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
331
335
|
*/
|
|
332
336
|
// @ts-ignore
|
|
@@ -335,6 +339,7 @@ export function deserializeIntoClientUserAgent(clientUserAgent = {}) {
|
|
|
335
339
|
}
|
|
336
340
|
/**
|
|
337
341
|
* The deserialization information for the current model
|
|
342
|
+
* @param DeviceInfo The instance to deserialize into.
|
|
338
343
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
339
344
|
*/
|
|
340
345
|
// @ts-ignore
|
|
@@ -367,6 +372,7 @@ export function deserializeIntoDeviceInfo(deviceInfo = {}) {
|
|
|
367
372
|
}
|
|
368
373
|
/**
|
|
369
374
|
* The deserialization information for the current model
|
|
375
|
+
* @param DirectRoutingLogRow The instance to deserialize into.
|
|
370
376
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
371
377
|
*/
|
|
372
378
|
// @ts-ignore
|
|
@@ -399,6 +405,7 @@ export function deserializeIntoDirectRoutingLogRow(directRoutingLogRow = {}) {
|
|
|
399
405
|
}
|
|
400
406
|
/**
|
|
401
407
|
* The deserialization information for the current model
|
|
408
|
+
* @param Endpoint The instance to deserialize into.
|
|
402
409
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
403
410
|
*/
|
|
404
411
|
// @ts-ignore
|
|
@@ -411,6 +418,7 @@ export function deserializeIntoEndpoint(endpoint = {}) {
|
|
|
411
418
|
}
|
|
412
419
|
/**
|
|
413
420
|
* The deserialization information for the current model
|
|
421
|
+
* @param FailureInfo The instance to deserialize into.
|
|
414
422
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
415
423
|
*/
|
|
416
424
|
// @ts-ignore
|
|
@@ -424,6 +432,7 @@ export function deserializeIntoFailureInfo(failureInfo = {}) {
|
|
|
424
432
|
}
|
|
425
433
|
/**
|
|
426
434
|
* The deserialization information for the current model
|
|
435
|
+
* @param FeedbackTokenSet The instance to deserialize into.
|
|
427
436
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
428
437
|
*/
|
|
429
438
|
// @ts-ignore
|
|
@@ -435,6 +444,7 @@ export function deserializeIntoFeedbackTokenSet(feedbackTokenSet = {}) {
|
|
|
435
444
|
}
|
|
436
445
|
/**
|
|
437
446
|
* The deserialization information for the current model
|
|
447
|
+
* @param Media The instance to deserialize into.
|
|
438
448
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
439
449
|
*/
|
|
440
450
|
// @ts-ignore
|
|
@@ -452,6 +462,7 @@ export function deserializeIntoMedia(media = {}) {
|
|
|
452
462
|
}
|
|
453
463
|
/**
|
|
454
464
|
* The deserialization information for the current model
|
|
465
|
+
* @param MediaStream The instance to deserialize into.
|
|
455
466
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
456
467
|
*/
|
|
457
468
|
// @ts-ignore
|
|
@@ -493,6 +504,7 @@ export function deserializeIntoMediaStream(mediaStream = {}) {
|
|
|
493
504
|
}
|
|
494
505
|
/**
|
|
495
506
|
* The deserialization information for the current model
|
|
507
|
+
* @param NetworkInfo The instance to deserialize into.
|
|
496
508
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
497
509
|
*/
|
|
498
510
|
// @ts-ignore
|
|
@@ -530,6 +542,7 @@ export function deserializeIntoNetworkInfo(networkInfo = {}) {
|
|
|
530
542
|
}
|
|
531
543
|
/**
|
|
532
544
|
* The deserialization information for the current model
|
|
545
|
+
* @param Organizer The instance to deserialize into.
|
|
533
546
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
534
547
|
*/
|
|
535
548
|
// @ts-ignore
|
|
@@ -538,6 +551,7 @@ export function deserializeIntoOrganizer(organizer = {}) {
|
|
|
538
551
|
}
|
|
539
552
|
/**
|
|
540
553
|
* The deserialization information for the current model
|
|
554
|
+
* @param Participant The instance to deserialize into.
|
|
541
555
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
542
556
|
*/
|
|
543
557
|
// @ts-ignore
|
|
@@ -546,6 +560,7 @@ export function deserializeIntoParticipant(participant = {}) {
|
|
|
546
560
|
}
|
|
547
561
|
/**
|
|
548
562
|
* The deserialization information for the current model
|
|
563
|
+
* @param ParticipantBase The instance to deserialize into.
|
|
549
564
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
550
565
|
*/
|
|
551
566
|
// @ts-ignore
|
|
@@ -554,6 +569,7 @@ export function deserializeIntoParticipantBase(participantBase = {}) {
|
|
|
554
569
|
}
|
|
555
570
|
/**
|
|
556
571
|
* The deserialization information for the current model
|
|
572
|
+
* @param ParticipantCollectionResponse The instance to deserialize into.
|
|
557
573
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
558
574
|
*/
|
|
559
575
|
// @ts-ignore
|
|
@@ -562,6 +578,7 @@ export function deserializeIntoParticipantCollectionResponse(participantCollecti
|
|
|
562
578
|
}
|
|
563
579
|
/**
|
|
564
580
|
* The deserialization information for the current model
|
|
581
|
+
* @param ParticipantEndpoint The instance to deserialize into.
|
|
565
582
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
566
583
|
*/
|
|
567
584
|
// @ts-ignore
|
|
@@ -570,6 +587,7 @@ export function deserializeIntoParticipantEndpoint(participantEndpoint = {}) {
|
|
|
570
587
|
}
|
|
571
588
|
/**
|
|
572
589
|
* The deserialization information for the current model
|
|
590
|
+
* @param PstnCallLogRow The instance to deserialize into.
|
|
573
591
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
574
592
|
*/
|
|
575
593
|
// @ts-ignore
|
|
@@ -604,6 +622,7 @@ export function deserializeIntoPstnCallLogRow(pstnCallLogRow = {}) {
|
|
|
604
622
|
}
|
|
605
623
|
/**
|
|
606
624
|
* The deserialization information for the current model
|
|
625
|
+
* @param Segment The instance to deserialize into.
|
|
607
626
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
608
627
|
*/
|
|
609
628
|
// @ts-ignore
|
|
@@ -612,6 +631,7 @@ export function deserializeIntoSegment(segment = {}) {
|
|
|
612
631
|
}
|
|
613
632
|
/**
|
|
614
633
|
* The deserialization information for the current model
|
|
634
|
+
* @param SegmentCollectionResponse The instance to deserialize into.
|
|
615
635
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
616
636
|
*/
|
|
617
637
|
// @ts-ignore
|
|
@@ -620,6 +640,7 @@ export function deserializeIntoSegmentCollectionResponse(segmentCollectionRespon
|
|
|
620
640
|
}
|
|
621
641
|
/**
|
|
622
642
|
* The deserialization information for the current model
|
|
643
|
+
* @param ServiceEndpoint The instance to deserialize into.
|
|
623
644
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
624
645
|
*/
|
|
625
646
|
// @ts-ignore
|
|
@@ -628,6 +649,7 @@ export function deserializeIntoServiceEndpoint(serviceEndpoint = {}) {
|
|
|
628
649
|
}
|
|
629
650
|
/**
|
|
630
651
|
* The deserialization information for the current model
|
|
652
|
+
* @param ServiceUserAgent The instance to deserialize into.
|
|
631
653
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
632
654
|
*/
|
|
633
655
|
// @ts-ignore
|
|
@@ -636,6 +658,7 @@ export function deserializeIntoServiceUserAgent(serviceUserAgent = {}) {
|
|
|
636
658
|
}
|
|
637
659
|
/**
|
|
638
660
|
* The deserialization information for the current model
|
|
661
|
+
* @param Session The instance to deserialize into.
|
|
639
662
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
640
663
|
*/
|
|
641
664
|
// @ts-ignore
|
|
@@ -644,6 +667,7 @@ export function deserializeIntoSession(session = {}) {
|
|
|
644
667
|
}
|
|
645
668
|
/**
|
|
646
669
|
* The deserialization information for the current model
|
|
670
|
+
* @param SessionCollectionResponse The instance to deserialize into.
|
|
647
671
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
648
672
|
*/
|
|
649
673
|
// @ts-ignore
|
|
@@ -652,6 +676,7 @@ export function deserializeIntoSessionCollectionResponse(sessionCollectionRespon
|
|
|
652
676
|
}
|
|
653
677
|
/**
|
|
654
678
|
* The deserialization information for the current model
|
|
679
|
+
* @param TraceRouteHop The instance to deserialize into.
|
|
655
680
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
656
681
|
*/
|
|
657
682
|
// @ts-ignore
|
|
@@ -666,6 +691,7 @@ export function deserializeIntoTraceRouteHop(traceRouteHop = {}) {
|
|
|
666
691
|
}
|
|
667
692
|
/**
|
|
668
693
|
* The deserialization information for the current model
|
|
694
|
+
* @param UserAgent The instance to deserialize into.
|
|
669
695
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
670
696
|
*/
|
|
671
697
|
// @ts-ignore
|
|
@@ -679,6 +705,7 @@ export function deserializeIntoUserAgent(userAgent = {}) {
|
|
|
679
705
|
}
|
|
680
706
|
/**
|
|
681
707
|
* The deserialization information for the current model
|
|
708
|
+
* @param UserFeedback The instance to deserialize into.
|
|
682
709
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
683
710
|
*/
|
|
684
711
|
// @ts-ignore
|
|
@@ -693,6 +720,7 @@ export function deserializeIntoUserFeedback(userFeedback = {}) {
|
|
|
693
720
|
}
|
|
694
721
|
/**
|
|
695
722
|
* The deserialization information for the current model
|
|
723
|
+
* @param UserIdentity The instance to deserialize into.
|
|
696
724
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
697
725
|
*/
|
|
698
726
|
// @ts-ignore
|
|
@@ -701,482 +729,590 @@ export function deserializeIntoUserIdentity(userIdentity = {}) {
|
|
|
701
729
|
}
|
|
702
730
|
/**
|
|
703
731
|
* Serializes information the current object
|
|
732
|
+
* @param AdministrativeUnitInfo The instance to serialize from.
|
|
733
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
704
734
|
* @param writer Serialization writer to use to serialize this model
|
|
705
735
|
*/
|
|
706
736
|
// @ts-ignore
|
|
707
|
-
export function serializeAdministrativeUnitInfo(writer, administrativeUnitInfo = {}) {
|
|
708
|
-
if (administrativeUnitInfo) {
|
|
709
|
-
|
|
710
|
-
writer.writeStringValue("@odata.type", administrativeUnitInfo.odataType);
|
|
711
|
-
writer.writeAdditionalData(administrativeUnitInfo.additionalData);
|
|
737
|
+
export function serializeAdministrativeUnitInfo(writer, administrativeUnitInfo = {}, isSerializingDerivedType = false) {
|
|
738
|
+
if (!administrativeUnitInfo || isSerializingDerivedType) {
|
|
739
|
+
return;
|
|
712
740
|
}
|
|
741
|
+
writer.writeStringValue("id", administrativeUnitInfo.id);
|
|
742
|
+
writer.writeStringValue("@odata.type", administrativeUnitInfo.odataType);
|
|
743
|
+
writer.writeAdditionalData(administrativeUnitInfo.additionalData);
|
|
713
744
|
}
|
|
714
745
|
/**
|
|
715
746
|
* Serializes information the current object
|
|
747
|
+
* @param CallRecord The instance to serialize from.
|
|
748
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
716
749
|
* @param writer Serialization writer to use to serialize this model
|
|
717
750
|
*/
|
|
718
751
|
// @ts-ignore
|
|
719
|
-
export function serializeCallRecord(writer, callRecord = {}) {
|
|
720
|
-
if (callRecord) {
|
|
721
|
-
|
|
722
|
-
writer.writeDateValue("endDateTime", callRecord.endDateTime);
|
|
723
|
-
writer.writeStringValue("joinWebUrl", callRecord.joinWebUrl);
|
|
724
|
-
writer.writeDateValue("lastModifiedDateTime", callRecord.lastModifiedDateTime);
|
|
725
|
-
if (callRecord.modalities)
|
|
726
|
-
writer.writeCollectionOfEnumValues("modalities", callRecord.modalities);
|
|
727
|
-
writer.writeObjectValue("organizer", callRecord.organizer, serializeIdentitySet);
|
|
728
|
-
writer.writeObjectValue("organizer_v2", callRecord.organizerV2, serializeOrganizer);
|
|
729
|
-
writer.writeCollectionOfObjectValues("participants", callRecord.participants, serializeIdentitySet);
|
|
730
|
-
writer.writeCollectionOfObjectValues("participants_v2", callRecord.participantsV2, serializeParticipant);
|
|
731
|
-
writer.writeCollectionOfObjectValues("sessions", callRecord.sessions, serializeSession);
|
|
732
|
-
writer.writeDateValue("startDateTime", callRecord.startDateTime);
|
|
733
|
-
writer.writeEnumValue("type", callRecord.type);
|
|
734
|
-
writer.writeNumberValue("version", callRecord.version);
|
|
752
|
+
export function serializeCallRecord(writer, callRecord = {}, isSerializingDerivedType = false) {
|
|
753
|
+
if (!callRecord || isSerializingDerivedType) {
|
|
754
|
+
return;
|
|
735
755
|
}
|
|
756
|
+
serializeEntity(writer, callRecord, isSerializingDerivedType);
|
|
757
|
+
writer.writeDateValue("endDateTime", callRecord.endDateTime);
|
|
758
|
+
writer.writeStringValue("joinWebUrl", callRecord.joinWebUrl);
|
|
759
|
+
writer.writeDateValue("lastModifiedDateTime", callRecord.lastModifiedDateTime);
|
|
760
|
+
if (callRecord.modalities)
|
|
761
|
+
writer.writeCollectionOfEnumValues("modalities", callRecord.modalities);
|
|
762
|
+
writer.writeObjectValue("organizer", callRecord.organizer, serializeIdentitySet);
|
|
763
|
+
writer.writeObjectValue("organizer_v2", callRecord.organizerV2, serializeOrganizer);
|
|
764
|
+
writer.writeCollectionOfObjectValues("participants", callRecord.participants, serializeIdentitySet);
|
|
765
|
+
writer.writeCollectionOfObjectValues("participants_v2", callRecord.participantsV2, serializeParticipant);
|
|
766
|
+
writer.writeCollectionOfObjectValues("sessions", callRecord.sessions, serializeSession);
|
|
767
|
+
writer.writeDateValue("startDateTime", callRecord.startDateTime);
|
|
768
|
+
writer.writeEnumValue("type", callRecord.type);
|
|
769
|
+
writer.writeNumberValue("version", callRecord.version);
|
|
736
770
|
}
|
|
737
771
|
/**
|
|
738
772
|
* Serializes information the current object
|
|
773
|
+
* @param CallRecordCollectionResponse The instance to serialize from.
|
|
774
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
739
775
|
* @param writer Serialization writer to use to serialize this model
|
|
740
776
|
*/
|
|
741
777
|
// @ts-ignore
|
|
742
|
-
export function serializeCallRecordCollectionResponse(writer, callRecordCollectionResponse = {}) {
|
|
743
|
-
if (callRecordCollectionResponse) {
|
|
744
|
-
|
|
745
|
-
writer.writeCollectionOfObjectValues("value", callRecordCollectionResponse.value, serializeCallRecord);
|
|
778
|
+
export function serializeCallRecordCollectionResponse(writer, callRecordCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
779
|
+
if (!callRecordCollectionResponse || isSerializingDerivedType) {
|
|
780
|
+
return;
|
|
746
781
|
}
|
|
782
|
+
serializeBaseCollectionPaginationCountResponse(writer, callRecordCollectionResponse, isSerializingDerivedType);
|
|
783
|
+
writer.writeCollectionOfObjectValues("value", callRecordCollectionResponse.value, serializeCallRecord);
|
|
747
784
|
}
|
|
748
785
|
/**
|
|
749
786
|
* Serializes information the current object
|
|
787
|
+
* @param ClientUserAgent The instance to serialize from.
|
|
788
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
750
789
|
* @param writer Serialization writer to use to serialize this model
|
|
751
790
|
*/
|
|
752
791
|
// @ts-ignore
|
|
753
|
-
export function serializeClientUserAgent(writer, clientUserAgent = {}) {
|
|
754
|
-
if (clientUserAgent) {
|
|
755
|
-
|
|
756
|
-
writer.writeStringValue("azureADAppId", clientUserAgent.azureADAppId);
|
|
757
|
-
writer.writeStringValue("communicationServiceId", clientUserAgent.communicationServiceId);
|
|
758
|
-
writer.writeEnumValue("platform", clientUserAgent.platform);
|
|
759
|
-
writer.writeEnumValue("productFamily", clientUserAgent.productFamily);
|
|
792
|
+
export function serializeClientUserAgent(writer, clientUserAgent = {}, isSerializingDerivedType = false) {
|
|
793
|
+
if (!clientUserAgent || isSerializingDerivedType) {
|
|
794
|
+
return;
|
|
760
795
|
}
|
|
796
|
+
serializeUserAgent(writer, clientUserAgent, isSerializingDerivedType);
|
|
797
|
+
writer.writeStringValue("azureADAppId", clientUserAgent.azureADAppId);
|
|
798
|
+
writer.writeStringValue("communicationServiceId", clientUserAgent.communicationServiceId);
|
|
799
|
+
writer.writeEnumValue("platform", clientUserAgent.platform);
|
|
800
|
+
writer.writeEnumValue("productFamily", clientUserAgent.productFamily);
|
|
761
801
|
}
|
|
762
802
|
/**
|
|
763
803
|
* Serializes information the current object
|
|
804
|
+
* @param DeviceInfo The instance to serialize from.
|
|
805
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
764
806
|
* @param writer Serialization writer to use to serialize this model
|
|
765
807
|
*/
|
|
766
808
|
// @ts-ignore
|
|
767
|
-
export function serializeDeviceInfo(writer, deviceInfo = {}) {
|
|
768
|
-
if (deviceInfo) {
|
|
769
|
-
|
|
770
|
-
writer.writeStringValue("captureDeviceName", deviceInfo.captureDeviceName);
|
|
771
|
-
writer.writeNumberValue("captureNotFunctioningEventRatio", deviceInfo.captureNotFunctioningEventRatio);
|
|
772
|
-
writer.writeNumberValue("cpuInsufficentEventRatio", deviceInfo.cpuInsufficentEventRatio);
|
|
773
|
-
writer.writeNumberValue("deviceClippingEventRatio", deviceInfo.deviceClippingEventRatio);
|
|
774
|
-
writer.writeNumberValue("deviceGlitchEventRatio", deviceInfo.deviceGlitchEventRatio);
|
|
775
|
-
writer.writeNumberValue("howlingEventCount", deviceInfo.howlingEventCount);
|
|
776
|
-
writer.writeNumberValue("initialSignalLevelRootMeanSquare", deviceInfo.initialSignalLevelRootMeanSquare);
|
|
777
|
-
writer.writeNumberValue("lowSpeechLevelEventRatio", deviceInfo.lowSpeechLevelEventRatio);
|
|
778
|
-
writer.writeNumberValue("lowSpeechToNoiseEventRatio", deviceInfo.lowSpeechToNoiseEventRatio);
|
|
779
|
-
writer.writeNumberValue("micGlitchRate", deviceInfo.micGlitchRate);
|
|
780
|
-
writer.writeStringValue("@odata.type", deviceInfo.odataType);
|
|
781
|
-
writer.writeNumberValue("receivedNoiseLevel", deviceInfo.receivedNoiseLevel);
|
|
782
|
-
writer.writeNumberValue("receivedSignalLevel", deviceInfo.receivedSignalLevel);
|
|
783
|
-
writer.writeStringValue("renderDeviceDriver", deviceInfo.renderDeviceDriver);
|
|
784
|
-
writer.writeStringValue("renderDeviceName", deviceInfo.renderDeviceName);
|
|
785
|
-
writer.writeNumberValue("renderMuteEventRatio", deviceInfo.renderMuteEventRatio);
|
|
786
|
-
writer.writeNumberValue("renderNotFunctioningEventRatio", deviceInfo.renderNotFunctioningEventRatio);
|
|
787
|
-
writer.writeNumberValue("renderZeroVolumeEventRatio", deviceInfo.renderZeroVolumeEventRatio);
|
|
788
|
-
writer.writeNumberValue("sentNoiseLevel", deviceInfo.sentNoiseLevel);
|
|
789
|
-
writer.writeNumberValue("sentSignalLevel", deviceInfo.sentSignalLevel);
|
|
790
|
-
writer.writeNumberValue("speakerGlitchRate", deviceInfo.speakerGlitchRate);
|
|
791
|
-
writer.writeAdditionalData(deviceInfo.additionalData);
|
|
809
|
+
export function serializeDeviceInfo(writer, deviceInfo = {}, isSerializingDerivedType = false) {
|
|
810
|
+
if (!deviceInfo || isSerializingDerivedType) {
|
|
811
|
+
return;
|
|
792
812
|
}
|
|
813
|
+
writer.writeStringValue("captureDeviceDriver", deviceInfo.captureDeviceDriver);
|
|
814
|
+
writer.writeStringValue("captureDeviceName", deviceInfo.captureDeviceName);
|
|
815
|
+
writer.writeNumberValue("captureNotFunctioningEventRatio", deviceInfo.captureNotFunctioningEventRatio);
|
|
816
|
+
writer.writeNumberValue("cpuInsufficentEventRatio", deviceInfo.cpuInsufficentEventRatio);
|
|
817
|
+
writer.writeNumberValue("deviceClippingEventRatio", deviceInfo.deviceClippingEventRatio);
|
|
818
|
+
writer.writeNumberValue("deviceGlitchEventRatio", deviceInfo.deviceGlitchEventRatio);
|
|
819
|
+
writer.writeNumberValue("howlingEventCount", deviceInfo.howlingEventCount);
|
|
820
|
+
writer.writeNumberValue("initialSignalLevelRootMeanSquare", deviceInfo.initialSignalLevelRootMeanSquare);
|
|
821
|
+
writer.writeNumberValue("lowSpeechLevelEventRatio", deviceInfo.lowSpeechLevelEventRatio);
|
|
822
|
+
writer.writeNumberValue("lowSpeechToNoiseEventRatio", deviceInfo.lowSpeechToNoiseEventRatio);
|
|
823
|
+
writer.writeNumberValue("micGlitchRate", deviceInfo.micGlitchRate);
|
|
824
|
+
writer.writeStringValue("@odata.type", deviceInfo.odataType);
|
|
825
|
+
writer.writeNumberValue("receivedNoiseLevel", deviceInfo.receivedNoiseLevel);
|
|
826
|
+
writer.writeNumberValue("receivedSignalLevel", deviceInfo.receivedSignalLevel);
|
|
827
|
+
writer.writeStringValue("renderDeviceDriver", deviceInfo.renderDeviceDriver);
|
|
828
|
+
writer.writeStringValue("renderDeviceName", deviceInfo.renderDeviceName);
|
|
829
|
+
writer.writeNumberValue("renderMuteEventRatio", deviceInfo.renderMuteEventRatio);
|
|
830
|
+
writer.writeNumberValue("renderNotFunctioningEventRatio", deviceInfo.renderNotFunctioningEventRatio);
|
|
831
|
+
writer.writeNumberValue("renderZeroVolumeEventRatio", deviceInfo.renderZeroVolumeEventRatio);
|
|
832
|
+
writer.writeNumberValue("sentNoiseLevel", deviceInfo.sentNoiseLevel);
|
|
833
|
+
writer.writeNumberValue("sentSignalLevel", deviceInfo.sentSignalLevel);
|
|
834
|
+
writer.writeNumberValue("speakerGlitchRate", deviceInfo.speakerGlitchRate);
|
|
835
|
+
writer.writeAdditionalData(deviceInfo.additionalData);
|
|
793
836
|
}
|
|
794
837
|
/**
|
|
795
838
|
* Serializes information the current object
|
|
839
|
+
* @param DirectRoutingLogRow The instance to serialize from.
|
|
840
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
796
841
|
* @param writer Serialization writer to use to serialize this model
|
|
797
842
|
*/
|
|
798
843
|
// @ts-ignore
|
|
799
|
-
export function serializeDirectRoutingLogRow(writer, directRoutingLogRow = {}) {
|
|
800
|
-
if (directRoutingLogRow) {
|
|
801
|
-
|
|
802
|
-
writer.writeNumberValue("callEndSubReason", directRoutingLogRow.callEndSubReason);
|
|
803
|
-
writer.writeStringValue("callerNumber", directRoutingLogRow.callerNumber);
|
|
804
|
-
writer.writeStringValue("callType", directRoutingLogRow.callType);
|
|
805
|
-
writer.writeStringValue("correlationId", directRoutingLogRow.correlationId);
|
|
806
|
-
writer.writeNumberValue("duration", directRoutingLogRow.duration);
|
|
807
|
-
writer.writeDateValue("endDateTime", directRoutingLogRow.endDateTime);
|
|
808
|
-
writer.writeDateValue("failureDateTime", directRoutingLogRow.failureDateTime);
|
|
809
|
-
writer.writeNumberValue("finalSipCode", directRoutingLogRow.finalSipCode);
|
|
810
|
-
writer.writeStringValue("finalSipCodePhrase", directRoutingLogRow.finalSipCodePhrase);
|
|
811
|
-
writer.writeStringValue("id", directRoutingLogRow.id);
|
|
812
|
-
writer.writeDateValue("inviteDateTime", directRoutingLogRow.inviteDateTime);
|
|
813
|
-
writer.writeBooleanValue("mediaBypassEnabled", directRoutingLogRow.mediaBypassEnabled);
|
|
814
|
-
writer.writeStringValue("mediaPathLocation", directRoutingLogRow.mediaPathLocation);
|
|
815
|
-
writer.writeStringValue("@odata.type", directRoutingLogRow.odataType);
|
|
816
|
-
writer.writeStringValue("signalingLocation", directRoutingLogRow.signalingLocation);
|
|
817
|
-
writer.writeDateValue("startDateTime", directRoutingLogRow.startDateTime);
|
|
818
|
-
writer.writeBooleanValue("successfulCall", directRoutingLogRow.successfulCall);
|
|
819
|
-
writer.writeStringValue("trunkFullyQualifiedDomainName", directRoutingLogRow.trunkFullyQualifiedDomainName);
|
|
820
|
-
writer.writeStringValue("userDisplayName", directRoutingLogRow.userDisplayName);
|
|
821
|
-
writer.writeStringValue("userId", directRoutingLogRow.userId);
|
|
822
|
-
writer.writeStringValue("userPrincipalName", directRoutingLogRow.userPrincipalName);
|
|
823
|
-
writer.writeAdditionalData(directRoutingLogRow.additionalData);
|
|
844
|
+
export function serializeDirectRoutingLogRow(writer, directRoutingLogRow = {}, isSerializingDerivedType = false) {
|
|
845
|
+
if (!directRoutingLogRow || isSerializingDerivedType) {
|
|
846
|
+
return;
|
|
824
847
|
}
|
|
848
|
+
writer.writeStringValue("calleeNumber", directRoutingLogRow.calleeNumber);
|
|
849
|
+
writer.writeNumberValue("callEndSubReason", directRoutingLogRow.callEndSubReason);
|
|
850
|
+
writer.writeStringValue("callerNumber", directRoutingLogRow.callerNumber);
|
|
851
|
+
writer.writeStringValue("callType", directRoutingLogRow.callType);
|
|
852
|
+
writer.writeStringValue("correlationId", directRoutingLogRow.correlationId);
|
|
853
|
+
writer.writeNumberValue("duration", directRoutingLogRow.duration);
|
|
854
|
+
writer.writeDateValue("endDateTime", directRoutingLogRow.endDateTime);
|
|
855
|
+
writer.writeDateValue("failureDateTime", directRoutingLogRow.failureDateTime);
|
|
856
|
+
writer.writeNumberValue("finalSipCode", directRoutingLogRow.finalSipCode);
|
|
857
|
+
writer.writeStringValue("finalSipCodePhrase", directRoutingLogRow.finalSipCodePhrase);
|
|
858
|
+
writer.writeStringValue("id", directRoutingLogRow.id);
|
|
859
|
+
writer.writeDateValue("inviteDateTime", directRoutingLogRow.inviteDateTime);
|
|
860
|
+
writer.writeBooleanValue("mediaBypassEnabled", directRoutingLogRow.mediaBypassEnabled);
|
|
861
|
+
writer.writeStringValue("mediaPathLocation", directRoutingLogRow.mediaPathLocation);
|
|
862
|
+
writer.writeStringValue("@odata.type", directRoutingLogRow.odataType);
|
|
863
|
+
writer.writeStringValue("signalingLocation", directRoutingLogRow.signalingLocation);
|
|
864
|
+
writer.writeDateValue("startDateTime", directRoutingLogRow.startDateTime);
|
|
865
|
+
writer.writeBooleanValue("successfulCall", directRoutingLogRow.successfulCall);
|
|
866
|
+
writer.writeStringValue("trunkFullyQualifiedDomainName", directRoutingLogRow.trunkFullyQualifiedDomainName);
|
|
867
|
+
writer.writeStringValue("userDisplayName", directRoutingLogRow.userDisplayName);
|
|
868
|
+
writer.writeStringValue("userId", directRoutingLogRow.userId);
|
|
869
|
+
writer.writeStringValue("userPrincipalName", directRoutingLogRow.userPrincipalName);
|
|
870
|
+
writer.writeAdditionalData(directRoutingLogRow.additionalData);
|
|
825
871
|
}
|
|
826
872
|
/**
|
|
827
873
|
* Serializes information the current object
|
|
874
|
+
* @param Endpoint The instance to serialize from.
|
|
875
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
828
876
|
* @param writer Serialization writer to use to serialize this model
|
|
829
877
|
*/
|
|
830
878
|
// @ts-ignore
|
|
831
|
-
export function serializeEndpoint(writer, endpoint = {}) {
|
|
832
|
-
if (endpoint) {
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
879
|
+
export function serializeEndpoint(writer, endpoint = {}, isSerializingDerivedType = false) {
|
|
880
|
+
if (!endpoint || isSerializingDerivedType) {
|
|
881
|
+
return;
|
|
882
|
+
}
|
|
883
|
+
writer.writeStringValue("@odata.type", endpoint.odataType);
|
|
884
|
+
writer.writeObjectValue("userAgent", endpoint.userAgent, serializeUserAgent);
|
|
885
|
+
writer.writeAdditionalData(endpoint.additionalData);
|
|
886
|
+
switch (endpoint.odataType) {
|
|
887
|
+
case "#microsoft.graph.callRecords.participantEndpoint":
|
|
888
|
+
serializeParticipantEndpoint(writer, endpoint, true);
|
|
889
|
+
break;
|
|
890
|
+
case "#microsoft.graph.callRecords.serviceEndpoint":
|
|
891
|
+
serializeServiceEndpoint(writer, endpoint, true);
|
|
892
|
+
break;
|
|
836
893
|
}
|
|
837
894
|
}
|
|
838
895
|
/**
|
|
839
896
|
* Serializes information the current object
|
|
897
|
+
* @param FailureInfo The instance to serialize from.
|
|
898
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
840
899
|
* @param writer Serialization writer to use to serialize this model
|
|
841
900
|
*/
|
|
842
901
|
// @ts-ignore
|
|
843
|
-
export function serializeFailureInfo(writer, failureInfo = {}) {
|
|
844
|
-
if (failureInfo) {
|
|
845
|
-
|
|
846
|
-
writer.writeStringValue("reason", failureInfo.reason);
|
|
847
|
-
writer.writeEnumValue("stage", failureInfo.stage);
|
|
848
|
-
writer.writeAdditionalData(failureInfo.additionalData);
|
|
902
|
+
export function serializeFailureInfo(writer, failureInfo = {}, isSerializingDerivedType = false) {
|
|
903
|
+
if (!failureInfo || isSerializingDerivedType) {
|
|
904
|
+
return;
|
|
849
905
|
}
|
|
906
|
+
writer.writeStringValue("@odata.type", failureInfo.odataType);
|
|
907
|
+
writer.writeStringValue("reason", failureInfo.reason);
|
|
908
|
+
writer.writeEnumValue("stage", failureInfo.stage);
|
|
909
|
+
writer.writeAdditionalData(failureInfo.additionalData);
|
|
850
910
|
}
|
|
851
911
|
/**
|
|
852
912
|
* Serializes information the current object
|
|
913
|
+
* @param FeedbackTokenSet The instance to serialize from.
|
|
914
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
853
915
|
* @param writer Serialization writer to use to serialize this model
|
|
854
916
|
*/
|
|
855
917
|
// @ts-ignore
|
|
856
|
-
export function serializeFeedbackTokenSet(writer, feedbackTokenSet = {}) {
|
|
857
|
-
if (feedbackTokenSet) {
|
|
858
|
-
|
|
859
|
-
writer.writeAdditionalData(feedbackTokenSet.additionalData);
|
|
918
|
+
export function serializeFeedbackTokenSet(writer, feedbackTokenSet = {}, isSerializingDerivedType = false) {
|
|
919
|
+
if (!feedbackTokenSet || isSerializingDerivedType) {
|
|
920
|
+
return;
|
|
860
921
|
}
|
|
922
|
+
writer.writeStringValue("@odata.type", feedbackTokenSet.odataType);
|
|
923
|
+
writer.writeAdditionalData(feedbackTokenSet.additionalData);
|
|
861
924
|
}
|
|
862
925
|
/**
|
|
863
926
|
* Serializes information the current object
|
|
927
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
928
|
+
* @param Media The instance to serialize from.
|
|
864
929
|
* @param writer Serialization writer to use to serialize this model
|
|
865
930
|
*/
|
|
866
931
|
// @ts-ignore
|
|
867
|
-
export function serializeMedia(writer, media = {}) {
|
|
868
|
-
if (media) {
|
|
869
|
-
|
|
870
|
-
writer.writeObjectValue("calleeNetwork", media.calleeNetwork, serializeNetworkInfo);
|
|
871
|
-
writer.writeObjectValue("callerDevice", media.callerDevice, serializeDeviceInfo);
|
|
872
|
-
writer.writeObjectValue("callerNetwork", media.callerNetwork, serializeNetworkInfo);
|
|
873
|
-
writer.writeStringValue("label", media.label);
|
|
874
|
-
writer.writeStringValue("@odata.type", media.odataType);
|
|
875
|
-
writer.writeCollectionOfObjectValues("streams", media.streams, serializeMediaStream);
|
|
876
|
-
writer.writeAdditionalData(media.additionalData);
|
|
932
|
+
export function serializeMedia(writer, media = {}, isSerializingDerivedType = false) {
|
|
933
|
+
if (!media || isSerializingDerivedType) {
|
|
934
|
+
return;
|
|
877
935
|
}
|
|
936
|
+
writer.writeObjectValue("calleeDevice", media.calleeDevice, serializeDeviceInfo);
|
|
937
|
+
writer.writeObjectValue("calleeNetwork", media.calleeNetwork, serializeNetworkInfo);
|
|
938
|
+
writer.writeObjectValue("callerDevice", media.callerDevice, serializeDeviceInfo);
|
|
939
|
+
writer.writeObjectValue("callerNetwork", media.callerNetwork, serializeNetworkInfo);
|
|
940
|
+
writer.writeStringValue("label", media.label);
|
|
941
|
+
writer.writeStringValue("@odata.type", media.odataType);
|
|
942
|
+
writer.writeCollectionOfObjectValues("streams", media.streams, serializeMediaStream);
|
|
943
|
+
writer.writeAdditionalData(media.additionalData);
|
|
878
944
|
}
|
|
879
945
|
/**
|
|
880
946
|
* Serializes information the current object
|
|
947
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
948
|
+
* @param MediaStream The instance to serialize from.
|
|
881
949
|
* @param writer Serialization writer to use to serialize this model
|
|
882
950
|
*/
|
|
883
951
|
// @ts-ignore
|
|
884
|
-
export function serializeMediaStream(writer, mediaStream = {}) {
|
|
885
|
-
if (mediaStream) {
|
|
886
|
-
|
|
887
|
-
writer.writeNumberValue("averageAudioDegradation", mediaStream.averageAudioDegradation);
|
|
888
|
-
writer.writeDurationValue("averageAudioNetworkJitter", mediaStream.averageAudioNetworkJitter);
|
|
889
|
-
writer.writeNumberValue("averageBandwidthEstimate", mediaStream.averageBandwidthEstimate);
|
|
890
|
-
writer.writeDurationValue("averageFreezeDuration", mediaStream.averageFreezeDuration);
|
|
891
|
-
writer.writeDurationValue("averageJitter", mediaStream.averageJitter);
|
|
892
|
-
writer.writeNumberValue("averagePacketLossRate", mediaStream.averagePacketLossRate);
|
|
893
|
-
writer.writeNumberValue("averageRatioOfConcealedSamples", mediaStream.averageRatioOfConcealedSamples);
|
|
894
|
-
writer.writeNumberValue("averageReceivedFrameRate", mediaStream.averageReceivedFrameRate);
|
|
895
|
-
writer.writeDurationValue("averageRoundTripTime", mediaStream.averageRoundTripTime);
|
|
896
|
-
writer.writeNumberValue("averageVideoFrameLossPercentage", mediaStream.averageVideoFrameLossPercentage);
|
|
897
|
-
writer.writeNumberValue("averageVideoFrameRate", mediaStream.averageVideoFrameRate);
|
|
898
|
-
writer.writeNumberValue("averageVideoPacketLossRate", mediaStream.averageVideoPacketLossRate);
|
|
899
|
-
writer.writeDateValue("endDateTime", mediaStream.endDateTime);
|
|
900
|
-
writer.writeBooleanValue("isAudioForwardErrorCorrectionUsed", mediaStream.isAudioForwardErrorCorrectionUsed);
|
|
901
|
-
writer.writeNumberValue("lowFrameRateRatio", mediaStream.lowFrameRateRatio);
|
|
902
|
-
writer.writeNumberValue("lowVideoProcessingCapabilityRatio", mediaStream.lowVideoProcessingCapabilityRatio);
|
|
903
|
-
writer.writeDurationValue("maxAudioNetworkJitter", mediaStream.maxAudioNetworkJitter);
|
|
904
|
-
writer.writeDurationValue("maxJitter", mediaStream.maxJitter);
|
|
905
|
-
writer.writeNumberValue("maxPacketLossRate", mediaStream.maxPacketLossRate);
|
|
906
|
-
writer.writeNumberValue("maxRatioOfConcealedSamples", mediaStream.maxRatioOfConcealedSamples);
|
|
907
|
-
writer.writeDurationValue("maxRoundTripTime", mediaStream.maxRoundTripTime);
|
|
908
|
-
writer.writeStringValue("@odata.type", mediaStream.odataType);
|
|
909
|
-
writer.writeNumberValue("packetUtilization", mediaStream.packetUtilization);
|
|
910
|
-
writer.writeNumberValue("postForwardErrorCorrectionPacketLossRate", mediaStream.postForwardErrorCorrectionPacketLossRate);
|
|
911
|
-
writer.writeDurationValue("rmsFreezeDuration", mediaStream.rmsFreezeDuration);
|
|
912
|
-
writer.writeDateValue("startDateTime", mediaStream.startDateTime);
|
|
913
|
-
writer.writeEnumValue("streamDirection", mediaStream.streamDirection);
|
|
914
|
-
writer.writeStringValue("streamId", mediaStream.streamId);
|
|
915
|
-
writer.writeEnumValue("videoCodec", mediaStream.videoCodec);
|
|
916
|
-
writer.writeBooleanValue("wasMediaBypassed", mediaStream.wasMediaBypassed);
|
|
917
|
-
writer.writeAdditionalData(mediaStream.additionalData);
|
|
952
|
+
export function serializeMediaStream(writer, mediaStream = {}, isSerializingDerivedType = false) {
|
|
953
|
+
if (!mediaStream || isSerializingDerivedType) {
|
|
954
|
+
return;
|
|
918
955
|
}
|
|
956
|
+
writer.writeEnumValue("audioCodec", mediaStream.audioCodec);
|
|
957
|
+
writer.writeNumberValue("averageAudioDegradation", mediaStream.averageAudioDegradation);
|
|
958
|
+
writer.writeDurationValue("averageAudioNetworkJitter", mediaStream.averageAudioNetworkJitter);
|
|
959
|
+
writer.writeNumberValue("averageBandwidthEstimate", mediaStream.averageBandwidthEstimate);
|
|
960
|
+
writer.writeDurationValue("averageFreezeDuration", mediaStream.averageFreezeDuration);
|
|
961
|
+
writer.writeDurationValue("averageJitter", mediaStream.averageJitter);
|
|
962
|
+
writer.writeNumberValue("averagePacketLossRate", mediaStream.averagePacketLossRate);
|
|
963
|
+
writer.writeNumberValue("averageRatioOfConcealedSamples", mediaStream.averageRatioOfConcealedSamples);
|
|
964
|
+
writer.writeNumberValue("averageReceivedFrameRate", mediaStream.averageReceivedFrameRate);
|
|
965
|
+
writer.writeDurationValue("averageRoundTripTime", mediaStream.averageRoundTripTime);
|
|
966
|
+
writer.writeNumberValue("averageVideoFrameLossPercentage", mediaStream.averageVideoFrameLossPercentage);
|
|
967
|
+
writer.writeNumberValue("averageVideoFrameRate", mediaStream.averageVideoFrameRate);
|
|
968
|
+
writer.writeNumberValue("averageVideoPacketLossRate", mediaStream.averageVideoPacketLossRate);
|
|
969
|
+
writer.writeDateValue("endDateTime", mediaStream.endDateTime);
|
|
970
|
+
writer.writeBooleanValue("isAudioForwardErrorCorrectionUsed", mediaStream.isAudioForwardErrorCorrectionUsed);
|
|
971
|
+
writer.writeNumberValue("lowFrameRateRatio", mediaStream.lowFrameRateRatio);
|
|
972
|
+
writer.writeNumberValue("lowVideoProcessingCapabilityRatio", mediaStream.lowVideoProcessingCapabilityRatio);
|
|
973
|
+
writer.writeDurationValue("maxAudioNetworkJitter", mediaStream.maxAudioNetworkJitter);
|
|
974
|
+
writer.writeDurationValue("maxJitter", mediaStream.maxJitter);
|
|
975
|
+
writer.writeNumberValue("maxPacketLossRate", mediaStream.maxPacketLossRate);
|
|
976
|
+
writer.writeNumberValue("maxRatioOfConcealedSamples", mediaStream.maxRatioOfConcealedSamples);
|
|
977
|
+
writer.writeDurationValue("maxRoundTripTime", mediaStream.maxRoundTripTime);
|
|
978
|
+
writer.writeStringValue("@odata.type", mediaStream.odataType);
|
|
979
|
+
writer.writeNumberValue("packetUtilization", mediaStream.packetUtilization);
|
|
980
|
+
writer.writeNumberValue("postForwardErrorCorrectionPacketLossRate", mediaStream.postForwardErrorCorrectionPacketLossRate);
|
|
981
|
+
writer.writeDurationValue("rmsFreezeDuration", mediaStream.rmsFreezeDuration);
|
|
982
|
+
writer.writeDateValue("startDateTime", mediaStream.startDateTime);
|
|
983
|
+
writer.writeEnumValue("streamDirection", mediaStream.streamDirection);
|
|
984
|
+
writer.writeStringValue("streamId", mediaStream.streamId);
|
|
985
|
+
writer.writeEnumValue("videoCodec", mediaStream.videoCodec);
|
|
986
|
+
writer.writeBooleanValue("wasMediaBypassed", mediaStream.wasMediaBypassed);
|
|
987
|
+
writer.writeAdditionalData(mediaStream.additionalData);
|
|
919
988
|
}
|
|
920
989
|
/**
|
|
921
990
|
* Serializes information the current object
|
|
991
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
992
|
+
* @param NetworkInfo The instance to serialize from.
|
|
922
993
|
* @param writer Serialization writer to use to serialize this model
|
|
923
994
|
*/
|
|
924
995
|
// @ts-ignore
|
|
925
|
-
export function serializeNetworkInfo(writer, networkInfo = {}) {
|
|
926
|
-
if (networkInfo) {
|
|
927
|
-
|
|
928
|
-
writer.writeStringValue("basicServiceSetIdentifier", networkInfo.basicServiceSetIdentifier);
|
|
929
|
-
writer.writeEnumValue("connectionType", networkInfo.connectionType);
|
|
930
|
-
writer.writeNumberValue("delayEventRatio", networkInfo.delayEventRatio);
|
|
931
|
-
writer.writeStringValue("dnsSuffix", networkInfo.dnsSuffix);
|
|
932
|
-
writer.writeStringValue("ipAddress", networkInfo.ipAddress);
|
|
933
|
-
writer.writeNumberValue("linkSpeed", networkInfo.linkSpeed);
|
|
934
|
-
writer.writeStringValue("macAddress", networkInfo.macAddress);
|
|
935
|
-
writer.writeEnumValue("networkTransportProtocol", networkInfo.networkTransportProtocol);
|
|
936
|
-
writer.writeStringValue("@odata.type", networkInfo.odataType);
|
|
937
|
-
writer.writeNumberValue("port", networkInfo.port);
|
|
938
|
-
writer.writeNumberValue("receivedQualityEventRatio", networkInfo.receivedQualityEventRatio);
|
|
939
|
-
writer.writeStringValue("reflexiveIPAddress", networkInfo.reflexiveIPAddress);
|
|
940
|
-
writer.writeStringValue("relayIPAddress", networkInfo.relayIPAddress);
|
|
941
|
-
writer.writeNumberValue("relayPort", networkInfo.relayPort);
|
|
942
|
-
writer.writeNumberValue("sentQualityEventRatio", networkInfo.sentQualityEventRatio);
|
|
943
|
-
writer.writeStringValue("subnet", networkInfo.subnet);
|
|
944
|
-
writer.writeCollectionOfObjectValues("traceRouteHops", networkInfo.traceRouteHops, serializeTraceRouteHop);
|
|
945
|
-
writer.writeEnumValue("wifiBand", networkInfo.wifiBand);
|
|
946
|
-
writer.writeNumberValue("wifiBatteryCharge", networkInfo.wifiBatteryCharge);
|
|
947
|
-
writer.writeNumberValue("wifiChannel", networkInfo.wifiChannel);
|
|
948
|
-
writer.writeStringValue("wifiMicrosoftDriver", networkInfo.wifiMicrosoftDriver);
|
|
949
|
-
writer.writeStringValue("wifiMicrosoftDriverVersion", networkInfo.wifiMicrosoftDriverVersion);
|
|
950
|
-
writer.writeEnumValue("wifiRadioType", networkInfo.wifiRadioType);
|
|
951
|
-
writer.writeNumberValue("wifiSignalStrength", networkInfo.wifiSignalStrength);
|
|
952
|
-
writer.writeStringValue("wifiVendorDriver", networkInfo.wifiVendorDriver);
|
|
953
|
-
writer.writeStringValue("wifiVendorDriverVersion", networkInfo.wifiVendorDriverVersion);
|
|
954
|
-
writer.writeAdditionalData(networkInfo.additionalData);
|
|
996
|
+
export function serializeNetworkInfo(writer, networkInfo = {}, isSerializingDerivedType = false) {
|
|
997
|
+
if (!networkInfo || isSerializingDerivedType) {
|
|
998
|
+
return;
|
|
955
999
|
}
|
|
1000
|
+
writer.writeNumberValue("bandwidthLowEventRatio", networkInfo.bandwidthLowEventRatio);
|
|
1001
|
+
writer.writeStringValue("basicServiceSetIdentifier", networkInfo.basicServiceSetIdentifier);
|
|
1002
|
+
writer.writeEnumValue("connectionType", networkInfo.connectionType);
|
|
1003
|
+
writer.writeNumberValue("delayEventRatio", networkInfo.delayEventRatio);
|
|
1004
|
+
writer.writeStringValue("dnsSuffix", networkInfo.dnsSuffix);
|
|
1005
|
+
writer.writeStringValue("ipAddress", networkInfo.ipAddress);
|
|
1006
|
+
writer.writeNumberValue("linkSpeed", networkInfo.linkSpeed);
|
|
1007
|
+
writer.writeStringValue("macAddress", networkInfo.macAddress);
|
|
1008
|
+
writer.writeEnumValue("networkTransportProtocol", networkInfo.networkTransportProtocol);
|
|
1009
|
+
writer.writeStringValue("@odata.type", networkInfo.odataType);
|
|
1010
|
+
writer.writeNumberValue("port", networkInfo.port);
|
|
1011
|
+
writer.writeNumberValue("receivedQualityEventRatio", networkInfo.receivedQualityEventRatio);
|
|
1012
|
+
writer.writeStringValue("reflexiveIPAddress", networkInfo.reflexiveIPAddress);
|
|
1013
|
+
writer.writeStringValue("relayIPAddress", networkInfo.relayIPAddress);
|
|
1014
|
+
writer.writeNumberValue("relayPort", networkInfo.relayPort);
|
|
1015
|
+
writer.writeNumberValue("sentQualityEventRatio", networkInfo.sentQualityEventRatio);
|
|
1016
|
+
writer.writeStringValue("subnet", networkInfo.subnet);
|
|
1017
|
+
writer.writeCollectionOfObjectValues("traceRouteHops", networkInfo.traceRouteHops, serializeTraceRouteHop);
|
|
1018
|
+
writer.writeEnumValue("wifiBand", networkInfo.wifiBand);
|
|
1019
|
+
writer.writeNumberValue("wifiBatteryCharge", networkInfo.wifiBatteryCharge);
|
|
1020
|
+
writer.writeNumberValue("wifiChannel", networkInfo.wifiChannel);
|
|
1021
|
+
writer.writeStringValue("wifiMicrosoftDriver", networkInfo.wifiMicrosoftDriver);
|
|
1022
|
+
writer.writeStringValue("wifiMicrosoftDriverVersion", networkInfo.wifiMicrosoftDriverVersion);
|
|
1023
|
+
writer.writeEnumValue("wifiRadioType", networkInfo.wifiRadioType);
|
|
1024
|
+
writer.writeNumberValue("wifiSignalStrength", networkInfo.wifiSignalStrength);
|
|
1025
|
+
writer.writeStringValue("wifiVendorDriver", networkInfo.wifiVendorDriver);
|
|
1026
|
+
writer.writeStringValue("wifiVendorDriverVersion", networkInfo.wifiVendorDriverVersion);
|
|
1027
|
+
writer.writeAdditionalData(networkInfo.additionalData);
|
|
956
1028
|
}
|
|
957
1029
|
/**
|
|
958
1030
|
* Serializes information the current object
|
|
1031
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1032
|
+
* @param Organizer The instance to serialize from.
|
|
959
1033
|
* @param writer Serialization writer to use to serialize this model
|
|
960
1034
|
*/
|
|
961
1035
|
// @ts-ignore
|
|
962
|
-
export function serializeOrganizer(writer, organizer = {}) {
|
|
963
|
-
if (organizer) {
|
|
964
|
-
|
|
1036
|
+
export function serializeOrganizer(writer, organizer = {}, isSerializingDerivedType = false) {
|
|
1037
|
+
if (!organizer || isSerializingDerivedType) {
|
|
1038
|
+
return;
|
|
965
1039
|
}
|
|
1040
|
+
serializeParticipantBase(writer, organizer, isSerializingDerivedType);
|
|
966
1041
|
}
|
|
967
1042
|
/**
|
|
968
1043
|
* Serializes information the current object
|
|
1044
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1045
|
+
* @param Participant The instance to serialize from.
|
|
969
1046
|
* @param writer Serialization writer to use to serialize this model
|
|
970
1047
|
*/
|
|
971
1048
|
// @ts-ignore
|
|
972
|
-
export function serializeParticipant(writer, participant = {}) {
|
|
973
|
-
if (participant) {
|
|
974
|
-
|
|
1049
|
+
export function serializeParticipant(writer, participant = {}, isSerializingDerivedType = false) {
|
|
1050
|
+
if (!participant || isSerializingDerivedType) {
|
|
1051
|
+
return;
|
|
975
1052
|
}
|
|
1053
|
+
serializeParticipantBase(writer, participant, isSerializingDerivedType);
|
|
976
1054
|
}
|
|
977
1055
|
/**
|
|
978
1056
|
* Serializes information the current object
|
|
1057
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1058
|
+
* @param ParticipantBase The instance to serialize from.
|
|
979
1059
|
* @param writer Serialization writer to use to serialize this model
|
|
980
1060
|
*/
|
|
981
1061
|
// @ts-ignore
|
|
982
|
-
export function serializeParticipantBase(writer, participantBase = {}) {
|
|
983
|
-
if (participantBase) {
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
1062
|
+
export function serializeParticipantBase(writer, participantBase = {}, isSerializingDerivedType = false) {
|
|
1063
|
+
if (!participantBase || isSerializingDerivedType) {
|
|
1064
|
+
return;
|
|
1065
|
+
}
|
|
1066
|
+
serializeEntity(writer, participantBase, isSerializingDerivedType);
|
|
1067
|
+
writer.writeCollectionOfObjectValues("administrativeUnitInfos", participantBase.administrativeUnitInfos, serializeAdministrativeUnitInfo);
|
|
1068
|
+
writer.writeObjectValue("identity", participantBase.identity, serializeCommunicationsIdentitySet);
|
|
1069
|
+
switch (participantBase.odataType) {
|
|
1070
|
+
case "#microsoft.graph.callRecords.organizer":
|
|
1071
|
+
serializeOrganizer(writer, participantBase, true);
|
|
1072
|
+
break;
|
|
1073
|
+
case "#microsoft.graph.callRecords.participant":
|
|
1074
|
+
serializeParticipant(writer, participantBase, true);
|
|
1075
|
+
break;
|
|
987
1076
|
}
|
|
988
1077
|
}
|
|
989
1078
|
/**
|
|
990
1079
|
* Serializes information the current object
|
|
1080
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1081
|
+
* @param ParticipantCollectionResponse The instance to serialize from.
|
|
991
1082
|
* @param writer Serialization writer to use to serialize this model
|
|
992
1083
|
*/
|
|
993
1084
|
// @ts-ignore
|
|
994
|
-
export function serializeParticipantCollectionResponse(writer, participantCollectionResponse = {}) {
|
|
995
|
-
if (participantCollectionResponse) {
|
|
996
|
-
|
|
997
|
-
writer.writeCollectionOfObjectValues("value", participantCollectionResponse.value, serializeParticipant);
|
|
1085
|
+
export function serializeParticipantCollectionResponse(writer, participantCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1086
|
+
if (!participantCollectionResponse || isSerializingDerivedType) {
|
|
1087
|
+
return;
|
|
998
1088
|
}
|
|
1089
|
+
serializeBaseCollectionPaginationCountResponse(writer, participantCollectionResponse, isSerializingDerivedType);
|
|
1090
|
+
writer.writeCollectionOfObjectValues("value", participantCollectionResponse.value, serializeParticipant);
|
|
999
1091
|
}
|
|
1000
1092
|
/**
|
|
1001
1093
|
* Serializes information the current object
|
|
1094
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1095
|
+
* @param ParticipantEndpoint The instance to serialize from.
|
|
1002
1096
|
* @param writer Serialization writer to use to serialize this model
|
|
1003
1097
|
*/
|
|
1004
1098
|
// @ts-ignore
|
|
1005
|
-
export function serializeParticipantEndpoint(writer, participantEndpoint = {}) {
|
|
1006
|
-
if (participantEndpoint) {
|
|
1007
|
-
|
|
1008
|
-
writer.writeObjectValue("associatedIdentity", participantEndpoint.associatedIdentity, serializeIdentity);
|
|
1009
|
-
writer.writeNumberValue("cpuCoresCount", participantEndpoint.cpuCoresCount);
|
|
1010
|
-
writer.writeStringValue("cpuName", participantEndpoint.cpuName);
|
|
1011
|
-
writer.writeNumberValue("cpuProcessorSpeedInMhz", participantEndpoint.cpuProcessorSpeedInMhz);
|
|
1012
|
-
writer.writeObjectValue("feedback", participantEndpoint.feedback, serializeUserFeedback);
|
|
1013
|
-
writer.writeObjectValue("identity", participantEndpoint.identity, serializeIdentitySet);
|
|
1014
|
-
writer.writeStringValue("name", participantEndpoint.name);
|
|
1099
|
+
export function serializeParticipantEndpoint(writer, participantEndpoint = {}, isSerializingDerivedType = false) {
|
|
1100
|
+
if (!participantEndpoint || isSerializingDerivedType) {
|
|
1101
|
+
return;
|
|
1015
1102
|
}
|
|
1103
|
+
serializeEndpoint(writer, participantEndpoint, isSerializingDerivedType);
|
|
1104
|
+
writer.writeObjectValue("associatedIdentity", participantEndpoint.associatedIdentity, serializeIdentity);
|
|
1105
|
+
writer.writeNumberValue("cpuCoresCount", participantEndpoint.cpuCoresCount);
|
|
1106
|
+
writer.writeStringValue("cpuName", participantEndpoint.cpuName);
|
|
1107
|
+
writer.writeNumberValue("cpuProcessorSpeedInMhz", participantEndpoint.cpuProcessorSpeedInMhz);
|
|
1108
|
+
writer.writeObjectValue("feedback", participantEndpoint.feedback, serializeUserFeedback);
|
|
1109
|
+
writer.writeObjectValue("identity", participantEndpoint.identity, serializeIdentitySet);
|
|
1110
|
+
writer.writeStringValue("name", participantEndpoint.name);
|
|
1016
1111
|
}
|
|
1017
1112
|
/**
|
|
1018
1113
|
* Serializes information the current object
|
|
1114
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1115
|
+
* @param PstnCallLogRow The instance to serialize from.
|
|
1019
1116
|
* @param writer Serialization writer to use to serialize this model
|
|
1020
1117
|
*/
|
|
1021
1118
|
// @ts-ignore
|
|
1022
|
-
export function serializePstnCallLogRow(writer, pstnCallLogRow = {}) {
|
|
1023
|
-
if (pstnCallLogRow) {
|
|
1024
|
-
|
|
1025
|
-
writer.writeStringValue("calleeNumber", pstnCallLogRow.calleeNumber);
|
|
1026
|
-
writer.writeStringValue("callerNumber", pstnCallLogRow.callerNumber);
|
|
1027
|
-
writer.writeStringValue("callId", pstnCallLogRow.callId);
|
|
1028
|
-
writer.writeStringValue("callType", pstnCallLogRow.callType);
|
|
1029
|
-
writer.writeNumberValue("charge", pstnCallLogRow.charge);
|
|
1030
|
-
writer.writeStringValue("conferenceId", pstnCallLogRow.conferenceId);
|
|
1031
|
-
writer.writeNumberValue("connectionCharge", pstnCallLogRow.connectionCharge);
|
|
1032
|
-
writer.writeStringValue("currency", pstnCallLogRow.currency);
|
|
1033
|
-
writer.writeStringValue("destinationContext", pstnCallLogRow.destinationContext);
|
|
1034
|
-
writer.writeStringValue("destinationName", pstnCallLogRow.destinationName);
|
|
1035
|
-
writer.writeNumberValue("duration", pstnCallLogRow.duration);
|
|
1036
|
-
writer.writeDateValue("endDateTime", pstnCallLogRow.endDateTime);
|
|
1037
|
-
writer.writeStringValue("id", pstnCallLogRow.id);
|
|
1038
|
-
writer.writeStringValue("inventoryType", pstnCallLogRow.inventoryType);
|
|
1039
|
-
writer.writeStringValue("licenseCapability", pstnCallLogRow.licenseCapability);
|
|
1040
|
-
writer.writeStringValue("@odata.type", pstnCallLogRow.odataType);
|
|
1041
|
-
writer.writeStringValue("operator", pstnCallLogRow.operator);
|
|
1042
|
-
writer.writeDateValue("startDateTime", pstnCallLogRow.startDateTime);
|
|
1043
|
-
writer.writeStringValue("tenantCountryCode", pstnCallLogRow.tenantCountryCode);
|
|
1044
|
-
writer.writeStringValue("usageCountryCode", pstnCallLogRow.usageCountryCode);
|
|
1045
|
-
writer.writeStringValue("userDisplayName", pstnCallLogRow.userDisplayName);
|
|
1046
|
-
writer.writeStringValue("userId", pstnCallLogRow.userId);
|
|
1047
|
-
writer.writeStringValue("userPrincipalName", pstnCallLogRow.userPrincipalName);
|
|
1048
|
-
writer.writeAdditionalData(pstnCallLogRow.additionalData);
|
|
1119
|
+
export function serializePstnCallLogRow(writer, pstnCallLogRow = {}, isSerializingDerivedType = false) {
|
|
1120
|
+
if (!pstnCallLogRow || isSerializingDerivedType) {
|
|
1121
|
+
return;
|
|
1049
1122
|
}
|
|
1123
|
+
writer.writeEnumValue("callDurationSource", pstnCallLogRow.callDurationSource);
|
|
1124
|
+
writer.writeStringValue("calleeNumber", pstnCallLogRow.calleeNumber);
|
|
1125
|
+
writer.writeStringValue("callerNumber", pstnCallLogRow.callerNumber);
|
|
1126
|
+
writer.writeStringValue("callId", pstnCallLogRow.callId);
|
|
1127
|
+
writer.writeStringValue("callType", pstnCallLogRow.callType);
|
|
1128
|
+
writer.writeNumberValue("charge", pstnCallLogRow.charge);
|
|
1129
|
+
writer.writeStringValue("conferenceId", pstnCallLogRow.conferenceId);
|
|
1130
|
+
writer.writeNumberValue("connectionCharge", pstnCallLogRow.connectionCharge);
|
|
1131
|
+
writer.writeStringValue("currency", pstnCallLogRow.currency);
|
|
1132
|
+
writer.writeStringValue("destinationContext", pstnCallLogRow.destinationContext);
|
|
1133
|
+
writer.writeStringValue("destinationName", pstnCallLogRow.destinationName);
|
|
1134
|
+
writer.writeNumberValue("duration", pstnCallLogRow.duration);
|
|
1135
|
+
writer.writeDateValue("endDateTime", pstnCallLogRow.endDateTime);
|
|
1136
|
+
writer.writeStringValue("id", pstnCallLogRow.id);
|
|
1137
|
+
writer.writeStringValue("inventoryType", pstnCallLogRow.inventoryType);
|
|
1138
|
+
writer.writeStringValue("licenseCapability", pstnCallLogRow.licenseCapability);
|
|
1139
|
+
writer.writeStringValue("@odata.type", pstnCallLogRow.odataType);
|
|
1140
|
+
writer.writeStringValue("operator", pstnCallLogRow.operator);
|
|
1141
|
+
writer.writeDateValue("startDateTime", pstnCallLogRow.startDateTime);
|
|
1142
|
+
writer.writeStringValue("tenantCountryCode", pstnCallLogRow.tenantCountryCode);
|
|
1143
|
+
writer.writeStringValue("usageCountryCode", pstnCallLogRow.usageCountryCode);
|
|
1144
|
+
writer.writeStringValue("userDisplayName", pstnCallLogRow.userDisplayName);
|
|
1145
|
+
writer.writeStringValue("userId", pstnCallLogRow.userId);
|
|
1146
|
+
writer.writeStringValue("userPrincipalName", pstnCallLogRow.userPrincipalName);
|
|
1147
|
+
writer.writeAdditionalData(pstnCallLogRow.additionalData);
|
|
1050
1148
|
}
|
|
1051
1149
|
/**
|
|
1052
1150
|
* Serializes information the current object
|
|
1151
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1152
|
+
* @param Segment The instance to serialize from.
|
|
1053
1153
|
* @param writer Serialization writer to use to serialize this model
|
|
1054
1154
|
*/
|
|
1055
1155
|
// @ts-ignore
|
|
1056
|
-
export function serializeSegment(writer, segment = {}) {
|
|
1057
|
-
if (segment) {
|
|
1058
|
-
|
|
1059
|
-
writer.writeObjectValue("callee", segment.callee, serializeEndpoint);
|
|
1060
|
-
writer.writeObjectValue("caller", segment.caller, serializeEndpoint);
|
|
1061
|
-
writer.writeDateValue("endDateTime", segment.endDateTime);
|
|
1062
|
-
writer.writeObjectValue("failureInfo", segment.failureInfo, serializeFailureInfo);
|
|
1063
|
-
writer.writeCollectionOfObjectValues("media", segment.media, serializeMedia);
|
|
1064
|
-
writer.writeDateValue("startDateTime", segment.startDateTime);
|
|
1156
|
+
export function serializeSegment(writer, segment = {}, isSerializingDerivedType = false) {
|
|
1157
|
+
if (!segment || isSerializingDerivedType) {
|
|
1158
|
+
return;
|
|
1065
1159
|
}
|
|
1160
|
+
serializeEntity(writer, segment, isSerializingDerivedType);
|
|
1161
|
+
writer.writeObjectValue("callee", segment.callee, serializeEndpoint);
|
|
1162
|
+
writer.writeObjectValue("caller", segment.caller, serializeEndpoint);
|
|
1163
|
+
writer.writeDateValue("endDateTime", segment.endDateTime);
|
|
1164
|
+
writer.writeObjectValue("failureInfo", segment.failureInfo, serializeFailureInfo);
|
|
1165
|
+
writer.writeCollectionOfObjectValues("media", segment.media, serializeMedia);
|
|
1166
|
+
writer.writeDateValue("startDateTime", segment.startDateTime);
|
|
1066
1167
|
}
|
|
1067
1168
|
/**
|
|
1068
1169
|
* Serializes information the current object
|
|
1170
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1171
|
+
* @param SegmentCollectionResponse The instance to serialize from.
|
|
1069
1172
|
* @param writer Serialization writer to use to serialize this model
|
|
1070
1173
|
*/
|
|
1071
1174
|
// @ts-ignore
|
|
1072
|
-
export function serializeSegmentCollectionResponse(writer, segmentCollectionResponse = {}) {
|
|
1073
|
-
if (segmentCollectionResponse) {
|
|
1074
|
-
|
|
1075
|
-
writer.writeCollectionOfObjectValues("value", segmentCollectionResponse.value, serializeSegment);
|
|
1175
|
+
export function serializeSegmentCollectionResponse(writer, segmentCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1176
|
+
if (!segmentCollectionResponse || isSerializingDerivedType) {
|
|
1177
|
+
return;
|
|
1076
1178
|
}
|
|
1179
|
+
serializeBaseCollectionPaginationCountResponse(writer, segmentCollectionResponse, isSerializingDerivedType);
|
|
1180
|
+
writer.writeCollectionOfObjectValues("value", segmentCollectionResponse.value, serializeSegment);
|
|
1077
1181
|
}
|
|
1078
1182
|
/**
|
|
1079
1183
|
* Serializes information the current object
|
|
1184
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1185
|
+
* @param ServiceEndpoint The instance to serialize from.
|
|
1080
1186
|
* @param writer Serialization writer to use to serialize this model
|
|
1081
1187
|
*/
|
|
1082
1188
|
// @ts-ignore
|
|
1083
|
-
export function serializeServiceEndpoint(writer, serviceEndpoint = {}) {
|
|
1084
|
-
if (serviceEndpoint) {
|
|
1085
|
-
|
|
1189
|
+
export function serializeServiceEndpoint(writer, serviceEndpoint = {}, isSerializingDerivedType = false) {
|
|
1190
|
+
if (!serviceEndpoint || isSerializingDerivedType) {
|
|
1191
|
+
return;
|
|
1086
1192
|
}
|
|
1193
|
+
serializeEndpoint(writer, serviceEndpoint, isSerializingDerivedType);
|
|
1087
1194
|
}
|
|
1088
1195
|
/**
|
|
1089
1196
|
* Serializes information the current object
|
|
1197
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1198
|
+
* @param ServiceUserAgent The instance to serialize from.
|
|
1090
1199
|
* @param writer Serialization writer to use to serialize this model
|
|
1091
1200
|
*/
|
|
1092
1201
|
// @ts-ignore
|
|
1093
|
-
export function serializeServiceUserAgent(writer, serviceUserAgent = {}) {
|
|
1094
|
-
if (serviceUserAgent) {
|
|
1095
|
-
|
|
1096
|
-
writer.writeEnumValue("role", serviceUserAgent.role);
|
|
1202
|
+
export function serializeServiceUserAgent(writer, serviceUserAgent = {}, isSerializingDerivedType = false) {
|
|
1203
|
+
if (!serviceUserAgent || isSerializingDerivedType) {
|
|
1204
|
+
return;
|
|
1097
1205
|
}
|
|
1206
|
+
serializeUserAgent(writer, serviceUserAgent, isSerializingDerivedType);
|
|
1207
|
+
writer.writeEnumValue("role", serviceUserAgent.role);
|
|
1098
1208
|
}
|
|
1099
1209
|
/**
|
|
1100
1210
|
* Serializes information the current object
|
|
1211
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1212
|
+
* @param Session The instance to serialize from.
|
|
1101
1213
|
* @param writer Serialization writer to use to serialize this model
|
|
1102
1214
|
*/
|
|
1103
1215
|
// @ts-ignore
|
|
1104
|
-
export function serializeSession(writer, session = {}) {
|
|
1105
|
-
if (session) {
|
|
1106
|
-
|
|
1107
|
-
writer.writeObjectValue("callee", session.callee, serializeEndpoint);
|
|
1108
|
-
writer.writeObjectValue("caller", session.caller, serializeEndpoint);
|
|
1109
|
-
writer.writeDateValue("endDateTime", session.endDateTime);
|
|
1110
|
-
writer.writeObjectValue("failureInfo", session.failureInfo, serializeFailureInfo);
|
|
1111
|
-
writer.writeBooleanValue("isTest", session.isTest);
|
|
1112
|
-
if (session.modalities)
|
|
1113
|
-
writer.writeCollectionOfEnumValues("modalities", session.modalities);
|
|
1114
|
-
writer.writeCollectionOfObjectValues("segments", session.segments, serializeSegment);
|
|
1115
|
-
writer.writeDateValue("startDateTime", session.startDateTime);
|
|
1216
|
+
export function serializeSession(writer, session = {}, isSerializingDerivedType = false) {
|
|
1217
|
+
if (!session || isSerializingDerivedType) {
|
|
1218
|
+
return;
|
|
1116
1219
|
}
|
|
1220
|
+
serializeEntity(writer, session, isSerializingDerivedType);
|
|
1221
|
+
writer.writeObjectValue("callee", session.callee, serializeEndpoint);
|
|
1222
|
+
writer.writeObjectValue("caller", session.caller, serializeEndpoint);
|
|
1223
|
+
writer.writeDateValue("endDateTime", session.endDateTime);
|
|
1224
|
+
writer.writeObjectValue("failureInfo", session.failureInfo, serializeFailureInfo);
|
|
1225
|
+
writer.writeBooleanValue("isTest", session.isTest);
|
|
1226
|
+
if (session.modalities)
|
|
1227
|
+
writer.writeCollectionOfEnumValues("modalities", session.modalities);
|
|
1228
|
+
writer.writeCollectionOfObjectValues("segments", session.segments, serializeSegment);
|
|
1229
|
+
writer.writeDateValue("startDateTime", session.startDateTime);
|
|
1117
1230
|
}
|
|
1118
1231
|
/**
|
|
1119
1232
|
* Serializes information the current object
|
|
1233
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1234
|
+
* @param SessionCollectionResponse The instance to serialize from.
|
|
1120
1235
|
* @param writer Serialization writer to use to serialize this model
|
|
1121
1236
|
*/
|
|
1122
1237
|
// @ts-ignore
|
|
1123
|
-
export function serializeSessionCollectionResponse(writer, sessionCollectionResponse = {}) {
|
|
1124
|
-
if (sessionCollectionResponse) {
|
|
1125
|
-
|
|
1126
|
-
writer.writeCollectionOfObjectValues("value", sessionCollectionResponse.value, serializeSession);
|
|
1238
|
+
export function serializeSessionCollectionResponse(writer, sessionCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
1239
|
+
if (!sessionCollectionResponse || isSerializingDerivedType) {
|
|
1240
|
+
return;
|
|
1127
1241
|
}
|
|
1242
|
+
serializeBaseCollectionPaginationCountResponse(writer, sessionCollectionResponse, isSerializingDerivedType);
|
|
1243
|
+
writer.writeCollectionOfObjectValues("value", sessionCollectionResponse.value, serializeSession);
|
|
1128
1244
|
}
|
|
1129
1245
|
/**
|
|
1130
1246
|
* Serializes information the current object
|
|
1247
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1248
|
+
* @param TraceRouteHop The instance to serialize from.
|
|
1131
1249
|
* @param writer Serialization writer to use to serialize this model
|
|
1132
1250
|
*/
|
|
1133
1251
|
// @ts-ignore
|
|
1134
|
-
export function serializeTraceRouteHop(writer, traceRouteHop = {}) {
|
|
1135
|
-
if (traceRouteHop) {
|
|
1136
|
-
|
|
1137
|
-
writer.writeStringValue("ipAddress", traceRouteHop.ipAddress);
|
|
1138
|
-
writer.writeStringValue("@odata.type", traceRouteHop.odataType);
|
|
1139
|
-
writer.writeDurationValue("roundTripTime", traceRouteHop.roundTripTime);
|
|
1140
|
-
writer.writeAdditionalData(traceRouteHop.additionalData);
|
|
1252
|
+
export function serializeTraceRouteHop(writer, traceRouteHop = {}, isSerializingDerivedType = false) {
|
|
1253
|
+
if (!traceRouteHop || isSerializingDerivedType) {
|
|
1254
|
+
return;
|
|
1141
1255
|
}
|
|
1256
|
+
writer.writeNumberValue("hopCount", traceRouteHop.hopCount);
|
|
1257
|
+
writer.writeStringValue("ipAddress", traceRouteHop.ipAddress);
|
|
1258
|
+
writer.writeStringValue("@odata.type", traceRouteHop.odataType);
|
|
1259
|
+
writer.writeDurationValue("roundTripTime", traceRouteHop.roundTripTime);
|
|
1260
|
+
writer.writeAdditionalData(traceRouteHop.additionalData);
|
|
1142
1261
|
}
|
|
1143
1262
|
/**
|
|
1144
1263
|
* Serializes information the current object
|
|
1264
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1265
|
+
* @param UserAgent The instance to serialize from.
|
|
1145
1266
|
* @param writer Serialization writer to use to serialize this model
|
|
1146
1267
|
*/
|
|
1147
1268
|
// @ts-ignore
|
|
1148
|
-
export function serializeUserAgent(writer, userAgent = {}) {
|
|
1149
|
-
if (userAgent) {
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1269
|
+
export function serializeUserAgent(writer, userAgent = {}, isSerializingDerivedType = false) {
|
|
1270
|
+
if (!userAgent || isSerializingDerivedType) {
|
|
1271
|
+
return;
|
|
1272
|
+
}
|
|
1273
|
+
writer.writeStringValue("applicationVersion", userAgent.applicationVersion);
|
|
1274
|
+
writer.writeStringValue("headerValue", userAgent.headerValue);
|
|
1275
|
+
writer.writeStringValue("@odata.type", userAgent.odataType);
|
|
1276
|
+
writer.writeAdditionalData(userAgent.additionalData);
|
|
1277
|
+
switch (userAgent.odataType) {
|
|
1278
|
+
case "#microsoft.graph.callRecords.clientUserAgent":
|
|
1279
|
+
serializeClientUserAgent(writer, userAgent, true);
|
|
1280
|
+
break;
|
|
1281
|
+
case "#microsoft.graph.callRecords.serviceUserAgent":
|
|
1282
|
+
serializeServiceUserAgent(writer, userAgent, true);
|
|
1283
|
+
break;
|
|
1154
1284
|
}
|
|
1155
1285
|
}
|
|
1156
1286
|
/**
|
|
1157
1287
|
* Serializes information the current object
|
|
1288
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1289
|
+
* @param UserFeedback The instance to serialize from.
|
|
1158
1290
|
* @param writer Serialization writer to use to serialize this model
|
|
1159
1291
|
*/
|
|
1160
1292
|
// @ts-ignore
|
|
1161
|
-
export function serializeUserFeedback(writer, userFeedback = {}) {
|
|
1162
|
-
if (userFeedback) {
|
|
1163
|
-
|
|
1164
|
-
writer.writeEnumValue("rating", userFeedback.rating);
|
|
1165
|
-
writer.writeStringValue("text", userFeedback.text);
|
|
1166
|
-
writer.writeObjectValue("tokens", userFeedback.tokens, serializeFeedbackTokenSet);
|
|
1167
|
-
writer.writeAdditionalData(userFeedback.additionalData);
|
|
1293
|
+
export function serializeUserFeedback(writer, userFeedback = {}, isSerializingDerivedType = false) {
|
|
1294
|
+
if (!userFeedback || isSerializingDerivedType) {
|
|
1295
|
+
return;
|
|
1168
1296
|
}
|
|
1297
|
+
writer.writeStringValue("@odata.type", userFeedback.odataType);
|
|
1298
|
+
writer.writeEnumValue("rating", userFeedback.rating);
|
|
1299
|
+
writer.writeStringValue("text", userFeedback.text);
|
|
1300
|
+
writer.writeObjectValue("tokens", userFeedback.tokens, serializeFeedbackTokenSet);
|
|
1301
|
+
writer.writeAdditionalData(userFeedback.additionalData);
|
|
1169
1302
|
}
|
|
1170
1303
|
/**
|
|
1171
1304
|
* Serializes information the current object
|
|
1305
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
1306
|
+
* @param UserIdentity The instance to serialize from.
|
|
1172
1307
|
* @param writer Serialization writer to use to serialize this model
|
|
1173
1308
|
*/
|
|
1174
1309
|
// @ts-ignore
|
|
1175
|
-
export function serializeUserIdentity(writer, userIdentity = {}) {
|
|
1176
|
-
if (userIdentity) {
|
|
1177
|
-
|
|
1178
|
-
writer.writeStringValue("userPrincipalName", userIdentity.userPrincipalName);
|
|
1310
|
+
export function serializeUserIdentity(writer, userIdentity = {}, isSerializingDerivedType = false) {
|
|
1311
|
+
if (!userIdentity || isSerializingDerivedType) {
|
|
1312
|
+
return;
|
|
1179
1313
|
}
|
|
1314
|
+
serializeIdentity(writer, userIdentity, isSerializingDerivedType);
|
|
1315
|
+
writer.writeStringValue("userPrincipalName", userIdentity.userPrincipalName);
|
|
1180
1316
|
}
|
|
1181
1317
|
export const AudioCodecObject = {
|
|
1182
1318
|
Unknown: "unknown",
|