@microsoft/msgraph-sdk 1.0.0-preview.25 → 1.0.0-preview.27
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 +233 -233
- package/models/callRecords/index.d.ts.map +1 -1
- package/models/callRecords/index.js +358 -223
- package/models/callRecords/index.js.map +1 -1
- package/models/externalConnectors/index.d.ts +114 -114
- package/models/externalConnectors/index.d.ts.map +1 -1
- package/models/externalConnectors/index.js +237 -102
- package/models/externalConnectors/index.js.map +1 -1
- package/models/identityGovernance/index.d.ts +582 -190
- package/models/identityGovernance/index.d.ts.map +1 -1
- package/models/identityGovernance/index.js +712 -182
- package/models/identityGovernance/index.js.map +1 -1
- package/models/index.d.ts +15650 -12803
- package/models/index.d.ts.map +1 -1
- package/models/index.js +25928 -11904
- package/models/index.js.map +1 -1
- package/models/oDataErrors/index.d.ts +21 -21
- package/models/oDataErrors/index.d.ts.map +1 -1
- package/models/oDataErrors/index.js +37 -17
- package/models/oDataErrors/index.js.map +1 -1
- package/models/partners/billing/index.d.ts +42 -42
- package/models/partners/billing/index.d.ts.map +1 -1
- package/models/partners/billing/index.js +111 -41
- package/models/partners/billing/index.js.map +1 -1
- package/models/search/index.d.ts +62 -62
- package/models/search/index.d.ts.map +1 -1
- package/models/search/index.js +115 -60
- package/models/search/index.js.map +1 -1
- package/models/security/index.d.ts +1145 -1065
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +2104 -1030
- package/models/security/index.js.map +1 -1
- package/models/termStore/index.d.ts +61 -61
- package/models/termStore/index.d.ts.map +1 -1
- package/models/termStore/index.js +123 -58
- package/models/termStore/index.js.map +1 -1
- package/package.json +3 -5
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -8,6 +8,7 @@ import { createCommunicationsIdentitySetFromDiscriminatorValue, createIdentityFr
|
|
|
8
8
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
9
9
|
* @returns {CallRecordCollectionResponse}
|
|
10
10
|
*/
|
|
11
|
+
// @ts-ignore
|
|
11
12
|
export function createCallRecordCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
12
13
|
return deserializeIntoCallRecordCollectionResponse;
|
|
13
14
|
}
|
|
@@ -16,6 +17,7 @@ export function createCallRecordCollectionResponseFromDiscriminatorValue(parseNo
|
|
|
16
17
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
17
18
|
* @returns {CallRecord}
|
|
18
19
|
*/
|
|
20
|
+
// @ts-ignore
|
|
19
21
|
export function createCallRecordFromDiscriminatorValue(parseNode) {
|
|
20
22
|
return deserializeIntoCallRecord;
|
|
21
23
|
}
|
|
@@ -24,6 +26,7 @@ export function createCallRecordFromDiscriminatorValue(parseNode) {
|
|
|
24
26
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
25
27
|
* @returns {ClientUserAgent}
|
|
26
28
|
*/
|
|
29
|
+
// @ts-ignore
|
|
27
30
|
export function createClientUserAgentFromDiscriminatorValue(parseNode) {
|
|
28
31
|
return deserializeIntoClientUserAgent;
|
|
29
32
|
}
|
|
@@ -32,6 +35,7 @@ export function createClientUserAgentFromDiscriminatorValue(parseNode) {
|
|
|
32
35
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
33
36
|
* @returns {DeviceInfo}
|
|
34
37
|
*/
|
|
38
|
+
// @ts-ignore
|
|
35
39
|
export function createDeviceInfoFromDiscriminatorValue(parseNode) {
|
|
36
40
|
return deserializeIntoDeviceInfo;
|
|
37
41
|
}
|
|
@@ -40,6 +44,7 @@ export function createDeviceInfoFromDiscriminatorValue(parseNode) {
|
|
|
40
44
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
41
45
|
* @returns {DirectRoutingLogRow}
|
|
42
46
|
*/
|
|
47
|
+
// @ts-ignore
|
|
43
48
|
export function createDirectRoutingLogRowFromDiscriminatorValue(parseNode) {
|
|
44
49
|
return deserializeIntoDirectRoutingLogRow;
|
|
45
50
|
}
|
|
@@ -48,6 +53,7 @@ export function createDirectRoutingLogRowFromDiscriminatorValue(parseNode) {
|
|
|
48
53
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
49
54
|
* @returns {Endpoint}
|
|
50
55
|
*/
|
|
56
|
+
// @ts-ignore
|
|
51
57
|
export function createEndpointFromDiscriminatorValue(parseNode) {
|
|
52
58
|
if (!parseNode)
|
|
53
59
|
throw new Error("parseNode cannot be undefined");
|
|
@@ -70,6 +76,7 @@ export function createEndpointFromDiscriminatorValue(parseNode) {
|
|
|
70
76
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
71
77
|
* @returns {FailureInfo}
|
|
72
78
|
*/
|
|
79
|
+
// @ts-ignore
|
|
73
80
|
export function createFailureInfoFromDiscriminatorValue(parseNode) {
|
|
74
81
|
return deserializeIntoFailureInfo;
|
|
75
82
|
}
|
|
@@ -78,6 +85,7 @@ export function createFailureInfoFromDiscriminatorValue(parseNode) {
|
|
|
78
85
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
79
86
|
* @returns {FeedbackTokenSet}
|
|
80
87
|
*/
|
|
88
|
+
// @ts-ignore
|
|
81
89
|
export function createFeedbackTokenSetFromDiscriminatorValue(parseNode) {
|
|
82
90
|
return deserializeIntoFeedbackTokenSet;
|
|
83
91
|
}
|
|
@@ -86,6 +94,7 @@ export function createFeedbackTokenSetFromDiscriminatorValue(parseNode) {
|
|
|
86
94
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
87
95
|
* @returns {Media}
|
|
88
96
|
*/
|
|
97
|
+
// @ts-ignore
|
|
89
98
|
export function createMediaFromDiscriminatorValue(parseNode) {
|
|
90
99
|
return deserializeIntoMedia;
|
|
91
100
|
}
|
|
@@ -94,6 +103,7 @@ export function createMediaFromDiscriminatorValue(parseNode) {
|
|
|
94
103
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
95
104
|
* @returns {MediaStream}
|
|
96
105
|
*/
|
|
106
|
+
// @ts-ignore
|
|
97
107
|
export function createMediaStreamFromDiscriminatorValue(parseNode) {
|
|
98
108
|
return deserializeIntoMediaStream;
|
|
99
109
|
}
|
|
@@ -102,6 +112,7 @@ export function createMediaStreamFromDiscriminatorValue(parseNode) {
|
|
|
102
112
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
103
113
|
* @returns {NetworkInfo}
|
|
104
114
|
*/
|
|
115
|
+
// @ts-ignore
|
|
105
116
|
export function createNetworkInfoFromDiscriminatorValue(parseNode) {
|
|
106
117
|
return deserializeIntoNetworkInfo;
|
|
107
118
|
}
|
|
@@ -110,6 +121,7 @@ export function createNetworkInfoFromDiscriminatorValue(parseNode) {
|
|
|
110
121
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
111
122
|
* @returns {Organizer}
|
|
112
123
|
*/
|
|
124
|
+
// @ts-ignore
|
|
113
125
|
export function createOrganizerFromDiscriminatorValue(parseNode) {
|
|
114
126
|
return deserializeIntoOrganizer;
|
|
115
127
|
}
|
|
@@ -118,6 +130,7 @@ export function createOrganizerFromDiscriminatorValue(parseNode) {
|
|
|
118
130
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
119
131
|
* @returns {ParticipantBase}
|
|
120
132
|
*/
|
|
133
|
+
// @ts-ignore
|
|
121
134
|
export function createParticipantBaseFromDiscriminatorValue(parseNode) {
|
|
122
135
|
if (!parseNode)
|
|
123
136
|
throw new Error("parseNode cannot be undefined");
|
|
@@ -140,6 +153,7 @@ export function createParticipantBaseFromDiscriminatorValue(parseNode) {
|
|
|
140
153
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
141
154
|
* @returns {ParticipantCollectionResponse}
|
|
142
155
|
*/
|
|
156
|
+
// @ts-ignore
|
|
143
157
|
export function createParticipantCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
144
158
|
return deserializeIntoParticipantCollectionResponse;
|
|
145
159
|
}
|
|
@@ -148,6 +162,7 @@ export function createParticipantCollectionResponseFromDiscriminatorValue(parseN
|
|
|
148
162
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
149
163
|
* @returns {ParticipantEndpoint}
|
|
150
164
|
*/
|
|
165
|
+
// @ts-ignore
|
|
151
166
|
export function createParticipantEndpointFromDiscriminatorValue(parseNode) {
|
|
152
167
|
return deserializeIntoParticipantEndpoint;
|
|
153
168
|
}
|
|
@@ -156,6 +171,7 @@ export function createParticipantEndpointFromDiscriminatorValue(parseNode) {
|
|
|
156
171
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
157
172
|
* @returns {Participant}
|
|
158
173
|
*/
|
|
174
|
+
// @ts-ignore
|
|
159
175
|
export function createParticipantFromDiscriminatorValue(parseNode) {
|
|
160
176
|
return deserializeIntoParticipant;
|
|
161
177
|
}
|
|
@@ -164,6 +180,7 @@ export function createParticipantFromDiscriminatorValue(parseNode) {
|
|
|
164
180
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
165
181
|
* @returns {PstnCallLogRow}
|
|
166
182
|
*/
|
|
183
|
+
// @ts-ignore
|
|
167
184
|
export function createPstnCallLogRowFromDiscriminatorValue(parseNode) {
|
|
168
185
|
return deserializeIntoPstnCallLogRow;
|
|
169
186
|
}
|
|
@@ -172,6 +189,7 @@ export function createPstnCallLogRowFromDiscriminatorValue(parseNode) {
|
|
|
172
189
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
173
190
|
* @returns {SegmentCollectionResponse}
|
|
174
191
|
*/
|
|
192
|
+
// @ts-ignore
|
|
175
193
|
export function createSegmentCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
176
194
|
return deserializeIntoSegmentCollectionResponse;
|
|
177
195
|
}
|
|
@@ -180,6 +198,7 @@ export function createSegmentCollectionResponseFromDiscriminatorValue(parseNode)
|
|
|
180
198
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
181
199
|
* @returns {Segment}
|
|
182
200
|
*/
|
|
201
|
+
// @ts-ignore
|
|
183
202
|
export function createSegmentFromDiscriminatorValue(parseNode) {
|
|
184
203
|
return deserializeIntoSegment;
|
|
185
204
|
}
|
|
@@ -188,6 +207,7 @@ export function createSegmentFromDiscriminatorValue(parseNode) {
|
|
|
188
207
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
189
208
|
* @returns {ServiceEndpoint}
|
|
190
209
|
*/
|
|
210
|
+
// @ts-ignore
|
|
191
211
|
export function createServiceEndpointFromDiscriminatorValue(parseNode) {
|
|
192
212
|
return deserializeIntoServiceEndpoint;
|
|
193
213
|
}
|
|
@@ -196,6 +216,7 @@ export function createServiceEndpointFromDiscriminatorValue(parseNode) {
|
|
|
196
216
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
197
217
|
* @returns {ServiceUserAgent}
|
|
198
218
|
*/
|
|
219
|
+
// @ts-ignore
|
|
199
220
|
export function createServiceUserAgentFromDiscriminatorValue(parseNode) {
|
|
200
221
|
return deserializeIntoServiceUserAgent;
|
|
201
222
|
}
|
|
@@ -204,6 +225,7 @@ export function createServiceUserAgentFromDiscriminatorValue(parseNode) {
|
|
|
204
225
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
205
226
|
* @returns {SessionCollectionResponse}
|
|
206
227
|
*/
|
|
228
|
+
// @ts-ignore
|
|
207
229
|
export function createSessionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
208
230
|
return deserializeIntoSessionCollectionResponse;
|
|
209
231
|
}
|
|
@@ -212,6 +234,7 @@ export function createSessionCollectionResponseFromDiscriminatorValue(parseNode)
|
|
|
212
234
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
213
235
|
* @returns {Session}
|
|
214
236
|
*/
|
|
237
|
+
// @ts-ignore
|
|
215
238
|
export function createSessionFromDiscriminatorValue(parseNode) {
|
|
216
239
|
return deserializeIntoSession;
|
|
217
240
|
}
|
|
@@ -220,6 +243,7 @@ export function createSessionFromDiscriminatorValue(parseNode) {
|
|
|
220
243
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
221
244
|
* @returns {TraceRouteHop}
|
|
222
245
|
*/
|
|
246
|
+
// @ts-ignore
|
|
223
247
|
export function createTraceRouteHopFromDiscriminatorValue(parseNode) {
|
|
224
248
|
return deserializeIntoTraceRouteHop;
|
|
225
249
|
}
|
|
@@ -228,6 +252,7 @@ export function createTraceRouteHopFromDiscriminatorValue(parseNode) {
|
|
|
228
252
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
229
253
|
* @returns {UserAgent}
|
|
230
254
|
*/
|
|
255
|
+
// @ts-ignore
|
|
231
256
|
export function createUserAgentFromDiscriminatorValue(parseNode) {
|
|
232
257
|
if (!parseNode)
|
|
233
258
|
throw new Error("parseNode cannot be undefined");
|
|
@@ -250,6 +275,7 @@ export function createUserAgentFromDiscriminatorValue(parseNode) {
|
|
|
250
275
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
251
276
|
* @returns {UserFeedback}
|
|
252
277
|
*/
|
|
278
|
+
// @ts-ignore
|
|
253
279
|
export function createUserFeedbackFromDiscriminatorValue(parseNode) {
|
|
254
280
|
return deserializeIntoUserFeedback;
|
|
255
281
|
}
|
|
@@ -258,6 +284,7 @@ export function createUserFeedbackFromDiscriminatorValue(parseNode) {
|
|
|
258
284
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
259
285
|
* @returns {UserIdentity}
|
|
260
286
|
*/
|
|
287
|
+
// @ts-ignore
|
|
261
288
|
export function createUserIdentityFromDiscriminatorValue(parseNode) {
|
|
262
289
|
return deserializeIntoUserIdentity;
|
|
263
290
|
}
|
|
@@ -265,6 +292,7 @@ export function createUserIdentityFromDiscriminatorValue(parseNode) {
|
|
|
265
292
|
* The deserialization information for the current model
|
|
266
293
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
267
294
|
*/
|
|
295
|
+
// @ts-ignore
|
|
268
296
|
export function deserializeIntoCallRecord(callRecord = {}) {
|
|
269
297
|
return Object.assign(Object.assign({}, deserializeIntoEntity(callRecord)), { "endDateTime": n => { callRecord.endDateTime = n.getDateValue(); }, "joinWebUrl": n => { callRecord.joinWebUrl = n.getStringValue(); }, "lastModifiedDateTime": n => { callRecord.lastModifiedDateTime = n.getDateValue(); }, "modalities": n => { callRecord.modalities = n.getCollectionOfEnumValues(ModalityObject); }, "organizer": n => { callRecord.organizer = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "organizer_v2": n => { callRecord.organizer_v2 = n.getObjectValue(createOrganizerFromDiscriminatorValue); }, "participants": n => { callRecord.participants = n.getCollectionOfObjectValues(createIdentitySetFromDiscriminatorValue); }, "participants_v2": n => { callRecord.participants_v2 = n.getCollectionOfObjectValues(createParticipantFromDiscriminatorValue); }, "sessions": n => { callRecord.sessions = n.getCollectionOfObjectValues(createSessionFromDiscriminatorValue); }, "startDateTime": n => { callRecord.startDateTime = n.getDateValue(); }, "type": n => { callRecord.type = n.getEnumValue(CallTypeObject); }, "version": n => { callRecord.version = n.getNumberValue(); } });
|
|
270
298
|
}
|
|
@@ -272,6 +300,7 @@ export function deserializeIntoCallRecord(callRecord = {}) {
|
|
|
272
300
|
* The deserialization information for the current model
|
|
273
301
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
274
302
|
*/
|
|
303
|
+
// @ts-ignore
|
|
275
304
|
export function deserializeIntoCallRecordCollectionResponse(callRecordCollectionResponse = {}) {
|
|
276
305
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(callRecordCollectionResponse)), { "value": n => { callRecordCollectionResponse.value = n.getCollectionOfObjectValues(createCallRecordFromDiscriminatorValue); } });
|
|
277
306
|
}
|
|
@@ -279,6 +308,7 @@ export function deserializeIntoCallRecordCollectionResponse(callRecordCollection
|
|
|
279
308
|
* The deserialization information for the current model
|
|
280
309
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
281
310
|
*/
|
|
311
|
+
// @ts-ignore
|
|
282
312
|
export function deserializeIntoClientUserAgent(clientUserAgent = {}) {
|
|
283
313
|
return Object.assign(Object.assign({}, deserializeIntoUserAgent(clientUserAgent)), { "azureADAppId": n => { clientUserAgent.azureADAppId = n.getStringValue(); }, "communicationServiceId": n => { clientUserAgent.communicationServiceId = n.getStringValue(); }, "platform": n => { clientUserAgent.platform = n.getEnumValue(ClientPlatformObject); }, "productFamily": n => { clientUserAgent.productFamily = n.getEnumValue(ProductFamilyObject); } });
|
|
284
314
|
}
|
|
@@ -286,6 +316,7 @@ export function deserializeIntoClientUserAgent(clientUserAgent = {}) {
|
|
|
286
316
|
* The deserialization information for the current model
|
|
287
317
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
288
318
|
*/
|
|
319
|
+
// @ts-ignore
|
|
289
320
|
export function deserializeIntoDeviceInfo(deviceInfo = {}) {
|
|
290
321
|
return {
|
|
291
322
|
"backingStoreEnabled": n => { deviceInfo.backingStoreEnabled = true; },
|
|
@@ -317,6 +348,7 @@ export function deserializeIntoDeviceInfo(deviceInfo = {}) {
|
|
|
317
348
|
* The deserialization information for the current model
|
|
318
349
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
319
350
|
*/
|
|
351
|
+
// @ts-ignore
|
|
320
352
|
export function deserializeIntoDirectRoutingLogRow(directRoutingLogRow = {}) {
|
|
321
353
|
return {
|
|
322
354
|
"backingStoreEnabled": n => { directRoutingLogRow.backingStoreEnabled = true; },
|
|
@@ -348,6 +380,7 @@ export function deserializeIntoDirectRoutingLogRow(directRoutingLogRow = {}) {
|
|
|
348
380
|
* The deserialization information for the current model
|
|
349
381
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
350
382
|
*/
|
|
383
|
+
// @ts-ignore
|
|
351
384
|
export function deserializeIntoEndpoint(endpoint = {}) {
|
|
352
385
|
return {
|
|
353
386
|
"backingStoreEnabled": n => { endpoint.backingStoreEnabled = true; },
|
|
@@ -359,6 +392,7 @@ export function deserializeIntoEndpoint(endpoint = {}) {
|
|
|
359
392
|
* The deserialization information for the current model
|
|
360
393
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
361
394
|
*/
|
|
395
|
+
// @ts-ignore
|
|
362
396
|
export function deserializeIntoFailureInfo(failureInfo = {}) {
|
|
363
397
|
return {
|
|
364
398
|
"backingStoreEnabled": n => { failureInfo.backingStoreEnabled = true; },
|
|
@@ -371,6 +405,7 @@ export function deserializeIntoFailureInfo(failureInfo = {}) {
|
|
|
371
405
|
* The deserialization information for the current model
|
|
372
406
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
373
407
|
*/
|
|
408
|
+
// @ts-ignore
|
|
374
409
|
export function deserializeIntoFeedbackTokenSet(feedbackTokenSet = {}) {
|
|
375
410
|
return {
|
|
376
411
|
"backingStoreEnabled": n => { feedbackTokenSet.backingStoreEnabled = true; },
|
|
@@ -381,6 +416,7 @@ export function deserializeIntoFeedbackTokenSet(feedbackTokenSet = {}) {
|
|
|
381
416
|
* The deserialization information for the current model
|
|
382
417
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
383
418
|
*/
|
|
419
|
+
// @ts-ignore
|
|
384
420
|
export function deserializeIntoMedia(media = {}) {
|
|
385
421
|
return {
|
|
386
422
|
"backingStoreEnabled": n => { media.backingStoreEnabled = true; },
|
|
@@ -397,6 +433,7 @@ export function deserializeIntoMedia(media = {}) {
|
|
|
397
433
|
* The deserialization information for the current model
|
|
398
434
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
399
435
|
*/
|
|
436
|
+
// @ts-ignore
|
|
400
437
|
export function deserializeIntoMediaStream(mediaStream = {}) {
|
|
401
438
|
return {
|
|
402
439
|
"audioCodec": n => { mediaStream.audioCodec = n.getEnumValue(AudioCodecObject); },
|
|
@@ -437,6 +474,7 @@ export function deserializeIntoMediaStream(mediaStream = {}) {
|
|
|
437
474
|
* The deserialization information for the current model
|
|
438
475
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
439
476
|
*/
|
|
477
|
+
// @ts-ignore
|
|
440
478
|
export function deserializeIntoNetworkInfo(networkInfo = {}) {
|
|
441
479
|
return {
|
|
442
480
|
"backingStoreEnabled": n => { networkInfo.backingStoreEnabled = true; },
|
|
@@ -473,6 +511,7 @@ export function deserializeIntoNetworkInfo(networkInfo = {}) {
|
|
|
473
511
|
* The deserialization information for the current model
|
|
474
512
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
475
513
|
*/
|
|
514
|
+
// @ts-ignore
|
|
476
515
|
export function deserializeIntoOrganizer(organizer = {}) {
|
|
477
516
|
return Object.assign({}, deserializeIntoParticipantBase(organizer));
|
|
478
517
|
}
|
|
@@ -480,6 +519,7 @@ export function deserializeIntoOrganizer(organizer = {}) {
|
|
|
480
519
|
* The deserialization information for the current model
|
|
481
520
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
482
521
|
*/
|
|
522
|
+
// @ts-ignore
|
|
483
523
|
export function deserializeIntoParticipant(participant = {}) {
|
|
484
524
|
return Object.assign({}, deserializeIntoParticipantBase(participant));
|
|
485
525
|
}
|
|
@@ -487,6 +527,7 @@ export function deserializeIntoParticipant(participant = {}) {
|
|
|
487
527
|
* The deserialization information for the current model
|
|
488
528
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
489
529
|
*/
|
|
530
|
+
// @ts-ignore
|
|
490
531
|
export function deserializeIntoParticipantBase(participantBase = {}) {
|
|
491
532
|
return Object.assign(Object.assign({}, deserializeIntoEntity(participantBase)), { "identity": n => { participantBase.identity = n.getObjectValue(createCommunicationsIdentitySetFromDiscriminatorValue); } });
|
|
492
533
|
}
|
|
@@ -494,6 +535,7 @@ export function deserializeIntoParticipantBase(participantBase = {}) {
|
|
|
494
535
|
* The deserialization information for the current model
|
|
495
536
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
496
537
|
*/
|
|
538
|
+
// @ts-ignore
|
|
497
539
|
export function deserializeIntoParticipantCollectionResponse(participantCollectionResponse = {}) {
|
|
498
540
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(participantCollectionResponse)), { "value": n => { participantCollectionResponse.value = n.getCollectionOfObjectValues(createParticipantFromDiscriminatorValue); } });
|
|
499
541
|
}
|
|
@@ -501,6 +543,7 @@ export function deserializeIntoParticipantCollectionResponse(participantCollecti
|
|
|
501
543
|
* The deserialization information for the current model
|
|
502
544
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
503
545
|
*/
|
|
546
|
+
// @ts-ignore
|
|
504
547
|
export function deserializeIntoParticipantEndpoint(participantEndpoint = {}) {
|
|
505
548
|
return Object.assign(Object.assign({}, deserializeIntoEndpoint(participantEndpoint)), { "associatedIdentity": n => { participantEndpoint.associatedIdentity = n.getObjectValue(createIdentityFromDiscriminatorValue); }, "cpuCoresCount": n => { participantEndpoint.cpuCoresCount = n.getNumberValue(); }, "cpuName": n => { participantEndpoint.cpuName = n.getStringValue(); }, "cpuProcessorSpeedInMhz": n => { participantEndpoint.cpuProcessorSpeedInMhz = n.getNumberValue(); }, "feedback": n => { participantEndpoint.feedback = n.getObjectValue(createUserFeedbackFromDiscriminatorValue); }, "identity": n => { participantEndpoint.identity = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "name": n => { participantEndpoint.name = n.getStringValue(); } });
|
|
506
549
|
}
|
|
@@ -508,6 +551,7 @@ export function deserializeIntoParticipantEndpoint(participantEndpoint = {}) {
|
|
|
508
551
|
* The deserialization information for the current model
|
|
509
552
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
510
553
|
*/
|
|
554
|
+
// @ts-ignore
|
|
511
555
|
export function deserializeIntoPstnCallLogRow(pstnCallLogRow = {}) {
|
|
512
556
|
return {
|
|
513
557
|
"backingStoreEnabled": n => { pstnCallLogRow.backingStoreEnabled = true; },
|
|
@@ -541,6 +585,7 @@ export function deserializeIntoPstnCallLogRow(pstnCallLogRow = {}) {
|
|
|
541
585
|
* The deserialization information for the current model
|
|
542
586
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
543
587
|
*/
|
|
588
|
+
// @ts-ignore
|
|
544
589
|
export function deserializeIntoSegment(segment = {}) {
|
|
545
590
|
return Object.assign(Object.assign({}, deserializeIntoEntity(segment)), { "callee": n => { segment.callee = n.getObjectValue(createEndpointFromDiscriminatorValue); }, "caller": n => { segment.caller = n.getObjectValue(createEndpointFromDiscriminatorValue); }, "endDateTime": n => { segment.endDateTime = n.getDateValue(); }, "failureInfo": n => { segment.failureInfo = n.getObjectValue(createFailureInfoFromDiscriminatorValue); }, "media": n => { segment.media = n.getCollectionOfObjectValues(createMediaFromDiscriminatorValue); }, "startDateTime": n => { segment.startDateTime = n.getDateValue(); } });
|
|
546
591
|
}
|
|
@@ -548,6 +593,7 @@ export function deserializeIntoSegment(segment = {}) {
|
|
|
548
593
|
* The deserialization information for the current model
|
|
549
594
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
550
595
|
*/
|
|
596
|
+
// @ts-ignore
|
|
551
597
|
export function deserializeIntoSegmentCollectionResponse(segmentCollectionResponse = {}) {
|
|
552
598
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(segmentCollectionResponse)), { "value": n => { segmentCollectionResponse.value = n.getCollectionOfObjectValues(createSegmentFromDiscriminatorValue); } });
|
|
553
599
|
}
|
|
@@ -555,6 +601,7 @@ export function deserializeIntoSegmentCollectionResponse(segmentCollectionRespon
|
|
|
555
601
|
* The deserialization information for the current model
|
|
556
602
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
557
603
|
*/
|
|
604
|
+
// @ts-ignore
|
|
558
605
|
export function deserializeIntoServiceEndpoint(serviceEndpoint = {}) {
|
|
559
606
|
return Object.assign({}, deserializeIntoEndpoint(serviceEndpoint));
|
|
560
607
|
}
|
|
@@ -562,6 +609,7 @@ export function deserializeIntoServiceEndpoint(serviceEndpoint = {}) {
|
|
|
562
609
|
* The deserialization information for the current model
|
|
563
610
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
564
611
|
*/
|
|
612
|
+
// @ts-ignore
|
|
565
613
|
export function deserializeIntoServiceUserAgent(serviceUserAgent = {}) {
|
|
566
614
|
return Object.assign(Object.assign({}, deserializeIntoUserAgent(serviceUserAgent)), { "role": n => { serviceUserAgent.role = n.getEnumValue(ServiceRoleObject); } });
|
|
567
615
|
}
|
|
@@ -569,6 +617,7 @@ export function deserializeIntoServiceUserAgent(serviceUserAgent = {}) {
|
|
|
569
617
|
* The deserialization information for the current model
|
|
570
618
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
571
619
|
*/
|
|
620
|
+
// @ts-ignore
|
|
572
621
|
export function deserializeIntoSession(session = {}) {
|
|
573
622
|
return Object.assign(Object.assign({}, deserializeIntoEntity(session)), { "callee": n => { session.callee = n.getObjectValue(createEndpointFromDiscriminatorValue); }, "caller": n => { session.caller = n.getObjectValue(createEndpointFromDiscriminatorValue); }, "endDateTime": n => { session.endDateTime = n.getDateValue(); }, "failureInfo": n => { session.failureInfo = n.getObjectValue(createFailureInfoFromDiscriminatorValue); }, "isTest": n => { session.isTest = n.getBooleanValue(); }, "modalities": n => { session.modalities = n.getCollectionOfEnumValues(ModalityObject); }, "segments": n => { session.segments = n.getCollectionOfObjectValues(createSegmentFromDiscriminatorValue); }, "startDateTime": n => { session.startDateTime = n.getDateValue(); } });
|
|
574
623
|
}
|
|
@@ -576,6 +625,7 @@ export function deserializeIntoSession(session = {}) {
|
|
|
576
625
|
* The deserialization information for the current model
|
|
577
626
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
578
627
|
*/
|
|
628
|
+
// @ts-ignore
|
|
579
629
|
export function deserializeIntoSessionCollectionResponse(sessionCollectionResponse = {}) {
|
|
580
630
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(sessionCollectionResponse)), { "value": n => { sessionCollectionResponse.value = n.getCollectionOfObjectValues(createSessionFromDiscriminatorValue); } });
|
|
581
631
|
}
|
|
@@ -583,6 +633,7 @@ export function deserializeIntoSessionCollectionResponse(sessionCollectionRespon
|
|
|
583
633
|
* The deserialization information for the current model
|
|
584
634
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
585
635
|
*/
|
|
636
|
+
// @ts-ignore
|
|
586
637
|
export function deserializeIntoTraceRouteHop(traceRouteHop = {}) {
|
|
587
638
|
return {
|
|
588
639
|
"backingStoreEnabled": n => { traceRouteHop.backingStoreEnabled = true; },
|
|
@@ -596,6 +647,7 @@ export function deserializeIntoTraceRouteHop(traceRouteHop = {}) {
|
|
|
596
647
|
* The deserialization information for the current model
|
|
597
648
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
598
649
|
*/
|
|
650
|
+
// @ts-ignore
|
|
599
651
|
export function deserializeIntoUserAgent(userAgent = {}) {
|
|
600
652
|
return {
|
|
601
653
|
"applicationVersion": n => { userAgent.applicationVersion = n.getStringValue(); },
|
|
@@ -608,6 +660,7 @@ export function deserializeIntoUserAgent(userAgent = {}) {
|
|
|
608
660
|
* The deserialization information for the current model
|
|
609
661
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
610
662
|
*/
|
|
663
|
+
// @ts-ignore
|
|
611
664
|
export function deserializeIntoUserFeedback(userFeedback = {}) {
|
|
612
665
|
return {
|
|
613
666
|
"backingStoreEnabled": n => { userFeedback.backingStoreEnabled = true; },
|
|
@@ -621,6 +674,7 @@ export function deserializeIntoUserFeedback(userFeedback = {}) {
|
|
|
621
674
|
* The deserialization information for the current model
|
|
622
675
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
623
676
|
*/
|
|
677
|
+
// @ts-ignore
|
|
624
678
|
export function deserializeIntoUserIdentity(userIdentity = {}) {
|
|
625
679
|
return Object.assign(Object.assign({}, deserializeIntoIdentity(userIdentity)), { "userPrincipalName": n => { userIdentity.userPrincipalName = n.getStringValue(); } });
|
|
626
680
|
}
|
|
@@ -628,386 +682,467 @@ export function deserializeIntoUserIdentity(userIdentity = {}) {
|
|
|
628
682
|
* Serializes information the current object
|
|
629
683
|
* @param writer Serialization writer to use to serialize this model
|
|
630
684
|
*/
|
|
685
|
+
// @ts-ignore
|
|
631
686
|
export function serializeCallRecord(writer, callRecord = {}) {
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
687
|
+
if (callRecord) {
|
|
688
|
+
serializeEntity(writer, callRecord);
|
|
689
|
+
writer.writeDateValue("endDateTime", callRecord.endDateTime);
|
|
690
|
+
writer.writeStringValue("joinWebUrl", callRecord.joinWebUrl);
|
|
691
|
+
writer.writeDateValue("lastModifiedDateTime", callRecord.lastModifiedDateTime);
|
|
692
|
+
if (callRecord.modalities)
|
|
693
|
+
writer.writeEnumValue("modalities", ...callRecord.modalities);
|
|
694
|
+
writer.writeObjectValue("organizer", callRecord.organizer, serializeIdentitySet);
|
|
695
|
+
writer.writeObjectValue("organizer_v2", callRecord.organizer_v2, serializeOrganizer);
|
|
696
|
+
writer.writeCollectionOfObjectValues("participants", callRecord.participants, serializeIdentitySet);
|
|
697
|
+
writer.writeCollectionOfObjectValues("participants_v2", callRecord.participants_v2, serializeParticipant);
|
|
698
|
+
writer.writeCollectionOfObjectValues("sessions", callRecord.sessions, serializeSession);
|
|
699
|
+
writer.writeDateValue("startDateTime", callRecord.startDateTime);
|
|
700
|
+
writer.writeEnumValue("type", callRecord.type);
|
|
701
|
+
writer.writeNumberValue("version", callRecord.version);
|
|
702
|
+
}
|
|
646
703
|
}
|
|
647
704
|
/**
|
|
648
705
|
* Serializes information the current object
|
|
649
706
|
* @param writer Serialization writer to use to serialize this model
|
|
650
707
|
*/
|
|
708
|
+
// @ts-ignore
|
|
651
709
|
export function serializeCallRecordCollectionResponse(writer, callRecordCollectionResponse = {}) {
|
|
652
|
-
|
|
653
|
-
|
|
710
|
+
if (callRecordCollectionResponse) {
|
|
711
|
+
serializeBaseCollectionPaginationCountResponse(writer, callRecordCollectionResponse);
|
|
712
|
+
writer.writeCollectionOfObjectValues("value", callRecordCollectionResponse.value, serializeCallRecord);
|
|
713
|
+
}
|
|
654
714
|
}
|
|
655
715
|
/**
|
|
656
716
|
* Serializes information the current object
|
|
657
717
|
* @param writer Serialization writer to use to serialize this model
|
|
658
718
|
*/
|
|
719
|
+
// @ts-ignore
|
|
659
720
|
export function serializeClientUserAgent(writer, clientUserAgent = {}) {
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
721
|
+
if (clientUserAgent) {
|
|
722
|
+
serializeUserAgent(writer, clientUserAgent);
|
|
723
|
+
writer.writeStringValue("azureADAppId", clientUserAgent.azureADAppId);
|
|
724
|
+
writer.writeStringValue("communicationServiceId", clientUserAgent.communicationServiceId);
|
|
725
|
+
writer.writeEnumValue("platform", clientUserAgent.platform);
|
|
726
|
+
writer.writeEnumValue("productFamily", clientUserAgent.productFamily);
|
|
727
|
+
}
|
|
665
728
|
}
|
|
666
729
|
/**
|
|
667
730
|
* Serializes information the current object
|
|
668
731
|
* @param writer Serialization writer to use to serialize this model
|
|
669
732
|
*/
|
|
733
|
+
// @ts-ignore
|
|
670
734
|
export function serializeDeviceInfo(writer, deviceInfo = {}) {
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
735
|
+
if (deviceInfo) {
|
|
736
|
+
writer.writeStringValue("captureDeviceDriver", deviceInfo.captureDeviceDriver);
|
|
737
|
+
writer.writeStringValue("captureDeviceName", deviceInfo.captureDeviceName);
|
|
738
|
+
writer.writeNumberValue("captureNotFunctioningEventRatio", deviceInfo.captureNotFunctioningEventRatio);
|
|
739
|
+
writer.writeNumberValue("cpuInsufficentEventRatio", deviceInfo.cpuInsufficentEventRatio);
|
|
740
|
+
writer.writeNumberValue("deviceClippingEventRatio", deviceInfo.deviceClippingEventRatio);
|
|
741
|
+
writer.writeNumberValue("deviceGlitchEventRatio", deviceInfo.deviceGlitchEventRatio);
|
|
742
|
+
writer.writeNumberValue("howlingEventCount", deviceInfo.howlingEventCount);
|
|
743
|
+
writer.writeNumberValue("initialSignalLevelRootMeanSquare", deviceInfo.initialSignalLevelRootMeanSquare);
|
|
744
|
+
writer.writeNumberValue("lowSpeechLevelEventRatio", deviceInfo.lowSpeechLevelEventRatio);
|
|
745
|
+
writer.writeNumberValue("lowSpeechToNoiseEventRatio", deviceInfo.lowSpeechToNoiseEventRatio);
|
|
746
|
+
writer.writeNumberValue("micGlitchRate", deviceInfo.micGlitchRate);
|
|
747
|
+
writer.writeStringValue("@odata.type", deviceInfo.odataType);
|
|
748
|
+
writer.writeNumberValue("receivedNoiseLevel", deviceInfo.receivedNoiseLevel);
|
|
749
|
+
writer.writeNumberValue("receivedSignalLevel", deviceInfo.receivedSignalLevel);
|
|
750
|
+
writer.writeStringValue("renderDeviceDriver", deviceInfo.renderDeviceDriver);
|
|
751
|
+
writer.writeStringValue("renderDeviceName", deviceInfo.renderDeviceName);
|
|
752
|
+
writer.writeNumberValue("renderMuteEventRatio", deviceInfo.renderMuteEventRatio);
|
|
753
|
+
writer.writeNumberValue("renderNotFunctioningEventRatio", deviceInfo.renderNotFunctioningEventRatio);
|
|
754
|
+
writer.writeNumberValue("renderZeroVolumeEventRatio", deviceInfo.renderZeroVolumeEventRatio);
|
|
755
|
+
writer.writeNumberValue("sentNoiseLevel", deviceInfo.sentNoiseLevel);
|
|
756
|
+
writer.writeNumberValue("sentSignalLevel", deviceInfo.sentSignalLevel);
|
|
757
|
+
writer.writeNumberValue("speakerGlitchRate", deviceInfo.speakerGlitchRate);
|
|
758
|
+
writer.writeAdditionalData(deviceInfo.additionalData);
|
|
759
|
+
}
|
|
694
760
|
}
|
|
695
761
|
/**
|
|
696
762
|
* Serializes information the current object
|
|
697
763
|
* @param writer Serialization writer to use to serialize this model
|
|
698
764
|
*/
|
|
765
|
+
// @ts-ignore
|
|
699
766
|
export function serializeDirectRoutingLogRow(writer, directRoutingLogRow = {}) {
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
767
|
+
if (directRoutingLogRow) {
|
|
768
|
+
writer.writeStringValue("calleeNumber", directRoutingLogRow.calleeNumber);
|
|
769
|
+
writer.writeNumberValue("callEndSubReason", directRoutingLogRow.callEndSubReason);
|
|
770
|
+
writer.writeStringValue("callerNumber", directRoutingLogRow.callerNumber);
|
|
771
|
+
writer.writeStringValue("callType", directRoutingLogRow.callType);
|
|
772
|
+
writer.writeStringValue("correlationId", directRoutingLogRow.correlationId);
|
|
773
|
+
writer.writeNumberValue("duration", directRoutingLogRow.duration);
|
|
774
|
+
writer.writeDateValue("endDateTime", directRoutingLogRow.endDateTime);
|
|
775
|
+
writer.writeDateValue("failureDateTime", directRoutingLogRow.failureDateTime);
|
|
776
|
+
writer.writeNumberValue("finalSipCode", directRoutingLogRow.finalSipCode);
|
|
777
|
+
writer.writeStringValue("finalSipCodePhrase", directRoutingLogRow.finalSipCodePhrase);
|
|
778
|
+
writer.writeStringValue("id", directRoutingLogRow.id);
|
|
779
|
+
writer.writeDateValue("inviteDateTime", directRoutingLogRow.inviteDateTime);
|
|
780
|
+
writer.writeBooleanValue("mediaBypassEnabled", directRoutingLogRow.mediaBypassEnabled);
|
|
781
|
+
writer.writeStringValue("mediaPathLocation", directRoutingLogRow.mediaPathLocation);
|
|
782
|
+
writer.writeStringValue("@odata.type", directRoutingLogRow.odataType);
|
|
783
|
+
writer.writeStringValue("signalingLocation", directRoutingLogRow.signalingLocation);
|
|
784
|
+
writer.writeDateValue("startDateTime", directRoutingLogRow.startDateTime);
|
|
785
|
+
writer.writeBooleanValue("successfulCall", directRoutingLogRow.successfulCall);
|
|
786
|
+
writer.writeStringValue("trunkFullyQualifiedDomainName", directRoutingLogRow.trunkFullyQualifiedDomainName);
|
|
787
|
+
writer.writeStringValue("userDisplayName", directRoutingLogRow.userDisplayName);
|
|
788
|
+
writer.writeStringValue("userId", directRoutingLogRow.userId);
|
|
789
|
+
writer.writeStringValue("userPrincipalName", directRoutingLogRow.userPrincipalName);
|
|
790
|
+
writer.writeAdditionalData(directRoutingLogRow.additionalData);
|
|
791
|
+
}
|
|
723
792
|
}
|
|
724
793
|
/**
|
|
725
794
|
* Serializes information the current object
|
|
726
795
|
* @param writer Serialization writer to use to serialize this model
|
|
727
796
|
*/
|
|
797
|
+
// @ts-ignore
|
|
728
798
|
export function serializeEndpoint(writer, endpoint = {}) {
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
799
|
+
if (endpoint) {
|
|
800
|
+
writer.writeStringValue("@odata.type", endpoint.odataType);
|
|
801
|
+
writer.writeObjectValue("userAgent", endpoint.userAgent, serializeUserAgent);
|
|
802
|
+
writer.writeAdditionalData(endpoint.additionalData);
|
|
803
|
+
}
|
|
732
804
|
}
|
|
733
805
|
/**
|
|
734
806
|
* Serializes information the current object
|
|
735
807
|
* @param writer Serialization writer to use to serialize this model
|
|
736
808
|
*/
|
|
809
|
+
// @ts-ignore
|
|
737
810
|
export function serializeFailureInfo(writer, failureInfo = {}) {
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
811
|
+
if (failureInfo) {
|
|
812
|
+
writer.writeStringValue("@odata.type", failureInfo.odataType);
|
|
813
|
+
writer.writeStringValue("reason", failureInfo.reason);
|
|
814
|
+
writer.writeEnumValue("stage", failureInfo.stage);
|
|
815
|
+
writer.writeAdditionalData(failureInfo.additionalData);
|
|
816
|
+
}
|
|
742
817
|
}
|
|
743
818
|
/**
|
|
744
819
|
* Serializes information the current object
|
|
745
820
|
* @param writer Serialization writer to use to serialize this model
|
|
746
821
|
*/
|
|
822
|
+
// @ts-ignore
|
|
747
823
|
export function serializeFeedbackTokenSet(writer, feedbackTokenSet = {}) {
|
|
748
|
-
|
|
749
|
-
|
|
824
|
+
if (feedbackTokenSet) {
|
|
825
|
+
writer.writeStringValue("@odata.type", feedbackTokenSet.odataType);
|
|
826
|
+
writer.writeAdditionalData(feedbackTokenSet.additionalData);
|
|
827
|
+
}
|
|
750
828
|
}
|
|
751
829
|
/**
|
|
752
830
|
* Serializes information the current object
|
|
753
831
|
* @param writer Serialization writer to use to serialize this model
|
|
754
832
|
*/
|
|
833
|
+
// @ts-ignore
|
|
755
834
|
export function serializeMedia(writer, media = {}) {
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
835
|
+
if (media) {
|
|
836
|
+
writer.writeObjectValue("calleeDevice", media.calleeDevice, serializeDeviceInfo);
|
|
837
|
+
writer.writeObjectValue("calleeNetwork", media.calleeNetwork, serializeNetworkInfo);
|
|
838
|
+
writer.writeObjectValue("callerDevice", media.callerDevice, serializeDeviceInfo);
|
|
839
|
+
writer.writeObjectValue("callerNetwork", media.callerNetwork, serializeNetworkInfo);
|
|
840
|
+
writer.writeStringValue("label", media.label);
|
|
841
|
+
writer.writeStringValue("@odata.type", media.odataType);
|
|
842
|
+
writer.writeCollectionOfObjectValues("streams", media.streams, serializeMediaStream);
|
|
843
|
+
writer.writeAdditionalData(media.additionalData);
|
|
844
|
+
}
|
|
764
845
|
}
|
|
765
846
|
/**
|
|
766
847
|
* Serializes information the current object
|
|
767
848
|
* @param writer Serialization writer to use to serialize this model
|
|
768
849
|
*/
|
|
850
|
+
// @ts-ignore
|
|
769
851
|
export function serializeMediaStream(writer, mediaStream = {}) {
|
|
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
|
-
|
|
852
|
+
if (mediaStream) {
|
|
853
|
+
writer.writeEnumValue("audioCodec", mediaStream.audioCodec);
|
|
854
|
+
writer.writeNumberValue("averageAudioDegradation", mediaStream.averageAudioDegradation);
|
|
855
|
+
writer.writeDurationValue("averageAudioNetworkJitter", mediaStream.averageAudioNetworkJitter);
|
|
856
|
+
writer.writeNumberValue("averageBandwidthEstimate", mediaStream.averageBandwidthEstimate);
|
|
857
|
+
writer.writeDurationValue("averageFreezeDuration", mediaStream.averageFreezeDuration);
|
|
858
|
+
writer.writeDurationValue("averageJitter", mediaStream.averageJitter);
|
|
859
|
+
writer.writeNumberValue("averagePacketLossRate", mediaStream.averagePacketLossRate);
|
|
860
|
+
writer.writeNumberValue("averageRatioOfConcealedSamples", mediaStream.averageRatioOfConcealedSamples);
|
|
861
|
+
writer.writeNumberValue("averageReceivedFrameRate", mediaStream.averageReceivedFrameRate);
|
|
862
|
+
writer.writeDurationValue("averageRoundTripTime", mediaStream.averageRoundTripTime);
|
|
863
|
+
writer.writeNumberValue("averageVideoFrameLossPercentage", mediaStream.averageVideoFrameLossPercentage);
|
|
864
|
+
writer.writeNumberValue("averageVideoFrameRate", mediaStream.averageVideoFrameRate);
|
|
865
|
+
writer.writeNumberValue("averageVideoPacketLossRate", mediaStream.averageVideoPacketLossRate);
|
|
866
|
+
writer.writeDateValue("endDateTime", mediaStream.endDateTime);
|
|
867
|
+
writer.writeBooleanValue("isAudioForwardErrorCorrectionUsed", mediaStream.isAudioForwardErrorCorrectionUsed);
|
|
868
|
+
writer.writeNumberValue("lowFrameRateRatio", mediaStream.lowFrameRateRatio);
|
|
869
|
+
writer.writeNumberValue("lowVideoProcessingCapabilityRatio", mediaStream.lowVideoProcessingCapabilityRatio);
|
|
870
|
+
writer.writeDurationValue("maxAudioNetworkJitter", mediaStream.maxAudioNetworkJitter);
|
|
871
|
+
writer.writeDurationValue("maxJitter", mediaStream.maxJitter);
|
|
872
|
+
writer.writeNumberValue("maxPacketLossRate", mediaStream.maxPacketLossRate);
|
|
873
|
+
writer.writeNumberValue("maxRatioOfConcealedSamples", mediaStream.maxRatioOfConcealedSamples);
|
|
874
|
+
writer.writeDurationValue("maxRoundTripTime", mediaStream.maxRoundTripTime);
|
|
875
|
+
writer.writeStringValue("@odata.type", mediaStream.odataType);
|
|
876
|
+
writer.writeNumberValue("packetUtilization", mediaStream.packetUtilization);
|
|
877
|
+
writer.writeNumberValue("postForwardErrorCorrectionPacketLossRate", mediaStream.postForwardErrorCorrectionPacketLossRate);
|
|
878
|
+
writer.writeDurationValue("rmsFreezeDuration", mediaStream.rmsFreezeDuration);
|
|
879
|
+
writer.writeDateValue("startDateTime", mediaStream.startDateTime);
|
|
880
|
+
writer.writeEnumValue("streamDirection", mediaStream.streamDirection);
|
|
881
|
+
writer.writeStringValue("streamId", mediaStream.streamId);
|
|
882
|
+
writer.writeEnumValue("videoCodec", mediaStream.videoCodec);
|
|
883
|
+
writer.writeBooleanValue("wasMediaBypassed", mediaStream.wasMediaBypassed);
|
|
884
|
+
writer.writeAdditionalData(mediaStream.additionalData);
|
|
885
|
+
}
|
|
802
886
|
}
|
|
803
887
|
/**
|
|
804
888
|
* Serializes information the current object
|
|
805
889
|
* @param writer Serialization writer to use to serialize this model
|
|
806
890
|
*/
|
|
891
|
+
// @ts-ignore
|
|
807
892
|
export function serializeNetworkInfo(writer, networkInfo = {}) {
|
|
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
|
-
|
|
893
|
+
if (networkInfo) {
|
|
894
|
+
writer.writeNumberValue("bandwidthLowEventRatio", networkInfo.bandwidthLowEventRatio);
|
|
895
|
+
writer.writeStringValue("basicServiceSetIdentifier", networkInfo.basicServiceSetIdentifier);
|
|
896
|
+
writer.writeEnumValue("connectionType", networkInfo.connectionType);
|
|
897
|
+
writer.writeNumberValue("delayEventRatio", networkInfo.delayEventRatio);
|
|
898
|
+
writer.writeStringValue("dnsSuffix", networkInfo.dnsSuffix);
|
|
899
|
+
writer.writeStringValue("ipAddress", networkInfo.ipAddress);
|
|
900
|
+
writer.writeNumberValue("linkSpeed", networkInfo.linkSpeed);
|
|
901
|
+
writer.writeStringValue("macAddress", networkInfo.macAddress);
|
|
902
|
+
writer.writeEnumValue("networkTransportProtocol", networkInfo.networkTransportProtocol);
|
|
903
|
+
writer.writeStringValue("@odata.type", networkInfo.odataType);
|
|
904
|
+
writer.writeNumberValue("port", networkInfo.port);
|
|
905
|
+
writer.writeNumberValue("receivedQualityEventRatio", networkInfo.receivedQualityEventRatio);
|
|
906
|
+
writer.writeStringValue("reflexiveIPAddress", networkInfo.reflexiveIPAddress);
|
|
907
|
+
writer.writeStringValue("relayIPAddress", networkInfo.relayIPAddress);
|
|
908
|
+
writer.writeNumberValue("relayPort", networkInfo.relayPort);
|
|
909
|
+
writer.writeNumberValue("sentQualityEventRatio", networkInfo.sentQualityEventRatio);
|
|
910
|
+
writer.writeStringValue("subnet", networkInfo.subnet);
|
|
911
|
+
writer.writeCollectionOfObjectValues("traceRouteHops", networkInfo.traceRouteHops, serializeTraceRouteHop);
|
|
912
|
+
writer.writeEnumValue("wifiBand", networkInfo.wifiBand);
|
|
913
|
+
writer.writeNumberValue("wifiBatteryCharge", networkInfo.wifiBatteryCharge);
|
|
914
|
+
writer.writeNumberValue("wifiChannel", networkInfo.wifiChannel);
|
|
915
|
+
writer.writeStringValue("wifiMicrosoftDriver", networkInfo.wifiMicrosoftDriver);
|
|
916
|
+
writer.writeStringValue("wifiMicrosoftDriverVersion", networkInfo.wifiMicrosoftDriverVersion);
|
|
917
|
+
writer.writeEnumValue("wifiRadioType", networkInfo.wifiRadioType);
|
|
918
|
+
writer.writeNumberValue("wifiSignalStrength", networkInfo.wifiSignalStrength);
|
|
919
|
+
writer.writeStringValue("wifiVendorDriver", networkInfo.wifiVendorDriver);
|
|
920
|
+
writer.writeStringValue("wifiVendorDriverVersion", networkInfo.wifiVendorDriverVersion);
|
|
921
|
+
writer.writeAdditionalData(networkInfo.additionalData);
|
|
922
|
+
}
|
|
836
923
|
}
|
|
837
924
|
/**
|
|
838
925
|
* Serializes information the current object
|
|
839
926
|
* @param writer Serialization writer to use to serialize this model
|
|
840
927
|
*/
|
|
928
|
+
// @ts-ignore
|
|
841
929
|
export function serializeOrganizer(writer, organizer = {}) {
|
|
842
|
-
|
|
930
|
+
if (organizer) {
|
|
931
|
+
serializeParticipantBase(writer, organizer);
|
|
932
|
+
}
|
|
843
933
|
}
|
|
844
934
|
/**
|
|
845
935
|
* Serializes information the current object
|
|
846
936
|
* @param writer Serialization writer to use to serialize this model
|
|
847
937
|
*/
|
|
938
|
+
// @ts-ignore
|
|
848
939
|
export function serializeParticipant(writer, participant = {}) {
|
|
849
|
-
|
|
940
|
+
if (participant) {
|
|
941
|
+
serializeParticipantBase(writer, participant);
|
|
942
|
+
}
|
|
850
943
|
}
|
|
851
944
|
/**
|
|
852
945
|
* Serializes information the current object
|
|
853
946
|
* @param writer Serialization writer to use to serialize this model
|
|
854
947
|
*/
|
|
948
|
+
// @ts-ignore
|
|
855
949
|
export function serializeParticipantBase(writer, participantBase = {}) {
|
|
856
|
-
|
|
857
|
-
|
|
950
|
+
if (participantBase) {
|
|
951
|
+
serializeEntity(writer, participantBase);
|
|
952
|
+
writer.writeObjectValue("identity", participantBase.identity, serializeCommunicationsIdentitySet);
|
|
953
|
+
}
|
|
858
954
|
}
|
|
859
955
|
/**
|
|
860
956
|
* Serializes information the current object
|
|
861
957
|
* @param writer Serialization writer to use to serialize this model
|
|
862
958
|
*/
|
|
959
|
+
// @ts-ignore
|
|
863
960
|
export function serializeParticipantCollectionResponse(writer, participantCollectionResponse = {}) {
|
|
864
|
-
|
|
865
|
-
|
|
961
|
+
if (participantCollectionResponse) {
|
|
962
|
+
serializeBaseCollectionPaginationCountResponse(writer, participantCollectionResponse);
|
|
963
|
+
writer.writeCollectionOfObjectValues("value", participantCollectionResponse.value, serializeParticipant);
|
|
964
|
+
}
|
|
866
965
|
}
|
|
867
966
|
/**
|
|
868
967
|
* Serializes information the current object
|
|
869
968
|
* @param writer Serialization writer to use to serialize this model
|
|
870
969
|
*/
|
|
970
|
+
// @ts-ignore
|
|
871
971
|
export function serializeParticipantEndpoint(writer, participantEndpoint = {}) {
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
972
|
+
if (participantEndpoint) {
|
|
973
|
+
serializeEndpoint(writer, participantEndpoint);
|
|
974
|
+
writer.writeObjectValue("associatedIdentity", participantEndpoint.associatedIdentity, serializeIdentity);
|
|
975
|
+
writer.writeNumberValue("cpuCoresCount", participantEndpoint.cpuCoresCount);
|
|
976
|
+
writer.writeStringValue("cpuName", participantEndpoint.cpuName);
|
|
977
|
+
writer.writeNumberValue("cpuProcessorSpeedInMhz", participantEndpoint.cpuProcessorSpeedInMhz);
|
|
978
|
+
writer.writeObjectValue("feedback", participantEndpoint.feedback, serializeUserFeedback);
|
|
979
|
+
writer.writeObjectValue("identity", participantEndpoint.identity, serializeIdentitySet);
|
|
980
|
+
writer.writeStringValue("name", participantEndpoint.name);
|
|
981
|
+
}
|
|
880
982
|
}
|
|
881
983
|
/**
|
|
882
984
|
* Serializes information the current object
|
|
883
985
|
* @param writer Serialization writer to use to serialize this model
|
|
884
986
|
*/
|
|
987
|
+
// @ts-ignore
|
|
885
988
|
export function serializePstnCallLogRow(writer, pstnCallLogRow = {}) {
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
989
|
+
if (pstnCallLogRow) {
|
|
990
|
+
writer.writeEnumValue("callDurationSource", pstnCallLogRow.callDurationSource);
|
|
991
|
+
writer.writeStringValue("calleeNumber", pstnCallLogRow.calleeNumber);
|
|
992
|
+
writer.writeStringValue("callerNumber", pstnCallLogRow.callerNumber);
|
|
993
|
+
writer.writeStringValue("callId", pstnCallLogRow.callId);
|
|
994
|
+
writer.writeStringValue("callType", pstnCallLogRow.callType);
|
|
995
|
+
writer.writeNumberValue("charge", pstnCallLogRow.charge);
|
|
996
|
+
writer.writeStringValue("conferenceId", pstnCallLogRow.conferenceId);
|
|
997
|
+
writer.writeNumberValue("connectionCharge", pstnCallLogRow.connectionCharge);
|
|
998
|
+
writer.writeStringValue("currency", pstnCallLogRow.currency);
|
|
999
|
+
writer.writeStringValue("destinationContext", pstnCallLogRow.destinationContext);
|
|
1000
|
+
writer.writeStringValue("destinationName", pstnCallLogRow.destinationName);
|
|
1001
|
+
writer.writeNumberValue("duration", pstnCallLogRow.duration);
|
|
1002
|
+
writer.writeDateValue("endDateTime", pstnCallLogRow.endDateTime);
|
|
1003
|
+
writer.writeStringValue("id", pstnCallLogRow.id);
|
|
1004
|
+
writer.writeStringValue("inventoryType", pstnCallLogRow.inventoryType);
|
|
1005
|
+
writer.writeStringValue("licenseCapability", pstnCallLogRow.licenseCapability);
|
|
1006
|
+
writer.writeStringValue("@odata.type", pstnCallLogRow.odataType);
|
|
1007
|
+
writer.writeStringValue("operator", pstnCallLogRow.operator);
|
|
1008
|
+
writer.writeDateValue("startDateTime", pstnCallLogRow.startDateTime);
|
|
1009
|
+
writer.writeStringValue("tenantCountryCode", pstnCallLogRow.tenantCountryCode);
|
|
1010
|
+
writer.writeStringValue("usageCountryCode", pstnCallLogRow.usageCountryCode);
|
|
1011
|
+
writer.writeStringValue("userDisplayName", pstnCallLogRow.userDisplayName);
|
|
1012
|
+
writer.writeStringValue("userId", pstnCallLogRow.userId);
|
|
1013
|
+
writer.writeStringValue("userPrincipalName", pstnCallLogRow.userPrincipalName);
|
|
1014
|
+
writer.writeAdditionalData(pstnCallLogRow.additionalData);
|
|
1015
|
+
}
|
|
911
1016
|
}
|
|
912
1017
|
/**
|
|
913
1018
|
* Serializes information the current object
|
|
914
1019
|
* @param writer Serialization writer to use to serialize this model
|
|
915
1020
|
*/
|
|
1021
|
+
// @ts-ignore
|
|
916
1022
|
export function serializeSegment(writer, segment = {}) {
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
1023
|
+
if (segment) {
|
|
1024
|
+
serializeEntity(writer, segment);
|
|
1025
|
+
writer.writeObjectValue("callee", segment.callee, serializeEndpoint);
|
|
1026
|
+
writer.writeObjectValue("caller", segment.caller, serializeEndpoint);
|
|
1027
|
+
writer.writeDateValue("endDateTime", segment.endDateTime);
|
|
1028
|
+
writer.writeObjectValue("failureInfo", segment.failureInfo, serializeFailureInfo);
|
|
1029
|
+
writer.writeCollectionOfObjectValues("media", segment.media, serializeMedia);
|
|
1030
|
+
writer.writeDateValue("startDateTime", segment.startDateTime);
|
|
1031
|
+
}
|
|
924
1032
|
}
|
|
925
1033
|
/**
|
|
926
1034
|
* Serializes information the current object
|
|
927
1035
|
* @param writer Serialization writer to use to serialize this model
|
|
928
1036
|
*/
|
|
1037
|
+
// @ts-ignore
|
|
929
1038
|
export function serializeSegmentCollectionResponse(writer, segmentCollectionResponse = {}) {
|
|
930
|
-
|
|
931
|
-
|
|
1039
|
+
if (segmentCollectionResponse) {
|
|
1040
|
+
serializeBaseCollectionPaginationCountResponse(writer, segmentCollectionResponse);
|
|
1041
|
+
writer.writeCollectionOfObjectValues("value", segmentCollectionResponse.value, serializeSegment);
|
|
1042
|
+
}
|
|
932
1043
|
}
|
|
933
1044
|
/**
|
|
934
1045
|
* Serializes information the current object
|
|
935
1046
|
* @param writer Serialization writer to use to serialize this model
|
|
936
1047
|
*/
|
|
1048
|
+
// @ts-ignore
|
|
937
1049
|
export function serializeServiceEndpoint(writer, serviceEndpoint = {}) {
|
|
938
|
-
|
|
1050
|
+
if (serviceEndpoint) {
|
|
1051
|
+
serializeEndpoint(writer, serviceEndpoint);
|
|
1052
|
+
}
|
|
939
1053
|
}
|
|
940
1054
|
/**
|
|
941
1055
|
* Serializes information the current object
|
|
942
1056
|
* @param writer Serialization writer to use to serialize this model
|
|
943
1057
|
*/
|
|
1058
|
+
// @ts-ignore
|
|
944
1059
|
export function serializeServiceUserAgent(writer, serviceUserAgent = {}) {
|
|
945
|
-
|
|
946
|
-
|
|
1060
|
+
if (serviceUserAgent) {
|
|
1061
|
+
serializeUserAgent(writer, serviceUserAgent);
|
|
1062
|
+
writer.writeEnumValue("role", serviceUserAgent.role);
|
|
1063
|
+
}
|
|
947
1064
|
}
|
|
948
1065
|
/**
|
|
949
1066
|
* Serializes information the current object
|
|
950
1067
|
* @param writer Serialization writer to use to serialize this model
|
|
951
1068
|
*/
|
|
1069
|
+
// @ts-ignore
|
|
952
1070
|
export function serializeSession(writer, session = {}) {
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
1071
|
+
if (session) {
|
|
1072
|
+
serializeEntity(writer, session);
|
|
1073
|
+
writer.writeObjectValue("callee", session.callee, serializeEndpoint);
|
|
1074
|
+
writer.writeObjectValue("caller", session.caller, serializeEndpoint);
|
|
1075
|
+
writer.writeDateValue("endDateTime", session.endDateTime);
|
|
1076
|
+
writer.writeObjectValue("failureInfo", session.failureInfo, serializeFailureInfo);
|
|
1077
|
+
writer.writeBooleanValue("isTest", session.isTest);
|
|
1078
|
+
if (session.modalities)
|
|
1079
|
+
writer.writeEnumValue("modalities", ...session.modalities);
|
|
1080
|
+
writer.writeCollectionOfObjectValues("segments", session.segments, serializeSegment);
|
|
1081
|
+
writer.writeDateValue("startDateTime", session.startDateTime);
|
|
1082
|
+
}
|
|
963
1083
|
}
|
|
964
1084
|
/**
|
|
965
1085
|
* Serializes information the current object
|
|
966
1086
|
* @param writer Serialization writer to use to serialize this model
|
|
967
1087
|
*/
|
|
1088
|
+
// @ts-ignore
|
|
968
1089
|
export function serializeSessionCollectionResponse(writer, sessionCollectionResponse = {}) {
|
|
969
|
-
|
|
970
|
-
|
|
1090
|
+
if (sessionCollectionResponse) {
|
|
1091
|
+
serializeBaseCollectionPaginationCountResponse(writer, sessionCollectionResponse);
|
|
1092
|
+
writer.writeCollectionOfObjectValues("value", sessionCollectionResponse.value, serializeSession);
|
|
1093
|
+
}
|
|
971
1094
|
}
|
|
972
1095
|
/**
|
|
973
1096
|
* Serializes information the current object
|
|
974
1097
|
* @param writer Serialization writer to use to serialize this model
|
|
975
1098
|
*/
|
|
1099
|
+
// @ts-ignore
|
|
976
1100
|
export function serializeTraceRouteHop(writer, traceRouteHop = {}) {
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
1101
|
+
if (traceRouteHop) {
|
|
1102
|
+
writer.writeNumberValue("hopCount", traceRouteHop.hopCount);
|
|
1103
|
+
writer.writeStringValue("ipAddress", traceRouteHop.ipAddress);
|
|
1104
|
+
writer.writeStringValue("@odata.type", traceRouteHop.odataType);
|
|
1105
|
+
writer.writeDurationValue("roundTripTime", traceRouteHop.roundTripTime);
|
|
1106
|
+
writer.writeAdditionalData(traceRouteHop.additionalData);
|
|
1107
|
+
}
|
|
982
1108
|
}
|
|
983
1109
|
/**
|
|
984
1110
|
* Serializes information the current object
|
|
985
1111
|
* @param writer Serialization writer to use to serialize this model
|
|
986
1112
|
*/
|
|
1113
|
+
// @ts-ignore
|
|
987
1114
|
export function serializeUserAgent(writer, userAgent = {}) {
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1115
|
+
if (userAgent) {
|
|
1116
|
+
writer.writeStringValue("applicationVersion", userAgent.applicationVersion);
|
|
1117
|
+
writer.writeStringValue("headerValue", userAgent.headerValue);
|
|
1118
|
+
writer.writeStringValue("@odata.type", userAgent.odataType);
|
|
1119
|
+
writer.writeAdditionalData(userAgent.additionalData);
|
|
1120
|
+
}
|
|
992
1121
|
}
|
|
993
1122
|
/**
|
|
994
1123
|
* Serializes information the current object
|
|
995
1124
|
* @param writer Serialization writer to use to serialize this model
|
|
996
1125
|
*/
|
|
1126
|
+
// @ts-ignore
|
|
997
1127
|
export function serializeUserFeedback(writer, userFeedback = {}) {
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1128
|
+
if (userFeedback) {
|
|
1129
|
+
writer.writeStringValue("@odata.type", userFeedback.odataType);
|
|
1130
|
+
writer.writeEnumValue("rating", userFeedback.rating);
|
|
1131
|
+
writer.writeStringValue("text", userFeedback.text);
|
|
1132
|
+
writer.writeObjectValue("tokens", userFeedback.tokens, serializeFeedbackTokenSet);
|
|
1133
|
+
writer.writeAdditionalData(userFeedback.additionalData);
|
|
1134
|
+
}
|
|
1003
1135
|
}
|
|
1004
1136
|
/**
|
|
1005
1137
|
* Serializes information the current object
|
|
1006
1138
|
* @param writer Serialization writer to use to serialize this model
|
|
1007
1139
|
*/
|
|
1140
|
+
// @ts-ignore
|
|
1008
1141
|
export function serializeUserIdentity(writer, userIdentity = {}) {
|
|
1009
|
-
|
|
1010
|
-
|
|
1142
|
+
if (userIdentity) {
|
|
1143
|
+
serializeIdentity(writer, userIdentity);
|
|
1144
|
+
writer.writeStringValue("userPrincipalName", userIdentity.userPrincipalName);
|
|
1145
|
+
}
|
|
1011
1146
|
}
|
|
1012
1147
|
export const AudioCodecObject = {
|
|
1013
1148
|
Unknown: "unknown",
|