-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModelCall.go
872 lines (783 loc) · 31.8 KB
/
ModelCall.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// Call undocumented
type Call struct {
// Entity is the base model of Call
Entity
ODataType string `json:"@odata.type,omitempty"`
// CallbackURI undocumented
CallbackURI *string `json:"callbackUri,omitempty"`
// CallChainID undocumented
CallChainID *string `json:"callChainId,omitempty"`
// CallOptions undocumented
CallOptions *CallOptions `json:"callOptions,omitempty"`
// CallRoutes undocumented
CallRoutes []CallRoute `json:"callRoutes,omitempty"`
// ChatInfo undocumented
ChatInfo *ChatInfo `json:"chatInfo,omitempty"`
// Direction undocumented
Direction *CallDirection `json:"direction,omitempty"`
// IncomingContext undocumented
IncomingContext *IncomingContext `json:"incomingContext,omitempty"`
// MediaConfig undocumented
MediaConfig *MediaConfig `json:"mediaConfig,omitempty"`
// MediaState undocumented
MediaState *CallMediaState `json:"mediaState,omitempty"`
// MeetingInfo undocumented
MeetingInfo *MeetingInfo `json:"meetingInfo,omitempty"`
// MyParticipantID undocumented
MyParticipantID *string `json:"myParticipantId,omitempty"`
// RequestedModalities undocumented
RequestedModalities []Modality `json:"requestedModalities,omitempty"`
// ResultInfo undocumented
ResultInfo *ResultInfo `json:"resultInfo,omitempty"`
// Source undocumented
Source *ParticipantInfo `json:"source,omitempty"`
// State undocumented
State *CallState `json:"state,omitempty"`
// Subject undocumented
Subject *string `json:"subject,omitempty"`
// Targets undocumented
Targets []InvitationParticipantInfo `json:"targets,omitempty"`
// TenantID undocumented
TenantID *string `json:"tenantId,omitempty"`
// ToneInfo undocumented
ToneInfo *ToneInfo `json:"toneInfo,omitempty"`
// Transcription undocumented
Transcription *CallTranscriptionInfo `json:"transcription,omitempty"`
// AudioRoutingGroups undocumented
AudioRoutingGroups []AudioRoutingGroup `json:"audioRoutingGroups,omitempty"`
// ContentSharingSessions undocumented
ContentSharingSessions []ContentSharingSession `json:"contentSharingSessions,omitempty"`
// Operations undocumented
Operations []CommsOperation `json:"operations,omitempty"`
// Participants undocumented
Participants []Participant `json:"participants,omitempty"`
}
func NewCall() (*Call, error) {
newCall := &Call{
ODataType: "#microsoft.graph.Call",
}
return newCall, nil
}
// CallEndedEventMessageDetail undocumented
type CallEndedEventMessageDetail struct {
// EventMessageDetail is the base model of CallEndedEventMessageDetail
EventMessageDetail
ODataType string `json:"@odata.type,omitempty"`
// CallDuration undocumented
CallDuration *Duration `json:"callDuration,omitempty"`
// CallEventType undocumented
CallEventType *TeamworkCallEventType `json:"callEventType,omitempty"`
// CallID undocumented
CallID *string `json:"callId,omitempty"`
// CallParticipants undocumented
CallParticipants []CallParticipantInfo `json:"callParticipants,omitempty"`
// Initiator undocumented
Initiator *IdentitySet `json:"initiator,omitempty"`
}
func NewCallEndedEventMessageDetail() (*CallEndedEventMessageDetail, error) {
newCallEndedEventMessageDetail := &CallEndedEventMessageDetail{
ODataType: "#microsoft.graph.CallEndedEventMessageDetail",
}
return newCallEndedEventMessageDetail, nil
}
// CallMediaState undocumented
type CallMediaState struct {
// Object is the base model of CallMediaState
Object
ODataType string `json:"@odata.type,omitempty"`
// Audio undocumented
Audio *MediaState `json:"audio,omitempty"`
}
func NewCallMediaState() (*CallMediaState, error) {
newCallMediaState := &CallMediaState{
ODataType: "#microsoft.graph.CallMediaState",
}
return newCallMediaState, nil
}
// CallOptions undocumented
type CallOptions struct {
// Object is the base model of CallOptions
Object
ODataType string `json:"@odata.type,omitempty"`
// HideBotAfterEscalation undocumented
HideBotAfterEscalation *bool `json:"hideBotAfterEscalation,omitempty"`
// IsContentSharingNotificationEnabled undocumented
IsContentSharingNotificationEnabled *bool `json:"isContentSharingNotificationEnabled,omitempty"`
}
func NewCallOptions() (*CallOptions, error) {
newCallOptions := &CallOptions{
ODataType: "#microsoft.graph.CallOptions",
}
return newCallOptions, nil
}
// CallParticipantInfo undocumented
type CallParticipantInfo struct {
// Object is the base model of CallParticipantInfo
Object
ODataType string `json:"@odata.type,omitempty"`
// Participant undocumented
Participant *IdentitySet `json:"participant,omitempty"`
}
func NewCallParticipantInfo() (*CallParticipantInfo, error) {
newCallParticipantInfo := &CallParticipantInfo{
ODataType: "#microsoft.graph.CallParticipantInfo",
}
return newCallParticipantInfo, nil
}
// CallRecordingEventMessageDetail undocumented
type CallRecordingEventMessageDetail struct {
// EventMessageDetail is the base model of CallRecordingEventMessageDetail
EventMessageDetail
ODataType string `json:"@odata.type,omitempty"`
// CallID undocumented
CallID *string `json:"callId,omitempty"`
// CallRecordingDisplayName undocumented
CallRecordingDisplayName *string `json:"callRecordingDisplayName,omitempty"`
// CallRecordingDuration undocumented
CallRecordingDuration *Duration `json:"callRecordingDuration,omitempty"`
// CallRecordingStatus undocumented
CallRecordingStatus *CallRecordingStatus `json:"callRecordingStatus,omitempty"`
// CallRecordingURL undocumented
CallRecordingURL *string `json:"callRecordingUrl,omitempty"`
// Initiator undocumented
Initiator *IdentitySet `json:"initiator,omitempty"`
// MeetingOrganizer undocumented
MeetingOrganizer *IdentitySet `json:"meetingOrganizer,omitempty"`
}
func NewCallRecordingEventMessageDetail() (*CallRecordingEventMessageDetail, error) {
newCallRecordingEventMessageDetail := &CallRecordingEventMessageDetail{
ODataType: "#microsoft.graph.CallRecordingEventMessageDetail",
}
return newCallRecordingEventMessageDetail, nil
}
// CallRoute undocumented
type CallRoute struct {
// Object is the base model of CallRoute
Object
ODataType string `json:"@odata.type,omitempty"`
// Final undocumented
Final *IdentitySet `json:"final,omitempty"`
// Original undocumented
Original *IdentitySet `json:"original,omitempty"`
// RoutingType undocumented
RoutingType *RoutingType `json:"routingType,omitempty"`
}
func NewCallRoute() (*CallRoute, error) {
newCallRoute := &CallRoute{
ODataType: "#microsoft.graph.CallRoute",
}
return newCallRoute, nil
}
// CallStartedEventMessageDetail undocumented
type CallStartedEventMessageDetail struct {
// EventMessageDetail is the base model of CallStartedEventMessageDetail
EventMessageDetail
ODataType string `json:"@odata.type,omitempty"`
// CallEventType undocumented
CallEventType *TeamworkCallEventType `json:"callEventType,omitempty"`
// CallID undocumented
CallID *string `json:"callId,omitempty"`
// Initiator undocumented
Initiator *IdentitySet `json:"initiator,omitempty"`
}
func NewCallStartedEventMessageDetail() (*CallStartedEventMessageDetail, error) {
newCallStartedEventMessageDetail := &CallStartedEventMessageDetail{
ODataType: "#microsoft.graph.CallStartedEventMessageDetail",
}
return newCallStartedEventMessageDetail, nil
}
// CallTranscriptEventMessageDetail undocumented
type CallTranscriptEventMessageDetail struct {
// EventMessageDetail is the base model of CallTranscriptEventMessageDetail
EventMessageDetail
ODataType string `json:"@odata.type,omitempty"`
// CallID undocumented
CallID *string `json:"callId,omitempty"`
// CallTranscriptICalUID undocumented
CallTranscriptICalUID *string `json:"callTranscriptICalUid,omitempty"`
// MeetingOrganizer undocumented
MeetingOrganizer *IdentitySet `json:"meetingOrganizer,omitempty"`
}
func NewCallTranscriptEventMessageDetail() (*CallTranscriptEventMessageDetail, error) {
newCallTranscriptEventMessageDetail := &CallTranscriptEventMessageDetail{
ODataType: "#microsoft.graph.CallTranscriptEventMessageDetail",
}
return newCallTranscriptEventMessageDetail, nil
}
// CallTranscriptionInfo undocumented
type CallTranscriptionInfo struct {
// Object is the base model of CallTranscriptionInfo
Object
ODataType string `json:"@odata.type,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// State undocumented
State *CallTranscriptionState `json:"state,omitempty"`
}
func NewCallTranscriptionInfo() (*CallTranscriptionInfo, error) {
newCallTranscriptionInfo := &CallTranscriptionInfo{
ODataType: "#microsoft.graph.CallTranscriptionInfo",
}
return newCallTranscriptionInfo, nil
}
// CallRecordsCallRecord undocumented
type CallRecordsCallRecord struct {
// Entity is the base model of CallRecordsCallRecord
Entity
ODataType string `json:"@odata.type,omitempty"`
// EndDateTime undocumented
EndDateTime *time.Time `json:"endDateTime,omitempty"`
// JoinWebURL undocumented
JoinWebURL *string `json:"joinWebUrl,omitempty"`
// LastModifiedDateTime undocumented
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// Modalities undocumented
Modalities []CallRecordsModality `json:"modalities,omitempty"`
// Organizer undocumented
Organizer *IdentitySet `json:"organizer,omitempty"`
// Participants undocumented
Participants []IdentitySet `json:"participants,omitempty"`
// StartDateTime undocumented
StartDateTime *time.Time `json:"startDateTime,omitempty"`
// Type undocumented
Type *CallRecordsCallType `json:"type,omitempty"`
// Version undocumented
Version *int `json:"version,omitempty"`
// Sessions undocumented
Sessions []CallRecordsSession `json:"sessions,omitempty"`
}
func NewCallRecordsCallRecord() (*CallRecordsCallRecord, error) {
newCallRecordsCallRecord := &CallRecordsCallRecord{
ODataType: "#microsoft.graph.CallRecordsCallRecord",
}
return newCallRecordsCallRecord, nil
}
// CallRecordsClientUserAgent undocumented
type CallRecordsClientUserAgent struct {
// CallRecordsUserAgent is the base model of CallRecordsClientUserAgent
CallRecordsUserAgent
ODataType string `json:"@odata.type,omitempty"`
// AzureADAppID undocumented
AzureADAppID *string `json:"azureADAppId,omitempty"`
// CommunicationServiceID undocumented
CommunicationServiceID *string `json:"communicationServiceId,omitempty"`
// Platform undocumented
Platform *CallRecordsClientPlatform `json:"platform,omitempty"`
// ProductFamily undocumented
ProductFamily *CallRecordsProductFamily `json:"productFamily,omitempty"`
}
func NewCallRecordsClientUserAgent() (*CallRecordsClientUserAgent, error) {
newCallRecordsClientUserAgent := &CallRecordsClientUserAgent{
ODataType: "#microsoft.graph.CallRecordsClientUserAgent",
}
return newCallRecordsClientUserAgent, nil
}
// CallRecordsDeviceInfo undocumented
type CallRecordsDeviceInfo struct {
// Object is the base model of CallRecordsDeviceInfo
Object
ODataType string `json:"@odata.type,omitempty"`
// CaptureDeviceDriver undocumented
CaptureDeviceDriver *string `json:"captureDeviceDriver,omitempty"`
// CaptureDeviceName undocumented
CaptureDeviceName *string `json:"captureDeviceName,omitempty"`
// CaptureNotFunctioningEventRatio undocumented
CaptureNotFunctioningEventRatio *float64 `json:"captureNotFunctioningEventRatio,omitempty"`
// CPUInsufficentEventRatio undocumented
CPUInsufficentEventRatio *float64 `json:"cpuInsufficentEventRatio,omitempty"`
// DeviceClippingEventRatio undocumented
DeviceClippingEventRatio *float64 `json:"deviceClippingEventRatio,omitempty"`
// DeviceGlitchEventRatio undocumented
DeviceGlitchEventRatio *float64 `json:"deviceGlitchEventRatio,omitempty"`
// HowlingEventCount undocumented
HowlingEventCount *int `json:"howlingEventCount,omitempty"`
// InitialSignalLevelRootMeanSquare undocumented
InitialSignalLevelRootMeanSquare *float64 `json:"initialSignalLevelRootMeanSquare,omitempty"`
// LowSpeechLevelEventRatio undocumented
LowSpeechLevelEventRatio *float64 `json:"lowSpeechLevelEventRatio,omitempty"`
// LowSpeechToNoiseEventRatio undocumented
LowSpeechToNoiseEventRatio *float64 `json:"lowSpeechToNoiseEventRatio,omitempty"`
// MicGlitchRate undocumented
MicGlitchRate *float64 `json:"micGlitchRate,omitempty"`
// ReceivedNoiseLevel undocumented
ReceivedNoiseLevel *int `json:"receivedNoiseLevel,omitempty"`
// ReceivedSignalLevel undocumented
ReceivedSignalLevel *int `json:"receivedSignalLevel,omitempty"`
// RenderDeviceDriver undocumented
RenderDeviceDriver *string `json:"renderDeviceDriver,omitempty"`
// RenderDeviceName undocumented
RenderDeviceName *string `json:"renderDeviceName,omitempty"`
// RenderMuteEventRatio undocumented
RenderMuteEventRatio *float64 `json:"renderMuteEventRatio,omitempty"`
// RenderNotFunctioningEventRatio undocumented
RenderNotFunctioningEventRatio *float64 `json:"renderNotFunctioningEventRatio,omitempty"`
// RenderZeroVolumeEventRatio undocumented
RenderZeroVolumeEventRatio *float64 `json:"renderZeroVolumeEventRatio,omitempty"`
// SentNoiseLevel undocumented
SentNoiseLevel *int `json:"sentNoiseLevel,omitempty"`
// SentSignalLevel undocumented
SentSignalLevel *int `json:"sentSignalLevel,omitempty"`
// SpeakerGlitchRate undocumented
SpeakerGlitchRate *float64 `json:"speakerGlitchRate,omitempty"`
}
func NewCallRecordsDeviceInfo() (*CallRecordsDeviceInfo, error) {
newCallRecordsDeviceInfo := &CallRecordsDeviceInfo{
ODataType: "#microsoft.graph.CallRecordsDeviceInfo",
}
return newCallRecordsDeviceInfo, nil
}
// CallRecordsDirectRoutingLogRow undocumented
type CallRecordsDirectRoutingLogRow struct {
// Object is the base model of CallRecordsDirectRoutingLogRow
Object
ODataType string `json:"@odata.type,omitempty"`
// CalleeNumber undocumented
CalleeNumber *string `json:"calleeNumber,omitempty"`
// CallEndSubReason undocumented
CallEndSubReason *int `json:"callEndSubReason,omitempty"`
// CallerNumber undocumented
CallerNumber *string `json:"callerNumber,omitempty"`
// CallType undocumented
CallType *string `json:"callType,omitempty"`
// CorrelationID undocumented
CorrelationID *string `json:"correlationId,omitempty"`
// Duration undocumented
Duration *int `json:"duration,omitempty"`
// EndDateTime undocumented
EndDateTime *time.Time `json:"endDateTime,omitempty"`
// FailureDateTime undocumented
FailureDateTime *time.Time `json:"failureDateTime,omitempty"`
// FinalSipCode undocumented
FinalSipCode *int `json:"finalSipCode,omitempty"`
// FinalSipCodePhrase undocumented
FinalSipCodePhrase *string `json:"finalSipCodePhrase,omitempty"`
// ID undocumented
ID *string `json:"id,omitempty"`
// InviteDateTime undocumented
InviteDateTime *time.Time `json:"inviteDateTime,omitempty"`
// MediaBypassEnabled undocumented
MediaBypassEnabled *bool `json:"mediaBypassEnabled,omitempty"`
// MediaPathLocation undocumented
MediaPathLocation *string `json:"mediaPathLocation,omitempty"`
// SignalingLocation undocumented
SignalingLocation *string `json:"signalingLocation,omitempty"`
// StartDateTime undocumented
StartDateTime *time.Time `json:"startDateTime,omitempty"`
// SuccessfulCall undocumented
SuccessfulCall *bool `json:"successfulCall,omitempty"`
// TrunkFullyQualifiedDomainName undocumented
TrunkFullyQualifiedDomainName *string `json:"trunkFullyQualifiedDomainName,omitempty"`
// UserDisplayName undocumented
UserDisplayName *string `json:"userDisplayName,omitempty"`
// UserID undocumented
UserID *string `json:"userId,omitempty"`
// UserPrincipalName undocumented
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}
func NewCallRecordsDirectRoutingLogRow() (*CallRecordsDirectRoutingLogRow, error) {
newCallRecordsDirectRoutingLogRow := &CallRecordsDirectRoutingLogRow{
ODataType: "#microsoft.graph.CallRecordsDirectRoutingLogRow",
}
return newCallRecordsDirectRoutingLogRow, nil
}
// CallRecordsEndpoint undocumented
type CallRecordsEndpoint struct {
// Object is the base model of CallRecordsEndpoint
Object
ODataType string `json:"@odata.type,omitempty"`
// UserAgent undocumented
UserAgent *CallRecordsUserAgent `json:"userAgent,omitempty"`
}
func NewCallRecordsEndpoint() (*CallRecordsEndpoint, error) {
newCallRecordsEndpoint := &CallRecordsEndpoint{
ODataType: "#microsoft.graph.CallRecordsEndpoint",
}
return newCallRecordsEndpoint, nil
}
// CallRecordsFailureInfo undocumented
type CallRecordsFailureInfo struct {
// Object is the base model of CallRecordsFailureInfo
Object
ODataType string `json:"@odata.type,omitempty"`
// Reason undocumented
Reason *string `json:"reason,omitempty"`
// Stage undocumented
Stage *CallRecordsFailureStage `json:"stage,omitempty"`
}
func NewCallRecordsFailureInfo() (*CallRecordsFailureInfo, error) {
newCallRecordsFailureInfo := &CallRecordsFailureInfo{
ODataType: "#microsoft.graph.CallRecordsFailureInfo",
}
return newCallRecordsFailureInfo, nil
}
// CallRecordsFeedbackTokenSet undocumented
type CallRecordsFeedbackTokenSet struct {
// Object is the base model of CallRecordsFeedbackTokenSet
Object
ODataType string `json:"@odata.type,omitempty"`
}
func NewCallRecordsFeedbackTokenSet() (*CallRecordsFeedbackTokenSet, error) {
newCallRecordsFeedbackTokenSet := &CallRecordsFeedbackTokenSet{
ODataType: "#microsoft.graph.CallRecordsFeedbackTokenSet",
}
return newCallRecordsFeedbackTokenSet, nil
}
// CallRecordsMedia undocumented
type CallRecordsMedia struct {
// Object is the base model of CallRecordsMedia
Object
ODataType string `json:"@odata.type,omitempty"`
// CalleeDevice undocumented
CalleeDevice *CallRecordsDeviceInfo `json:"calleeDevice,omitempty"`
// CalleeNetwork undocumented
CalleeNetwork *CallRecordsNetworkInfo `json:"calleeNetwork,omitempty"`
// CallerDevice undocumented
CallerDevice *CallRecordsDeviceInfo `json:"callerDevice,omitempty"`
// CallerNetwork undocumented
CallerNetwork *CallRecordsNetworkInfo `json:"callerNetwork,omitempty"`
// Label undocumented
Label *string `json:"label,omitempty"`
// Streams undocumented
Streams []CallRecordsMediaStream `json:"streams,omitempty"`
}
func NewCallRecordsMedia() (*CallRecordsMedia, error) {
newCallRecordsMedia := &CallRecordsMedia{
ODataType: "#microsoft.graph.CallRecordsMedia",
}
return newCallRecordsMedia, nil
}
// CallRecordsMediaStream undocumented
type CallRecordsMediaStream struct {
// Object is the base model of CallRecordsMediaStream
Object
ODataType string `json:"@odata.type,omitempty"`
// AudioCodec undocumented
AudioCodec *CallRecordsAudioCodec `json:"audioCodec,omitempty"`
// AverageAudioDegradation undocumented
AverageAudioDegradation *float64 `json:"averageAudioDegradation,omitempty"`
// AverageAudioNetworkJitter undocumented
AverageAudioNetworkJitter *Duration `json:"averageAudioNetworkJitter,omitempty"`
// AverageBandwidthEstimate undocumented
AverageBandwidthEstimate *int `json:"averageBandwidthEstimate,omitempty"`
// AverageJitter undocumented
AverageJitter *Duration `json:"averageJitter,omitempty"`
// AveragePacketLossRate undocumented
AveragePacketLossRate *float64 `json:"averagePacketLossRate,omitempty"`
// AverageRatioOfConcealedSamples undocumented
AverageRatioOfConcealedSamples *float64 `json:"averageRatioOfConcealedSamples,omitempty"`
// AverageReceivedFrameRate undocumented
AverageReceivedFrameRate *float64 `json:"averageReceivedFrameRate,omitempty"`
// AverageRoundTripTime undocumented
AverageRoundTripTime *Duration `json:"averageRoundTripTime,omitempty"`
// AverageVideoFrameLossPercentage undocumented
AverageVideoFrameLossPercentage *float64 `json:"averageVideoFrameLossPercentage,omitempty"`
// AverageVideoFrameRate undocumented
AverageVideoFrameRate *float64 `json:"averageVideoFrameRate,omitempty"`
// AverageVideoPacketLossRate undocumented
AverageVideoPacketLossRate *float64 `json:"averageVideoPacketLossRate,omitempty"`
// EndDateTime undocumented
EndDateTime *time.Time `json:"endDateTime,omitempty"`
// LowFrameRateRatio undocumented
LowFrameRateRatio *float64 `json:"lowFrameRateRatio,omitempty"`
// LowVideoProcessingCapabilityRatio undocumented
LowVideoProcessingCapabilityRatio *float64 `json:"lowVideoProcessingCapabilityRatio,omitempty"`
// MaxAudioNetworkJitter undocumented
MaxAudioNetworkJitter *Duration `json:"maxAudioNetworkJitter,omitempty"`
// MaxJitter undocumented
MaxJitter *Duration `json:"maxJitter,omitempty"`
// MaxPacketLossRate undocumented
MaxPacketLossRate *float64 `json:"maxPacketLossRate,omitempty"`
// MaxRatioOfConcealedSamples undocumented
MaxRatioOfConcealedSamples *float64 `json:"maxRatioOfConcealedSamples,omitempty"`
// MaxRoundTripTime undocumented
MaxRoundTripTime *Duration `json:"maxRoundTripTime,omitempty"`
// PacketUtilization undocumented
PacketUtilization *int `json:"packetUtilization,omitempty"`
// PostForwardErrorCorrectionPacketLossRate undocumented
PostForwardErrorCorrectionPacketLossRate *float64 `json:"postForwardErrorCorrectionPacketLossRate,omitempty"`
// StartDateTime undocumented
StartDateTime *time.Time `json:"startDateTime,omitempty"`
// StreamDirection undocumented
StreamDirection *CallRecordsMediaStreamDirection `json:"streamDirection,omitempty"`
// StreamID undocumented
StreamID *string `json:"streamId,omitempty"`
// VideoCodec undocumented
VideoCodec *CallRecordsVideoCodec `json:"videoCodec,omitempty"`
// WasMediaBypassed undocumented
WasMediaBypassed *bool `json:"wasMediaBypassed,omitempty"`
}
func NewCallRecordsMediaStream() (*CallRecordsMediaStream, error) {
newCallRecordsMediaStream := &CallRecordsMediaStream{
ODataType: "#microsoft.graph.CallRecordsMediaStream",
}
return newCallRecordsMediaStream, nil
}
// CallRecordsNetworkInfo undocumented
type CallRecordsNetworkInfo struct {
// Object is the base model of CallRecordsNetworkInfo
Object
ODataType string `json:"@odata.type,omitempty"`
// BandwidthLowEventRatio undocumented
BandwidthLowEventRatio *float64 `json:"bandwidthLowEventRatio,omitempty"`
// BasicServiceSetIdentifier undocumented
BasicServiceSetIdentifier *string `json:"basicServiceSetIdentifier,omitempty"`
// ConnectionType undocumented
ConnectionType *CallRecordsNetworkConnectionType `json:"connectionType,omitempty"`
// DelayEventRatio undocumented
DelayEventRatio *float64 `json:"delayEventRatio,omitempty"`
// DnsSuffix undocumented
DnsSuffix *string `json:"dnsSuffix,omitempty"`
// IPAddress undocumented
IPAddress *string `json:"ipAddress,omitempty"`
// LinkSpeed undocumented
LinkSpeed *int `json:"linkSpeed,omitempty"`
// MacAddress undocumented
MacAddress *string `json:"macAddress,omitempty"`
// NetworkTransportProtocol undocumented
NetworkTransportProtocol *CallRecordsNetworkTransportProtocol `json:"networkTransportProtocol,omitempty"`
// Port undocumented
Port *int `json:"port,omitempty"`
// ReceivedQualityEventRatio undocumented
ReceivedQualityEventRatio *float64 `json:"receivedQualityEventRatio,omitempty"`
// ReflexiveIPAddress undocumented
ReflexiveIPAddress *string `json:"reflexiveIPAddress,omitempty"`
// RelayIPAddress undocumented
RelayIPAddress *string `json:"relayIPAddress,omitempty"`
// RelayPort undocumented
RelayPort *int `json:"relayPort,omitempty"`
// SentQualityEventRatio undocumented
SentQualityEventRatio *float64 `json:"sentQualityEventRatio,omitempty"`
// Subnet undocumented
Subnet *string `json:"subnet,omitempty"`
// TraceRouteHops undocumented
TraceRouteHops []CallRecordsTraceRouteHop `json:"traceRouteHops,omitempty"`
// WiFiBand undocumented
WiFiBand *CallRecordsWiFiBand `json:"wifiBand,omitempty"`
// WiFiBatteryCharge undocumented
WiFiBatteryCharge *int `json:"wifiBatteryCharge,omitempty"`
// WiFiChannel undocumented
WiFiChannel *int `json:"wifiChannel,omitempty"`
// WiFiMicrosoftDriver undocumented
WiFiMicrosoftDriver *string `json:"wifiMicrosoftDriver,omitempty"`
// WiFiMicrosoftDriverVersion undocumented
WiFiMicrosoftDriverVersion *string `json:"wifiMicrosoftDriverVersion,omitempty"`
// WiFiRadioType undocumented
WiFiRadioType *CallRecordsWiFiRadioType `json:"wifiRadioType,omitempty"`
// WiFiSignalStrength undocumented
WiFiSignalStrength *int `json:"wifiSignalStrength,omitempty"`
// WiFiVendorDriver undocumented
WiFiVendorDriver *string `json:"wifiVendorDriver,omitempty"`
// WiFiVendorDriverVersion undocumented
WiFiVendorDriverVersion *string `json:"wifiVendorDriverVersion,omitempty"`
}
func NewCallRecordsNetworkInfo() (*CallRecordsNetworkInfo, error) {
newCallRecordsNetworkInfo := &CallRecordsNetworkInfo{
ODataType: "#microsoft.graph.CallRecordsNetworkInfo",
}
return newCallRecordsNetworkInfo, nil
}
// CallRecordsParticipantEndpoint undocumented
type CallRecordsParticipantEndpoint struct {
// CallRecordsEndpoint is the base model of CallRecordsParticipantEndpoint
CallRecordsEndpoint
ODataType string `json:"@odata.type,omitempty"`
// Feedback undocumented
Feedback *CallRecordsUserFeedback `json:"feedback,omitempty"`
// Identity undocumented
Identity *IdentitySet `json:"identity,omitempty"`
}
func NewCallRecordsParticipantEndpoint() (*CallRecordsParticipantEndpoint, error) {
newCallRecordsParticipantEndpoint := &CallRecordsParticipantEndpoint{
ODataType: "#microsoft.graph.CallRecordsParticipantEndpoint",
}
return newCallRecordsParticipantEndpoint, nil
}
// CallRecordsPstnCallLogRow undocumented
type CallRecordsPstnCallLogRow struct {
// Object is the base model of CallRecordsPstnCallLogRow
Object
ODataType string `json:"@odata.type,omitempty"`
// CallDurationSource undocumented
CallDurationSource *CallRecordsPstnCallDurationSource `json:"callDurationSource,omitempty"`
// CalleeNumber undocumented
CalleeNumber *string `json:"calleeNumber,omitempty"`
// CallerNumber undocumented
CallerNumber *string `json:"callerNumber,omitempty"`
// CallID undocumented
CallID *string `json:"callId,omitempty"`
// CallType undocumented
CallType *string `json:"callType,omitempty"`
// Charge undocumented
Charge *int `json:"charge,omitempty"`
// ConferenceID undocumented
ConferenceID *string `json:"conferenceId,omitempty"`
// ConnectionCharge undocumented
ConnectionCharge *int `json:"connectionCharge,omitempty"`
// Currency undocumented
Currency *string `json:"currency,omitempty"`
// DestinationContext undocumented
DestinationContext *string `json:"destinationContext,omitempty"`
// DestinationName undocumented
DestinationName *string `json:"destinationName,omitempty"`
// Duration undocumented
Duration *int `json:"duration,omitempty"`
// EndDateTime undocumented
EndDateTime *time.Time `json:"endDateTime,omitempty"`
// ID undocumented
ID *string `json:"id,omitempty"`
// InventoryType undocumented
InventoryType *string `json:"inventoryType,omitempty"`
// LicenseCapability undocumented
LicenseCapability *string `json:"licenseCapability,omitempty"`
// Operator undocumented
Operator *string `json:"operator,omitempty"`
// StartDateTime undocumented
StartDateTime *time.Time `json:"startDateTime,omitempty"`
// TenantCountryCode undocumented
TenantCountryCode *string `json:"tenantCountryCode,omitempty"`
// UsageCountryCode undocumented
UsageCountryCode *string `json:"usageCountryCode,omitempty"`
// UserDisplayName undocumented
UserDisplayName *string `json:"userDisplayName,omitempty"`
// UserID undocumented
UserID *string `json:"userId,omitempty"`
// UserPrincipalName undocumented
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}
func NewCallRecordsPstnCallLogRow() (*CallRecordsPstnCallLogRow, error) {
newCallRecordsPstnCallLogRow := &CallRecordsPstnCallLogRow{
ODataType: "#microsoft.graph.CallRecordsPstnCallLogRow",
}
return newCallRecordsPstnCallLogRow, nil
}
// CallRecordsSegment undocumented
type CallRecordsSegment struct {
// Entity is the base model of CallRecordsSegment
Entity
ODataType string `json:"@odata.type,omitempty"`
// Callee undocumented
Callee *CallRecordsEndpoint `json:"callee,omitempty"`
// Caller undocumented
Caller *CallRecordsEndpoint `json:"caller,omitempty"`
// EndDateTime undocumented
EndDateTime *time.Time `json:"endDateTime,omitempty"`
// FailureInfo undocumented
FailureInfo *CallRecordsFailureInfo `json:"failureInfo,omitempty"`
// Media undocumented
Media []CallRecordsMedia `json:"media,omitempty"`
// StartDateTime undocumented
StartDateTime *time.Time `json:"startDateTime,omitempty"`
}
func NewCallRecordsSegment() (*CallRecordsSegment, error) {
newCallRecordsSegment := &CallRecordsSegment{
ODataType: "#microsoft.graph.CallRecordsSegment",
}
return newCallRecordsSegment, nil
}
// CallRecordsServiceEndpoint undocumented
type CallRecordsServiceEndpoint struct {
// CallRecordsEndpoint is the base model of CallRecordsServiceEndpoint
CallRecordsEndpoint
ODataType string `json:"@odata.type,omitempty"`
}
func NewCallRecordsServiceEndpoint() (*CallRecordsServiceEndpoint, error) {
newCallRecordsServiceEndpoint := &CallRecordsServiceEndpoint{
ODataType: "#microsoft.graph.CallRecordsServiceEndpoint",
}
return newCallRecordsServiceEndpoint, nil
}
// CallRecordsServiceUserAgent undocumented
type CallRecordsServiceUserAgent struct {
// CallRecordsUserAgent is the base model of CallRecordsServiceUserAgent
CallRecordsUserAgent
ODataType string `json:"@odata.type,omitempty"`
// Role undocumented
Role *CallRecordsServiceRole `json:"role,omitempty"`
}
func NewCallRecordsServiceUserAgent() (*CallRecordsServiceUserAgent, error) {
newCallRecordsServiceUserAgent := &CallRecordsServiceUserAgent{
ODataType: "#microsoft.graph.CallRecordsServiceUserAgent",
}
return newCallRecordsServiceUserAgent, nil
}
// CallRecordsSession undocumented
type CallRecordsSession struct {
// Entity is the base model of CallRecordsSession
Entity
ODataType string `json:"@odata.type,omitempty"`
// Callee undocumented
Callee *CallRecordsEndpoint `json:"callee,omitempty"`
// Caller undocumented
Caller *CallRecordsEndpoint `json:"caller,omitempty"`
// EndDateTime undocumented
EndDateTime *time.Time `json:"endDateTime,omitempty"`
// FailureInfo undocumented
FailureInfo *CallRecordsFailureInfo `json:"failureInfo,omitempty"`
// Modalities undocumented
Modalities []CallRecordsModality `json:"modalities,omitempty"`
// StartDateTime undocumented
StartDateTime *time.Time `json:"startDateTime,omitempty"`
// Segments undocumented
Segments []CallRecordsSegment `json:"segments,omitempty"`
}
func NewCallRecordsSession() (*CallRecordsSession, error) {
newCallRecordsSession := &CallRecordsSession{
ODataType: "#microsoft.graph.CallRecordsSession",
}
return newCallRecordsSession, nil
}
// CallRecordsTraceRouteHop undocumented
type CallRecordsTraceRouteHop struct {
// Object is the base model of CallRecordsTraceRouteHop
Object
ODataType string `json:"@odata.type,omitempty"`
// HopCount undocumented
HopCount *int `json:"hopCount,omitempty"`
// IPAddress undocumented
IPAddress *string `json:"ipAddress,omitempty"`
// RoundTripTime undocumented
RoundTripTime *Duration `json:"roundTripTime,omitempty"`
}
func NewCallRecordsTraceRouteHop() (*CallRecordsTraceRouteHop, error) {
newCallRecordsTraceRouteHop := &CallRecordsTraceRouteHop{
ODataType: "#microsoft.graph.CallRecordsTraceRouteHop",
}
return newCallRecordsTraceRouteHop, nil
}
// CallRecordsUserAgent undocumented
type CallRecordsUserAgent struct {
// Object is the base model of CallRecordsUserAgent
Object
ODataType string `json:"@odata.type,omitempty"`
// ApplicationVersion undocumented
ApplicationVersion *string `json:"applicationVersion,omitempty"`
// HeaderValue undocumented
HeaderValue *string `json:"headerValue,omitempty"`
}
func NewCallRecordsUserAgent() (*CallRecordsUserAgent, error) {
newCallRecordsUserAgent := &CallRecordsUserAgent{
ODataType: "#microsoft.graph.CallRecordsUserAgent",
}
return newCallRecordsUserAgent, nil
}
// CallRecordsUserFeedback undocumented
type CallRecordsUserFeedback struct {
// Object is the base model of CallRecordsUserFeedback
Object
ODataType string `json:"@odata.type,omitempty"`
// Rating undocumented
Rating *CallRecordsUserFeedbackRating `json:"rating,omitempty"`
// Text undocumented
Text *string `json:"text,omitempty"`
// Tokens undocumented
Tokens *CallRecordsFeedbackTokenSet `json:"tokens,omitempty"`
}
func NewCallRecordsUserFeedback() (*CallRecordsUserFeedback, error) {
newCallRecordsUserFeedback := &CallRecordsUserFeedback{
ODataType: "#microsoft.graph.CallRecordsUserFeedback",
}
return newCallRecordsUserFeedback, nil
}