@microsoft/msgraph-sdk 1.0.0-preview.65 → 1.0.0-preview.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/models/index.d.ts +1018 -18
- package/models/index.d.ts.map +1 -1
- package/models/index.js +1014 -23
- package/models/index.js.map +1 -1
- package/models/security/index.d.ts +4366 -10639
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +3969 -14304
- package/models/security/index.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/models/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import { createBillingFromDiscriminatorValue, deserializeIntoAzureUsage, deseria
|
|
|
12
12
|
// @ts-ignore
|
|
13
13
|
import { createAcronymFromDiscriminatorValue, createBookmarkFromDiscriminatorValue, createQnaFromDiscriminatorValue, deserializeIntoAcronym, deserializeIntoBookmark, deserializeIntoQna, deserializeIntoSearchAnswer, serializeAcronym, serializeBookmark, serializeQna, serializeSearchAnswer } from './search/index.js';
|
|
14
14
|
// @ts-ignore
|
|
15
|
-
import { BehaviorDuringRetentionPeriodObject,
|
|
15
|
+
import { BehaviorDuringRetentionPeriodObject, createCasesRootFromDiscriminatorValue, createIdentityContainerFromDiscriminatorValue as I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9, createIncidentFromDiscriminatorValue, createLabelsRootFromDiscriminatorValue, createThreatIntelligenceFromDiscriminatorValue, createTriggersRootFromDiscriminatorValue, createTriggerTypesRootFromDiscriminatorValue, deserializeIntoArticle, deserializeIntoArticleIndicator, deserializeIntoArtifact, deserializeIntoAuthorityTemplate, deserializeIntoCaseEscaped, deserializeIntoCaseOperation, deserializeIntoCasesRoot, deserializeIntoCategoryTemplate, deserializeIntoCitationTemplate, deserializeIntoDataSet, deserializeIntoDataSource, deserializeIntoDataSourceContainer, deserializeIntoDepartmentTemplate, deserializeIntoDispositionReviewStage, deserializeIntoEdiscoveryAddToReviewSetOperation, deserializeIntoEdiscoveryCase, deserializeIntoEdiscoveryCaseSettings, deserializeIntoEdiscoveryCustodian, deserializeIntoEdiscoveryEstimateOperation, deserializeIntoEdiscoveryExportOperation, deserializeIntoEdiscoveryHoldOperation, deserializeIntoEdiscoveryIndexOperation, deserializeIntoEdiscoveryNoncustodialDataSource, deserializeIntoEdiscoveryPurgeDataOperation, deserializeIntoEdiscoveryReviewSet, deserializeIntoEdiscoveryReviewSetQuery, deserializeIntoEdiscoveryReviewTag, deserializeIntoEdiscoverySearch, deserializeIntoEdiscoverySearchExportOperation, deserializeIntoEdiscoveryTagOperation, deserializeIntoFilePlanDescriptor, deserializeIntoFilePlanDescriptorTemplate, deserializeIntoFilePlanReferenceTemplate, deserializeIntoHealthIssue, deserializeIntoHost, deserializeIntoHostComponent, deserializeIntoHostCookie, deserializeIntoHostname, deserializeIntoHostPair, deserializeIntoHostPort, deserializeIntoHostReputation, deserializeIntoHostSslCertificate, deserializeIntoHostTracker, deserializeIntoIncident, deserializeIntoIndicator, deserializeIntoIntelligenceProfile, deserializeIntoIntelligenceProfileIndicator, deserializeIntoIpAddress, deserializeIntoLabelsRoot, deserializeIntoNetworkAdapter, deserializeIntoPassiveDnsRecord, deserializeIntoRetentionEvent, deserializeIntoRetentionEventType, deserializeIntoRetentionLabel, deserializeIntoSearch, deserializeIntoSensor, deserializeIntoSiteSource, deserializeIntoSslCertificate, deserializeIntoSubcategoryTemplate, deserializeIntoSubdomain, deserializeIntoTag, deserializeIntoThreatIntelligence, deserializeIntoTriggersRoot, deserializeIntoTriggerTypesRoot, deserializeIntoUnclassifiedArtifact, deserializeIntoUnifiedGroupSource, deserializeIntoUserSource, deserializeIntoVulnerability, deserializeIntoVulnerabilityComponent, deserializeIntoWhoisBaseRecord, deserializeIntoWhoisHistoryRecord, deserializeIntoWhoisRecord, serializeArticle, serializeArticleIndicator, serializeArtifact, serializeAuthorityTemplate, serializeCaseEscaped, serializeCaseOperation, serializeCasesRoot, serializeCategoryTemplate, serializeCitationTemplate, serializeDataSet, serializeDataSource, serializeDataSourceContainer, serializeDepartmentTemplate, serializeDispositionReviewStage, serializeEdiscoveryAddToReviewSetOperation, serializeEdiscoveryCase, serializeEdiscoveryCaseSettings, serializeEdiscoveryCustodian, serializeEdiscoveryEstimateOperation, serializeEdiscoveryExportOperation, serializeEdiscoveryHoldOperation, serializeEdiscoveryIndexOperation, serializeEdiscoveryNoncustodialDataSource, serializeEdiscoveryPurgeDataOperation, serializeEdiscoveryReviewSet, serializeEdiscoveryReviewSetQuery, serializeEdiscoveryReviewTag, serializeEdiscoverySearch, serializeEdiscoverySearchExportOperation, serializeEdiscoveryTagOperation, serializeFilePlanDescriptor, serializeFilePlanDescriptorTemplate, serializeFilePlanReferenceTemplate, serializeHealthIssue, serializeHost, serializeHostComponent, serializeHostCookie, serializeHostname, serializeHostPair, serializeHostPort, serializeHostReputation, serializeHostSslCertificate, serializeHostTracker, serializeIdentityContainer as I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1, serializeIncident, serializeIndicator, serializeIntelligenceProfile, serializeIntelligenceProfileIndicator, serializeIpAddress, serializeLabelsRoot, serializeNetworkAdapter, serializePassiveDnsRecord, serializeRetentionEvent, serializeRetentionEventType, serializeRetentionLabel, serializeSearch, serializeSensor, serializeSiteSource, serializeSslCertificate, serializeSubcategoryTemplate, serializeSubdomain, serializeTag, serializeThreatIntelligence, serializeTriggersRoot, serializeTriggerTypesRoot, serializeUnclassifiedArtifact, serializeUnifiedGroupSource, serializeUserSource, serializeVulnerability, serializeVulnerabilityComponent, serializeWhoisBaseRecord, serializeWhoisHistoryRecord, serializeWhoisRecord } from './security/index.js';
|
|
16
16
|
// @ts-ignore
|
|
17
17
|
import { createSetFromDiscriminatorValue, createStoreFromDiscriminatorValue, createTermFromDiscriminatorValue, deserializeIntoRelation, deserializeIntoSet, deserializeIntoStore, deserializeIntoTerm, serializeRelation, serializeSet, serializeStore, serializeTerm } from './termStore/index.js';
|
|
18
18
|
// @ts-ignore
|
|
@@ -1699,6 +1699,15 @@ export function createApplePushNotificationCertificateFromDiscriminatorValue(par
|
|
|
1699
1699
|
export function createApplicationCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
1700
1700
|
return deserializeIntoApplicationCollectionResponse;
|
|
1701
1701
|
}
|
|
1702
|
+
/**
|
|
1703
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1704
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1705
|
+
* @returns {ApplicationContext}
|
|
1706
|
+
*/
|
|
1707
|
+
// @ts-ignore
|
|
1708
|
+
export function createApplicationContextFromDiscriminatorValue(parseNode) {
|
|
1709
|
+
return deserializeIntoApplicationContext;
|
|
1710
|
+
}
|
|
1702
1711
|
/**
|
|
1703
1712
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1704
1713
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2457,6 +2466,15 @@ export function createAuditPropertyFromDiscriminatorValue(parseNode) {
|
|
|
2457
2466
|
export function createAuditResourceFromDiscriminatorValue(parseNode) {
|
|
2458
2467
|
return deserializeIntoAuditResource;
|
|
2459
2468
|
}
|
|
2469
|
+
/**
|
|
2470
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2471
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2472
|
+
* @returns {AuthContext}
|
|
2473
|
+
*/
|
|
2474
|
+
// @ts-ignore
|
|
2475
|
+
export function createAuthContextFromDiscriminatorValue(parseNode) {
|
|
2476
|
+
return deserializeIntoAuthContext;
|
|
2477
|
+
}
|
|
2460
2478
|
/**
|
|
2461
2479
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2462
2480
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2669,6 +2687,15 @@ export function createAuthenticationEventsFlowFromDiscriminatorValue(parseNode)
|
|
|
2669
2687
|
}
|
|
2670
2688
|
return deserializeIntoAuthenticationEventsFlow;
|
|
2671
2689
|
}
|
|
2690
|
+
/**
|
|
2691
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
2692
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
2693
|
+
* @returns {AuthenticationFlow}
|
|
2694
|
+
*/
|
|
2695
|
+
// @ts-ignore
|
|
2696
|
+
export function createAuthenticationFlowFromDiscriminatorValue(parseNode) {
|
|
2697
|
+
return deserializeIntoAuthenticationFlow;
|
|
2698
|
+
}
|
|
2672
2699
|
/**
|
|
2673
2700
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
2674
2701
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4046,6 +4073,15 @@ export function createCertificationControlFromDiscriminatorValue(parseNode) {
|
|
|
4046
4073
|
export function createCertificationFromDiscriminatorValue(parseNode) {
|
|
4047
4074
|
return deserializeIntoCertification;
|
|
4048
4075
|
}
|
|
4076
|
+
/**
|
|
4077
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
4078
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
4079
|
+
* @returns {ChallengingWord}
|
|
4080
|
+
*/
|
|
4081
|
+
// @ts-ignore
|
|
4082
|
+
export function createChallengingWordFromDiscriminatorValue(parseNode) {
|
|
4083
|
+
return deserializeIntoChallengingWord;
|
|
4084
|
+
}
|
|
4049
4085
|
/**
|
|
4050
4086
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
4051
4087
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -5266,6 +5302,18 @@ export function createConditionalAccessPolicyDetailFromDiscriminatorValue(parseN
|
|
|
5266
5302
|
*/
|
|
5267
5303
|
// @ts-ignore
|
|
5268
5304
|
export function createConditionalAccessPolicyFromDiscriminatorValue(parseNode) {
|
|
5305
|
+
if (!parseNode)
|
|
5306
|
+
throw new Error("parseNode cannot be undefined");
|
|
5307
|
+
const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
|
|
5308
|
+
if (mappingValueNode) {
|
|
5309
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
5310
|
+
if (mappingValue) {
|
|
5311
|
+
switch (mappingValue) {
|
|
5312
|
+
case "#microsoft.graph.whatIfAnalysisResult":
|
|
5313
|
+
return deserializeIntoWhatIfAnalysisResult;
|
|
5314
|
+
}
|
|
5315
|
+
}
|
|
5316
|
+
}
|
|
5269
5317
|
return deserializeIntoConditionalAccessPolicy;
|
|
5270
5318
|
}
|
|
5271
5319
|
/**
|
|
@@ -5630,6 +5678,8 @@ export function createConversationMemberFromDiscriminatorValue(parseNode) {
|
|
|
5630
5678
|
return deserializeIntoAzureCommunicationServicesUserConversationMember;
|
|
5631
5679
|
case "#microsoft.graph.microsoftAccountUserConversationMember":
|
|
5632
5680
|
return deserializeIntoMicrosoftAccountUserConversationMember;
|
|
5681
|
+
case "#microsoft.graph.phoneUserConversationMember":
|
|
5682
|
+
return deserializeIntoPhoneUserConversationMember;
|
|
5633
5683
|
case "#microsoft.graph.skypeForBusinessUserConversationMember":
|
|
5634
5684
|
return deserializeIntoSkypeForBusinessUserConversationMember;
|
|
5635
5685
|
case "#microsoft.graph.skypeUserConversationMember":
|
|
@@ -7199,6 +7249,15 @@ export function createDeviceGeoLocationFromDiscriminatorValue(parseNode) {
|
|
|
7199
7249
|
export function createDeviceHealthAttestationStateFromDiscriminatorValue(parseNode) {
|
|
7200
7250
|
return deserializeIntoDeviceHealthAttestationState;
|
|
7201
7251
|
}
|
|
7252
|
+
/**
|
|
7253
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
7254
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7255
|
+
* @returns {DeviceInfo}
|
|
7256
|
+
*/
|
|
7257
|
+
// @ts-ignore
|
|
7258
|
+
export function createDeviceInfoFromDiscriminatorValue(parseNode) {
|
|
7259
|
+
return deserializeIntoDeviceInfo;
|
|
7260
|
+
}
|
|
7202
7261
|
/**
|
|
7203
7262
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
7204
7263
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -10167,6 +10226,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
10167
10226
|
return deserializeIntoPerson;
|
|
10168
10227
|
case "#microsoft.graph.phoneAuthenticationMethod":
|
|
10169
10228
|
return deserializeIntoPhoneAuthenticationMethod;
|
|
10229
|
+
case "#microsoft.graph.phoneUserConversationMember":
|
|
10230
|
+
return deserializeIntoPhoneUserConversationMember;
|
|
10170
10231
|
case "#microsoft.graph.pinnedChatMessageInfo":
|
|
10171
10232
|
return deserializeIntoPinnedChatMessageInfo;
|
|
10172
10233
|
case "#microsoft.graph.place":
|
|
@@ -10281,6 +10342,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
10281
10342
|
return deserializeIntoPublicKeyInfrastructureRoot;
|
|
10282
10343
|
case "#microsoft.graph.rbacApplication":
|
|
10283
10344
|
return deserializeIntoRbacApplication;
|
|
10345
|
+
case "#microsoft.graph.readingAssignmentSubmission":
|
|
10346
|
+
return deserializeIntoReadingAssignmentSubmission;
|
|
10284
10347
|
case "#microsoft.graph.recordOperation":
|
|
10285
10348
|
return deserializeIntoRecordOperation;
|
|
10286
10349
|
case "#microsoft.graph.recycleBin":
|
|
@@ -10289,12 +10352,16 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
10289
10352
|
return deserializeIntoRecycleBinItem;
|
|
10290
10353
|
case "#microsoft.graph.referenceAttachment":
|
|
10291
10354
|
return deserializeIntoReferenceAttachment;
|
|
10355
|
+
case "#microsoft.graph.reflectCheckInResponse":
|
|
10356
|
+
return deserializeIntoReflectCheckInResponse;
|
|
10292
10357
|
case "#microsoft.graph.relyingPartyDetailedSummary":
|
|
10293
10358
|
return deserializeIntoRelyingPartyDetailedSummary;
|
|
10294
10359
|
case "#microsoft.graph.remoteAssistancePartner":
|
|
10295
10360
|
return deserializeIntoRemoteAssistancePartner;
|
|
10296
10361
|
case "#microsoft.graph.remoteDesktopSecurityConfiguration":
|
|
10297
10362
|
return deserializeIntoRemoteDesktopSecurityConfiguration;
|
|
10363
|
+
case "#microsoft.graph.reportsRoot":
|
|
10364
|
+
return deserializeIntoReportsRoot;
|
|
10298
10365
|
case "#microsoft.graph.request":
|
|
10299
10366
|
return deserializeIntoRequest;
|
|
10300
10367
|
case "#microsoft.graph.resellerDelegatedAdminRelationship":
|
|
@@ -10371,12 +10438,6 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
10371
10438
|
return deserializeIntoArticleIndicator;
|
|
10372
10439
|
case "#microsoft.graph.security.artifact":
|
|
10373
10440
|
return deserializeIntoArtifact;
|
|
10374
|
-
case "#microsoft.graph.security.auditCoreRoot":
|
|
10375
|
-
return deserializeIntoAuditCoreRoot;
|
|
10376
|
-
case "#microsoft.graph.security.auditLogQuery":
|
|
10377
|
-
return deserializeIntoAuditLogQuery;
|
|
10378
|
-
case "#microsoft.graph.security.auditLogRecord":
|
|
10379
|
-
return deserializeIntoAuditLogRecord;
|
|
10380
10441
|
case "#microsoft.graph.security.authorityTemplate":
|
|
10381
10442
|
return deserializeIntoAuthorityTemplate;
|
|
10382
10443
|
case "#microsoft.graph.security.case":
|
|
@@ -10903,6 +10964,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
|
|
|
10903
10964
|
return deserializeIntoWebApp;
|
|
10904
10965
|
case "#microsoft.graph.webPart":
|
|
10905
10966
|
return deserializeIntoWebPart;
|
|
10967
|
+
case "#microsoft.graph.whatIfAnalysisResult":
|
|
10968
|
+
return deserializeIntoWhatIfAnalysisResult;
|
|
10906
10969
|
case "#microsoft.graph.win32LobApp":
|
|
10907
10970
|
return deserializeIntoWin32LobApp;
|
|
10908
10971
|
case "#microsoft.graph.windows10CompliancePolicy":
|
|
@@ -16894,6 +16957,15 @@ export function createOutlookUserFromDiscriminatorValue(parseNode) {
|
|
|
16894
16957
|
export function createOutOfBoxExperienceSettingFromDiscriminatorValue(parseNode) {
|
|
16895
16958
|
return deserializeIntoOutOfBoxExperienceSetting;
|
|
16896
16959
|
}
|
|
16960
|
+
/**
|
|
16961
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
16962
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
16963
|
+
* @returns {OutOfOfficeSettings}
|
|
16964
|
+
*/
|
|
16965
|
+
// @ts-ignore
|
|
16966
|
+
export function createOutOfOfficeSettingsFromDiscriminatorValue(parseNode) {
|
|
16967
|
+
return deserializeIntoOutOfOfficeSettings;
|
|
16968
|
+
}
|
|
16897
16969
|
/**
|
|
16898
16970
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
16899
16971
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -17257,6 +17329,15 @@ export function createPhoneAuthenticationMethodFromDiscriminatorValue(parseNode)
|
|
|
17257
17329
|
export function createPhoneFromDiscriminatorValue(parseNode) {
|
|
17258
17330
|
return deserializeIntoPhone;
|
|
17259
17331
|
}
|
|
17332
|
+
/**
|
|
17333
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
17334
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
17335
|
+
* @returns {PhoneUserConversationMember}
|
|
17336
|
+
*/
|
|
17337
|
+
// @ts-ignore
|
|
17338
|
+
export function createPhoneUserConversationMemberFromDiscriminatorValue(parseNode) {
|
|
17339
|
+
return deserializeIntoPhoneUserConversationMember;
|
|
17340
|
+
}
|
|
17260
17341
|
/**
|
|
17261
17342
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
17262
17343
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -18938,6 +19019,24 @@ export function createRbacApplicationFromDiscriminatorValue(parseNode) {
|
|
|
18938
19019
|
export function createReactionsFacetFromDiscriminatorValue(parseNode) {
|
|
18939
19020
|
return deserializeIntoReactionsFacet;
|
|
18940
19021
|
}
|
|
19022
|
+
/**
|
|
19023
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19024
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19025
|
+
* @returns {ReadingAssignmentSubmissionCollectionResponse}
|
|
19026
|
+
*/
|
|
19027
|
+
// @ts-ignore
|
|
19028
|
+
export function createReadingAssignmentSubmissionCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
19029
|
+
return deserializeIntoReadingAssignmentSubmissionCollectionResponse;
|
|
19030
|
+
}
|
|
19031
|
+
/**
|
|
19032
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19033
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19034
|
+
* @returns {ReadingAssignmentSubmission}
|
|
19035
|
+
*/
|
|
19036
|
+
// @ts-ignore
|
|
19037
|
+
export function createReadingAssignmentSubmissionFromDiscriminatorValue(parseNode) {
|
|
19038
|
+
return deserializeIntoReadingAssignmentSubmission;
|
|
19039
|
+
}
|
|
18941
19040
|
/**
|
|
18942
19041
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
18943
19042
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -19105,6 +19204,24 @@ export function createReferencedObjectFromDiscriminatorValue(parseNode) {
|
|
|
19105
19204
|
export function createReferenceUpdateFromDiscriminatorValue(parseNode) {
|
|
19106
19205
|
return deserializeIntoReferenceUpdate;
|
|
19107
19206
|
}
|
|
19207
|
+
/**
|
|
19208
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19209
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19210
|
+
* @returns {ReflectCheckInResponseCollectionResponse}
|
|
19211
|
+
*/
|
|
19212
|
+
// @ts-ignore
|
|
19213
|
+
export function createReflectCheckInResponseCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
19214
|
+
return deserializeIntoReflectCheckInResponseCollectionResponse;
|
|
19215
|
+
}
|
|
19216
|
+
/**
|
|
19217
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19218
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19219
|
+
* @returns {ReflectCheckInResponse}
|
|
19220
|
+
*/
|
|
19221
|
+
// @ts-ignore
|
|
19222
|
+
export function createReflectCheckInResponseFromDiscriminatorValue(parseNode) {
|
|
19223
|
+
return deserializeIntoReflectCheckInResponse;
|
|
19224
|
+
}
|
|
19108
19225
|
/**
|
|
19109
19226
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
19110
19227
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -19231,6 +19348,15 @@ export function createReportFromDiscriminatorValue(parseNode) {
|
|
|
19231
19348
|
export function createReportRootFromDiscriminatorValue(parseNode) {
|
|
19232
19349
|
return deserializeIntoReportRoot;
|
|
19233
19350
|
}
|
|
19351
|
+
/**
|
|
19352
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19353
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19354
|
+
* @returns {ReportsRoot}
|
|
19355
|
+
*/
|
|
19356
|
+
// @ts-ignore
|
|
19357
|
+
export function createReportsRootFromDiscriminatorValue(parseNode) {
|
|
19358
|
+
return deserializeIntoReportsRoot;
|
|
19359
|
+
}
|
|
19234
19360
|
/**
|
|
19235
19361
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
19236
19362
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -19494,6 +19620,15 @@ export function createRestorePointSearchResponseFromDiscriminatorValue(parseNode
|
|
|
19494
19620
|
export function createRestorePointSearchResultFromDiscriminatorValue(parseNode) {
|
|
19495
19621
|
return deserializeIntoRestorePointSearchResult;
|
|
19496
19622
|
}
|
|
19623
|
+
/**
|
|
19624
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19625
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
19626
|
+
* @returns {RestoreSessionArtifactCount}
|
|
19627
|
+
*/
|
|
19628
|
+
// @ts-ignore
|
|
19629
|
+
export function createRestoreSessionArtifactCountFromDiscriminatorValue(parseNode) {
|
|
19630
|
+
return deserializeIntoRestoreSessionArtifactCount;
|
|
19631
|
+
}
|
|
19497
19632
|
/**
|
|
19498
19633
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
19499
19634
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -20611,6 +20746,15 @@ export function createServicePrincipalRiskDetectionCollectionResponseFromDiscrim
|
|
|
20611
20746
|
export function createServicePrincipalRiskDetectionFromDiscriminatorValue(parseNode) {
|
|
20612
20747
|
return deserializeIntoServicePrincipalRiskDetection;
|
|
20613
20748
|
}
|
|
20749
|
+
/**
|
|
20750
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
20751
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20752
|
+
* @returns {ServicePrincipalSignIn}
|
|
20753
|
+
*/
|
|
20754
|
+
// @ts-ignore
|
|
20755
|
+
export function createServicePrincipalSignInFromDiscriminatorValue(parseNode) {
|
|
20756
|
+
return deserializeIntoServicePrincipalSignIn;
|
|
20757
|
+
}
|
|
20614
20758
|
/**
|
|
20615
20759
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
20616
20760
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -21031,6 +21175,40 @@ export function createSignInActivityFromDiscriminatorValue(parseNode) {
|
|
|
21031
21175
|
export function createSignInCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
21032
21176
|
return deserializeIntoSignInCollectionResponse;
|
|
21033
21177
|
}
|
|
21178
|
+
/**
|
|
21179
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
21180
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21181
|
+
* @returns {SignInConditions}
|
|
21182
|
+
*/
|
|
21183
|
+
// @ts-ignore
|
|
21184
|
+
export function createSignInConditionsFromDiscriminatorValue(parseNode) {
|
|
21185
|
+
return deserializeIntoSignInConditions;
|
|
21186
|
+
}
|
|
21187
|
+
/**
|
|
21188
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
21189
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21190
|
+
* @returns {SignInContext}
|
|
21191
|
+
*/
|
|
21192
|
+
// @ts-ignore
|
|
21193
|
+
export function createSignInContextFromDiscriminatorValue(parseNode) {
|
|
21194
|
+
if (!parseNode)
|
|
21195
|
+
throw new Error("parseNode cannot be undefined");
|
|
21196
|
+
const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
|
|
21197
|
+
if (mappingValueNode) {
|
|
21198
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
21199
|
+
if (mappingValue) {
|
|
21200
|
+
switch (mappingValue) {
|
|
21201
|
+
case "#microsoft.graph.applicationContext":
|
|
21202
|
+
return deserializeIntoApplicationContext;
|
|
21203
|
+
case "#microsoft.graph.authContext":
|
|
21204
|
+
return deserializeIntoAuthContext;
|
|
21205
|
+
case "#microsoft.graph.userActionContext":
|
|
21206
|
+
return deserializeIntoUserActionContext;
|
|
21207
|
+
}
|
|
21208
|
+
}
|
|
21209
|
+
}
|
|
21210
|
+
return deserializeIntoSignInContext;
|
|
21211
|
+
}
|
|
21034
21212
|
/**
|
|
21035
21213
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
21036
21214
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -21058,6 +21236,29 @@ export function createSignInFromDiscriminatorValue(parseNode) {
|
|
|
21058
21236
|
export function createSigningCertificateUpdateStatusFromDiscriminatorValue(parseNode) {
|
|
21059
21237
|
return deserializeIntoSigningCertificateUpdateStatus;
|
|
21060
21238
|
}
|
|
21239
|
+
/**
|
|
21240
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
21241
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
21242
|
+
* @returns {SignInIdentity}
|
|
21243
|
+
*/
|
|
21244
|
+
// @ts-ignore
|
|
21245
|
+
export function createSignInIdentityFromDiscriminatorValue(parseNode) {
|
|
21246
|
+
if (!parseNode)
|
|
21247
|
+
throw new Error("parseNode cannot be undefined");
|
|
21248
|
+
const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
|
|
21249
|
+
if (mappingValueNode) {
|
|
21250
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
21251
|
+
if (mappingValue) {
|
|
21252
|
+
switch (mappingValue) {
|
|
21253
|
+
case "#microsoft.graph.servicePrincipalSignIn":
|
|
21254
|
+
return deserializeIntoServicePrincipalSignIn;
|
|
21255
|
+
case "#microsoft.graph.userSignIn":
|
|
21256
|
+
return deserializeIntoUserSignIn;
|
|
21257
|
+
}
|
|
21258
|
+
}
|
|
21259
|
+
}
|
|
21260
|
+
return deserializeIntoSignInIdentity;
|
|
21261
|
+
}
|
|
21061
21262
|
/**
|
|
21062
21263
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
21063
21264
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -23990,6 +24191,15 @@ export function createUsedInsightCollectionResponseFromDiscriminatorValue(parseN
|
|
|
23990
24191
|
export function createUsedInsightFromDiscriminatorValue(parseNode) {
|
|
23991
24192
|
return deserializeIntoUsedInsight;
|
|
23992
24193
|
}
|
|
24194
|
+
/**
|
|
24195
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
24196
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
24197
|
+
* @returns {UserActionContext}
|
|
24198
|
+
*/
|
|
24199
|
+
// @ts-ignore
|
|
24200
|
+
export function createUserActionContextFromDiscriminatorValue(parseNode) {
|
|
24201
|
+
return deserializeIntoUserActionContext;
|
|
24202
|
+
}
|
|
23993
24203
|
/**
|
|
23994
24204
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
23995
24205
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -24769,6 +24979,15 @@ export function createUserSecurityStateFromDiscriminatorValue(parseNode) {
|
|
|
24769
24979
|
export function createUserSettingsFromDiscriminatorValue(parseNode) {
|
|
24770
24980
|
return deserializeIntoUserSettings;
|
|
24771
24981
|
}
|
|
24982
|
+
/**
|
|
24983
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
24984
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
24985
|
+
* @returns {UserSignIn}
|
|
24986
|
+
*/
|
|
24987
|
+
// @ts-ignore
|
|
24988
|
+
export function createUserSignInFromDiscriminatorValue(parseNode) {
|
|
24989
|
+
return deserializeIntoUserSignIn;
|
|
24990
|
+
}
|
|
24772
24991
|
/**
|
|
24773
24992
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
24774
24993
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -25300,6 +25519,15 @@ export function createWebPartPositionFromDiscriminatorValue(parseNode) {
|
|
|
25300
25519
|
export function createWebsiteFromDiscriminatorValue(parseNode) {
|
|
25301
25520
|
return deserializeIntoWebsite;
|
|
25302
25521
|
}
|
|
25522
|
+
/**
|
|
25523
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
25524
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
25525
|
+
* @returns {WhatIfAnalysisResult}
|
|
25526
|
+
*/
|
|
25527
|
+
// @ts-ignore
|
|
25528
|
+
export function createWhatIfAnalysisResultFromDiscriminatorValue(parseNode) {
|
|
25529
|
+
return deserializeIntoWhatIfAnalysisResult;
|
|
25530
|
+
}
|
|
25303
25531
|
/**
|
|
25304
25532
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
25305
25533
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -28620,6 +28848,15 @@ export function deserializeIntoApplication(application = {}) {
|
|
|
28620
28848
|
export function deserializeIntoApplicationCollectionResponse(applicationCollectionResponse = {}) {
|
|
28621
28849
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(applicationCollectionResponse)), { "value": n => { applicationCollectionResponse.value = n.getCollectionOfObjectValues(createApplicationFromDiscriminatorValue); } });
|
|
28622
28850
|
}
|
|
28851
|
+
/**
|
|
28852
|
+
* The deserialization information for the current model
|
|
28853
|
+
* @param ApplicationContext The instance to deserialize into.
|
|
28854
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
28855
|
+
*/
|
|
28856
|
+
// @ts-ignore
|
|
28857
|
+
export function deserializeIntoApplicationContext(applicationContext = {}) {
|
|
28858
|
+
return Object.assign(Object.assign({}, deserializeIntoSignInContext(applicationContext)), { "includeApplications": n => { applicationContext.includeApplications = n.getCollectionOfPrimitiveValues(); } });
|
|
28859
|
+
}
|
|
28623
28860
|
/**
|
|
28624
28861
|
* The deserialization information for the current model
|
|
28625
28862
|
* @param ApplicationEnforcedRestrictionsSessionControl The instance to deserialize into.
|
|
@@ -29576,6 +29813,15 @@ export function deserializeIntoAuditResource(auditResource = {}) {
|
|
|
29576
29813
|
"resourceId": n => { auditResource.resourceId = n.getStringValue(); },
|
|
29577
29814
|
};
|
|
29578
29815
|
}
|
|
29816
|
+
/**
|
|
29817
|
+
* The deserialization information for the current model
|
|
29818
|
+
* @param AuthContext The instance to deserialize into.
|
|
29819
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
29820
|
+
*/
|
|
29821
|
+
// @ts-ignore
|
|
29822
|
+
export function deserializeIntoAuthContext(authContext = {}) {
|
|
29823
|
+
return Object.assign(Object.assign({}, deserializeIntoSignInContext(authContext)), { "authenticationContextValue": n => { authContext.authenticationContextValue = n.getStringValue(); } });
|
|
29824
|
+
}
|
|
29579
29825
|
/**
|
|
29580
29826
|
* The deserialization information for the current model
|
|
29581
29827
|
* @param Authentication The instance to deserialize into.
|
|
@@ -29798,6 +30044,19 @@ export function deserializeIntoAuthenticationEventsFlow(authenticationEventsFlow
|
|
|
29798
30044
|
export function deserializeIntoAuthenticationEventsFlowCollectionResponse(authenticationEventsFlowCollectionResponse = {}) {
|
|
29799
30045
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(authenticationEventsFlowCollectionResponse)), { "value": n => { authenticationEventsFlowCollectionResponse.value = n.getCollectionOfObjectValues(createAuthenticationEventsFlowFromDiscriminatorValue); } });
|
|
29800
30046
|
}
|
|
30047
|
+
/**
|
|
30048
|
+
* The deserialization information for the current model
|
|
30049
|
+
* @param AuthenticationFlow The instance to deserialize into.
|
|
30050
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
30051
|
+
*/
|
|
30052
|
+
// @ts-ignore
|
|
30053
|
+
export function deserializeIntoAuthenticationFlow(authenticationFlow = {}) {
|
|
30054
|
+
return {
|
|
30055
|
+
"backingStoreEnabled": n => { authenticationFlow.backingStoreEnabled = true; },
|
|
30056
|
+
"@odata.type": n => { authenticationFlow.odataType = n.getStringValue(); },
|
|
30057
|
+
"transferMethod": n => { authenticationFlow.transferMethod = n.getCollectionOfEnumValues(ConditionalAccessTransferMethodsObject); },
|
|
30058
|
+
};
|
|
30059
|
+
}
|
|
29801
30060
|
/**
|
|
29802
30061
|
* The deserialization information for the current model
|
|
29803
30062
|
* @param AuthenticationFlowsPolicy The instance to deserialize into.
|
|
@@ -31215,6 +31474,20 @@ export function deserializeIntoCertificationControl(certificationControl = {}) {
|
|
|
31215
31474
|
"url": n => { certificationControl.url = n.getStringValue(); },
|
|
31216
31475
|
};
|
|
31217
31476
|
}
|
|
31477
|
+
/**
|
|
31478
|
+
* The deserialization information for the current model
|
|
31479
|
+
* @param ChallengingWord The instance to deserialize into.
|
|
31480
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
31481
|
+
*/
|
|
31482
|
+
// @ts-ignore
|
|
31483
|
+
export function deserializeIntoChallengingWord(challengingWord = {}) {
|
|
31484
|
+
return {
|
|
31485
|
+
"backingStoreEnabled": n => { challengingWord.backingStoreEnabled = true; },
|
|
31486
|
+
"count": n => { challengingWord.count = n.getNumberValue(); },
|
|
31487
|
+
"@odata.type": n => { challengingWord.odataType = n.getStringValue(); },
|
|
31488
|
+
"word": n => { challengingWord.word = n.getStringValue(); },
|
|
31489
|
+
};
|
|
31490
|
+
}
|
|
31218
31491
|
/**
|
|
31219
31492
|
* The deserialization information for the current model
|
|
31220
31493
|
* @param ChangeTrackedEntity The instance to deserialize into.
|
|
@@ -34553,6 +34826,47 @@ export function deserializeIntoDeviceHealthAttestationState(deviceHealthAttestat
|
|
|
34553
34826
|
"windowsPE": n => { deviceHealthAttestationState.windowsPE = n.getStringValue(); },
|
|
34554
34827
|
};
|
|
34555
34828
|
}
|
|
34829
|
+
/**
|
|
34830
|
+
* The deserialization information for the current model
|
|
34831
|
+
* @param DeviceInfo The instance to deserialize into.
|
|
34832
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
34833
|
+
*/
|
|
34834
|
+
// @ts-ignore
|
|
34835
|
+
export function deserializeIntoDeviceInfo(deviceInfo = {}) {
|
|
34836
|
+
return {
|
|
34837
|
+
"backingStoreEnabled": n => { deviceInfo.backingStoreEnabled = true; },
|
|
34838
|
+
"deviceId": n => { deviceInfo.deviceId = n.getStringValue(); },
|
|
34839
|
+
"displayName": n => { deviceInfo.displayName = n.getStringValue(); },
|
|
34840
|
+
"enrollmentProfileName": n => { deviceInfo.enrollmentProfileName = n.getStringValue(); },
|
|
34841
|
+
"extensionAttribute1": n => { deviceInfo.extensionAttribute1 = n.getStringValue(); },
|
|
34842
|
+
"extensionAttribute10": n => { deviceInfo.extensionAttribute10 = n.getStringValue(); },
|
|
34843
|
+
"extensionAttribute11": n => { deviceInfo.extensionAttribute11 = n.getStringValue(); },
|
|
34844
|
+
"extensionAttribute12": n => { deviceInfo.extensionAttribute12 = n.getStringValue(); },
|
|
34845
|
+
"extensionAttribute13": n => { deviceInfo.extensionAttribute13 = n.getStringValue(); },
|
|
34846
|
+
"extensionAttribute14": n => { deviceInfo.extensionAttribute14 = n.getStringValue(); },
|
|
34847
|
+
"extensionAttribute15": n => { deviceInfo.extensionAttribute15 = n.getStringValue(); },
|
|
34848
|
+
"extensionAttribute2": n => { deviceInfo.extensionAttribute2 = n.getStringValue(); },
|
|
34849
|
+
"extensionAttribute3": n => { deviceInfo.extensionAttribute3 = n.getStringValue(); },
|
|
34850
|
+
"extensionAttribute4": n => { deviceInfo.extensionAttribute4 = n.getStringValue(); },
|
|
34851
|
+
"extensionAttribute5": n => { deviceInfo.extensionAttribute5 = n.getStringValue(); },
|
|
34852
|
+
"extensionAttribute6": n => { deviceInfo.extensionAttribute6 = n.getStringValue(); },
|
|
34853
|
+
"extensionAttribute7": n => { deviceInfo.extensionAttribute7 = n.getStringValue(); },
|
|
34854
|
+
"extensionAttribute8": n => { deviceInfo.extensionAttribute8 = n.getStringValue(); },
|
|
34855
|
+
"extensionAttribute9": n => { deviceInfo.extensionAttribute9 = n.getStringValue(); },
|
|
34856
|
+
"isCompliant": n => { deviceInfo.isCompliant = n.getBooleanValue(); },
|
|
34857
|
+
"manufacturer": n => { deviceInfo.manufacturer = n.getStringValue(); },
|
|
34858
|
+
"mdmAppId": n => { deviceInfo.mdmAppId = n.getStringValue(); },
|
|
34859
|
+
"model": n => { deviceInfo.model = n.getStringValue(); },
|
|
34860
|
+
"@odata.type": n => { deviceInfo.odataType = n.getStringValue(); },
|
|
34861
|
+
"operatingSystem": n => { deviceInfo.operatingSystem = n.getStringValue(); },
|
|
34862
|
+
"operatingSystemVersion": n => { deviceInfo.operatingSystemVersion = n.getStringValue(); },
|
|
34863
|
+
"ownership": n => { deviceInfo.ownership = n.getStringValue(); },
|
|
34864
|
+
"physicalIds": n => { deviceInfo.physicalIds = n.getCollectionOfPrimitiveValues(); },
|
|
34865
|
+
"profileType": n => { deviceInfo.profileType = n.getStringValue(); },
|
|
34866
|
+
"systemLabels": n => { deviceInfo.systemLabels = n.getCollectionOfPrimitiveValues(); },
|
|
34867
|
+
"trustType": n => { deviceInfo.trustType = n.getStringValue(); },
|
|
34868
|
+
};
|
|
34869
|
+
}
|
|
34556
34870
|
/**
|
|
34557
34871
|
* The deserialization information for the current model
|
|
34558
34872
|
* @param DeviceInstallState The instance to deserialize into.
|
|
@@ -35857,6 +36171,7 @@ export function deserializeIntoEducationRoot(educationRoot = {}) {
|
|
|
35857
36171
|
"classes": n => { educationRoot.classes = n.getCollectionOfObjectValues(createEducationClassFromDiscriminatorValue); },
|
|
35858
36172
|
"me": n => { educationRoot.me = n.getObjectValue(createEducationUserFromDiscriminatorValue); },
|
|
35859
36173
|
"@odata.type": n => { educationRoot.odataType = n.getStringValue(); },
|
|
36174
|
+
"reports": n => { educationRoot.reports = n.getObjectValue(createReportsRootFromDiscriminatorValue); },
|
|
35860
36175
|
"schools": n => { educationRoot.schools = n.getCollectionOfObjectValues(createEducationSchoolFromDiscriminatorValue); },
|
|
35861
36176
|
"users": n => { educationRoot.users = n.getCollectionOfObjectValues(createEducationUserFromDiscriminatorValue); },
|
|
35862
36177
|
};
|
|
@@ -36846,7 +37161,7 @@ export function deserializeIntoFileStorage(fileStorage = {}) {
|
|
|
36846
37161
|
*/
|
|
36847
37162
|
// @ts-ignore
|
|
36848
37163
|
export function deserializeIntoFileStorageContainer(fileStorageContainer = {}) {
|
|
36849
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(fileStorageContainer)), { "containerTypeId": n => { fileStorageContainer.containerTypeId = n.getGuidValue(); }, "createdDateTime": n => { fileStorageContainer.createdDateTime = n.getDateValue(); }, "customProperties": n => { fileStorageContainer.customProperties = n.getObjectValue(createFileStorageContainerCustomPropertyDictionaryFromDiscriminatorValue); }, "description": n => { fileStorageContainer.description = n.getStringValue(); }, "displayName": n => { fileStorageContainer.displayName = n.getStringValue(); }, "drive": n => { fileStorageContainer.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "lockState": n => { fileStorageContainer.lockState = n.getEnumValue(SiteLockStateObject); }, "permissions": n => { fileStorageContainer.permissions = n.getCollectionOfObjectValues(createPermissionFromDiscriminatorValue); }, "recycleBin": n => { fileStorageContainer.recycleBin = n.getObjectValue(createRecycleBinFromDiscriminatorValue); }, "settings": n => { fileStorageContainer.settings = n.getObjectValue(createFileStorageContainerSettingsFromDiscriminatorValue); }, "status": n => { fileStorageContainer.status = n.getEnumValue(FileStorageContainerStatusObject); }, "viewpoint": n => { fileStorageContainer.viewpoint = n.getObjectValue(createFileStorageContainerViewpointFromDiscriminatorValue); } });
|
|
37164
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(fileStorageContainer)), { "columns": n => { fileStorageContainer.columns = n.getCollectionOfObjectValues(createColumnDefinitionFromDiscriminatorValue); }, "containerTypeId": n => { fileStorageContainer.containerTypeId = n.getGuidValue(); }, "createdDateTime": n => { fileStorageContainer.createdDateTime = n.getDateValue(); }, "customProperties": n => { fileStorageContainer.customProperties = n.getObjectValue(createFileStorageContainerCustomPropertyDictionaryFromDiscriminatorValue); }, "description": n => { fileStorageContainer.description = n.getStringValue(); }, "displayName": n => { fileStorageContainer.displayName = n.getStringValue(); }, "drive": n => { fileStorageContainer.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "lockState": n => { fileStorageContainer.lockState = n.getEnumValue(SiteLockStateObject); }, "permissions": n => { fileStorageContainer.permissions = n.getCollectionOfObjectValues(createPermissionFromDiscriminatorValue); }, "recycleBin": n => { fileStorageContainer.recycleBin = n.getObjectValue(createRecycleBinFromDiscriminatorValue); }, "settings": n => { fileStorageContainer.settings = n.getObjectValue(createFileStorageContainerSettingsFromDiscriminatorValue); }, "status": n => { fileStorageContainer.status = n.getEnumValue(FileStorageContainerStatusObject); }, "viewpoint": n => { fileStorageContainer.viewpoint = n.getObjectValue(createFileStorageContainerViewpointFromDiscriminatorValue); } });
|
|
36850
37165
|
}
|
|
36851
37166
|
/**
|
|
36852
37167
|
* The deserialization information for the current model
|
|
@@ -39387,7 +39702,7 @@ export function deserializeIntoMailboxProtectionUnitsBulkAdditionJobCollectionRe
|
|
|
39387
39702
|
*/
|
|
39388
39703
|
// @ts-ignore
|
|
39389
39704
|
export function deserializeIntoMailboxRestoreArtifact(mailboxRestoreArtifact = {}) {
|
|
39390
|
-
return Object.assign(Object.assign({}, deserializeIntoRestoreArtifactBase(mailboxRestoreArtifact)), { "restoredFolderId": n => { mailboxRestoreArtifact.restoredFolderId = n.getStringValue(); }, "restoredFolderName": n => { mailboxRestoreArtifact.restoredFolderName = n.getStringValue(); } });
|
|
39705
|
+
return Object.assign(Object.assign({}, deserializeIntoRestoreArtifactBase(mailboxRestoreArtifact)), { "restoredFolderId": n => { mailboxRestoreArtifact.restoredFolderId = n.getStringValue(); }, "restoredFolderName": n => { mailboxRestoreArtifact.restoredFolderName = n.getStringValue(); }, "restoredItemCount": n => { mailboxRestoreArtifact.restoredItemCount = n.getNumberValue(); } });
|
|
39391
39706
|
}
|
|
39392
39707
|
/**
|
|
39393
39708
|
* The deserialization information for the current model
|
|
@@ -41644,7 +41959,7 @@ export function deserializeIntoOnlineMeeting(onlineMeeting = {}) {
|
|
|
41644
41959
|
*/
|
|
41645
41960
|
// @ts-ignore
|
|
41646
41961
|
export function deserializeIntoOnlineMeetingBase(onlineMeetingBase = {}) {
|
|
41647
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(onlineMeetingBase)), { "allowAttendeeToEnableCamera": n => { onlineMeetingBase.allowAttendeeToEnableCamera = n.getBooleanValue(); }, "allowAttendeeToEnableMic": n => { onlineMeetingBase.allowAttendeeToEnableMic = n.getBooleanValue(); }, "allowBreakoutRooms": n => { onlineMeetingBase.allowBreakoutRooms = n.getBooleanValue(); }, "allowedLobbyAdmitters": n => { onlineMeetingBase.allowedLobbyAdmitters = n.getEnumValue(AllowedLobbyAdmitterRolesObject); }, "allowedPresenters": n => { onlineMeetingBase.allowedPresenters = n.getEnumValue(OnlineMeetingPresentersObject); }, "allowLiveShare": n => { onlineMeetingBase.allowLiveShare = n.getEnumValue(MeetingLiveShareOptionsObject); }, "allowMeetingChat": n => { onlineMeetingBase.allowMeetingChat = n.getEnumValue(MeetingChatModeObject); }, "allowParticipantsToChangeName": n => { onlineMeetingBase.allowParticipantsToChangeName = n.getBooleanValue(); }, "allowPowerPointSharing": n => { onlineMeetingBase.allowPowerPointSharing = n.getBooleanValue(); }, "allowRecording": n => { onlineMeetingBase.allowRecording = n.getBooleanValue(); }, "allowTeamworkReactions": n => { onlineMeetingBase.allowTeamworkReactions = n.getBooleanValue(); }, "allowTranscription": n => { onlineMeetingBase.allowTranscription = n.getBooleanValue(); }, "allowWhiteboard": n => { onlineMeetingBase.allowWhiteboard = n.getBooleanValue(); }, "attendanceReports": n => { onlineMeetingBase.attendanceReports = n.getCollectionOfObjectValues(createMeetingAttendanceReportFromDiscriminatorValue); }, "audioConferencing": n => { onlineMeetingBase.audioConferencing = n.getObjectValue(createAudioConferencingFromDiscriminatorValue); }, "chatInfo": n => { onlineMeetingBase.chatInfo = n.getObjectValue(createChatInfoFromDiscriminatorValue); }, "chatRestrictions": n => { onlineMeetingBase.chatRestrictions = n.getObjectValue(createChatRestrictionsFromDiscriminatorValue); }, "isEntryExitAnnounced": n => { onlineMeetingBase.isEntryExitAnnounced = n.getBooleanValue(); }, "joinInformation": n => { onlineMeetingBase.joinInformation = n.getObjectValue(createItemBodyFromDiscriminatorValue); }, "joinMeetingIdSettings": n => { onlineMeetingBase.joinMeetingIdSettings = n.getObjectValue(createJoinMeetingIdSettingsFromDiscriminatorValue); }, "joinWebUrl": n => { onlineMeetingBase.joinWebUrl = n.getStringValue(); }, "lobbyBypassSettings": n => { onlineMeetingBase.lobbyBypassSettings = n.getObjectValue(createLobbyBypassSettingsFromDiscriminatorValue); }, "recordAutomatically": n => { onlineMeetingBase.recordAutomatically = n.getBooleanValue(); }, "shareMeetingChatHistoryDefault": n => { onlineMeetingBase.shareMeetingChatHistoryDefault = n.getEnumValue(MeetingChatHistoryDefaultModeObject); }, "subject": n => { onlineMeetingBase.subject = n.getStringValue(); }, "videoTeleconferenceId": n => { onlineMeetingBase.videoTeleconferenceId = n.getStringValue(); }, "watermarkProtection": n => { onlineMeetingBase.watermarkProtection = n.getObjectValue(createWatermarkProtectionValuesFromDiscriminatorValue); } });
|
|
41962
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(onlineMeetingBase)), { "allowAttendeeToEnableCamera": n => { onlineMeetingBase.allowAttendeeToEnableCamera = n.getBooleanValue(); }, "allowAttendeeToEnableMic": n => { onlineMeetingBase.allowAttendeeToEnableMic = n.getBooleanValue(); }, "allowBreakoutRooms": n => { onlineMeetingBase.allowBreakoutRooms = n.getBooleanValue(); }, "allowedLobbyAdmitters": n => { onlineMeetingBase.allowedLobbyAdmitters = n.getEnumValue(AllowedLobbyAdmitterRolesObject); }, "allowedPresenters": n => { onlineMeetingBase.allowedPresenters = n.getEnumValue(OnlineMeetingPresentersObject); }, "allowLiveShare": n => { onlineMeetingBase.allowLiveShare = n.getEnumValue(MeetingLiveShareOptionsObject); }, "allowMeetingChat": n => { onlineMeetingBase.allowMeetingChat = n.getEnumValue(MeetingChatModeObject); }, "allowParticipantsToChangeName": n => { onlineMeetingBase.allowParticipantsToChangeName = n.getBooleanValue(); }, "allowPowerPointSharing": n => { onlineMeetingBase.allowPowerPointSharing = n.getBooleanValue(); }, "allowRecording": n => { onlineMeetingBase.allowRecording = n.getBooleanValue(); }, "allowTeamworkReactions": n => { onlineMeetingBase.allowTeamworkReactions = n.getBooleanValue(); }, "allowTranscription": n => { onlineMeetingBase.allowTranscription = n.getBooleanValue(); }, "allowWhiteboard": n => { onlineMeetingBase.allowWhiteboard = n.getBooleanValue(); }, "attendanceReports": n => { onlineMeetingBase.attendanceReports = n.getCollectionOfObjectValues(createMeetingAttendanceReportFromDiscriminatorValue); }, "audioConferencing": n => { onlineMeetingBase.audioConferencing = n.getObjectValue(createAudioConferencingFromDiscriminatorValue); }, "chatInfo": n => { onlineMeetingBase.chatInfo = n.getObjectValue(createChatInfoFromDiscriminatorValue); }, "chatRestrictions": n => { onlineMeetingBase.chatRestrictions = n.getObjectValue(createChatRestrictionsFromDiscriminatorValue); }, "isEndToEndEncryptionEnabled": n => { onlineMeetingBase.isEndToEndEncryptionEnabled = n.getBooleanValue(); }, "isEntryExitAnnounced": n => { onlineMeetingBase.isEntryExitAnnounced = n.getBooleanValue(); }, "joinInformation": n => { onlineMeetingBase.joinInformation = n.getObjectValue(createItemBodyFromDiscriminatorValue); }, "joinMeetingIdSettings": n => { onlineMeetingBase.joinMeetingIdSettings = n.getObjectValue(createJoinMeetingIdSettingsFromDiscriminatorValue); }, "joinWebUrl": n => { onlineMeetingBase.joinWebUrl = n.getStringValue(); }, "lobbyBypassSettings": n => { onlineMeetingBase.lobbyBypassSettings = n.getObjectValue(createLobbyBypassSettingsFromDiscriminatorValue); }, "recordAutomatically": n => { onlineMeetingBase.recordAutomatically = n.getBooleanValue(); }, "shareMeetingChatHistoryDefault": n => { onlineMeetingBase.shareMeetingChatHistoryDefault = n.getEnumValue(MeetingChatHistoryDefaultModeObject); }, "subject": n => { onlineMeetingBase.subject = n.getStringValue(); }, "videoTeleconferenceId": n => { onlineMeetingBase.videoTeleconferenceId = n.getStringValue(); }, "watermarkProtection": n => { onlineMeetingBase.watermarkProtection = n.getObjectValue(createWatermarkProtectionValuesFromDiscriminatorValue); } });
|
|
41648
41963
|
}
|
|
41649
41964
|
/**
|
|
41650
41965
|
* The deserialization information for the current model
|
|
@@ -42195,6 +42510,20 @@ export function deserializeIntoOutOfBoxExperienceSetting(outOfBoxExperienceSetti
|
|
|
42195
42510
|
"userType": n => { outOfBoxExperienceSetting.userType = n.getEnumValue(WindowsUserTypeObject); },
|
|
42196
42511
|
};
|
|
42197
42512
|
}
|
|
42513
|
+
/**
|
|
42514
|
+
* The deserialization information for the current model
|
|
42515
|
+
* @param OutOfOfficeSettings The instance to deserialize into.
|
|
42516
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
42517
|
+
*/
|
|
42518
|
+
// @ts-ignore
|
|
42519
|
+
export function deserializeIntoOutOfOfficeSettings(outOfOfficeSettings = {}) {
|
|
42520
|
+
return {
|
|
42521
|
+
"backingStoreEnabled": n => { outOfOfficeSettings.backingStoreEnabled = true; },
|
|
42522
|
+
"isOutOfOffice": n => { outOfOfficeSettings.isOutOfOffice = n.getBooleanValue(); },
|
|
42523
|
+
"message": n => { outOfOfficeSettings.message = n.getStringValue(); },
|
|
42524
|
+
"@odata.type": n => { outOfOfficeSettings.odataType = n.getStringValue(); },
|
|
42525
|
+
};
|
|
42526
|
+
}
|
|
42198
42527
|
/**
|
|
42199
42528
|
* The deserialization information for the current model
|
|
42200
42529
|
* @param PackageEscaped The instance to deserialize into.
|
|
@@ -42662,6 +42991,15 @@ export function deserializeIntoPhoneAuthenticationMethod(phoneAuthenticationMeth
|
|
|
42662
42991
|
export function deserializeIntoPhoneAuthenticationMethodCollectionResponse(phoneAuthenticationMethodCollectionResponse = {}) {
|
|
42663
42992
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(phoneAuthenticationMethodCollectionResponse)), { "value": n => { phoneAuthenticationMethodCollectionResponse.value = n.getCollectionOfObjectValues(createPhoneAuthenticationMethodFromDiscriminatorValue); } });
|
|
42664
42993
|
}
|
|
42994
|
+
/**
|
|
42995
|
+
* The deserialization information for the current model
|
|
42996
|
+
* @param PhoneUserConversationMember The instance to deserialize into.
|
|
42997
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
42998
|
+
*/
|
|
42999
|
+
// @ts-ignore
|
|
43000
|
+
export function deserializeIntoPhoneUserConversationMember(phoneUserConversationMember = {}) {
|
|
43001
|
+
return Object.assign(Object.assign({}, deserializeIntoConversationMember(phoneUserConversationMember)), { "phoneNumber": n => { phoneUserConversationMember.phoneNumber = n.getStringValue(); } });
|
|
43002
|
+
}
|
|
42665
43003
|
/**
|
|
42666
43004
|
* The deserialization information for the current model
|
|
42667
43005
|
* @param Photo The instance to deserialize into.
|
|
@@ -43210,7 +43548,7 @@ export function deserializeIntoPreAuthorizedApplication(preAuthorizedApplication
|
|
|
43210
43548
|
*/
|
|
43211
43549
|
// @ts-ignore
|
|
43212
43550
|
export function deserializeIntoPresence(presence = {}) {
|
|
43213
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(presence)), { "activity": n => { presence.activity = n.getStringValue(); }, "availability": n => { presence.availability = n.getStringValue(); }, "statusMessage": n => { presence.statusMessage = n.getObjectValue(createPresenceStatusMessageFromDiscriminatorValue); } });
|
|
43551
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(presence)), { "activity": n => { presence.activity = n.getStringValue(); }, "availability": n => { presence.availability = n.getStringValue(); }, "outOfOfficeSettings": n => { presence.outOfOfficeSettings = n.getObjectValue(createOutOfOfficeSettingsFromDiscriminatorValue); }, "sequenceNumber": n => { presence.sequenceNumber = n.getStringValue(); }, "statusMessage": n => { presence.statusMessage = n.getObjectValue(createPresenceStatusMessageFromDiscriminatorValue); } });
|
|
43214
43552
|
}
|
|
43215
43553
|
/**
|
|
43216
43554
|
* The deserialization information for the current model
|
|
@@ -44519,6 +44857,24 @@ export function deserializeIntoReactionsFacet(reactionsFacet = {}) {
|
|
|
44519
44857
|
"shareCount": n => { reactionsFacet.shareCount = n.getNumberValue(); },
|
|
44520
44858
|
};
|
|
44521
44859
|
}
|
|
44860
|
+
/**
|
|
44861
|
+
* The deserialization information for the current model
|
|
44862
|
+
* @param ReadingAssignmentSubmission The instance to deserialize into.
|
|
44863
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
44864
|
+
*/
|
|
44865
|
+
// @ts-ignore
|
|
44866
|
+
export function deserializeIntoReadingAssignmentSubmission(readingAssignmentSubmission = {}) {
|
|
44867
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(readingAssignmentSubmission)), { "accuracyScore": n => { readingAssignmentSubmission.accuracyScore = n.getNumberValue(); }, "action": n => { readingAssignmentSubmission.action = n.getStringValue(); }, "assignmentId": n => { readingAssignmentSubmission.assignmentId = n.getStringValue(); }, "challengingWords": n => { readingAssignmentSubmission.challengingWords = n.getCollectionOfObjectValues(createChallengingWordFromDiscriminatorValue); }, "classId": n => { readingAssignmentSubmission.classId = n.getStringValue(); }, "insertions": n => { readingAssignmentSubmission.insertions = n.getNumberValue(); }, "mispronunciations": n => { readingAssignmentSubmission.mispronunciations = n.getNumberValue(); }, "missedExclamationMarks": n => { readingAssignmentSubmission.missedExclamationMarks = n.getNumberValue(); }, "missedPeriods": n => { readingAssignmentSubmission.missedPeriods = n.getNumberValue(); }, "missedQuestionMarks": n => { readingAssignmentSubmission.missedQuestionMarks = n.getNumberValue(); }, "missedShorts": n => { readingAssignmentSubmission.missedShorts = n.getNumberValue(); }, "monotoneScore": n => { readingAssignmentSubmission.monotoneScore = n.getNumberValue(); }, "omissions": n => { readingAssignmentSubmission.omissions = n.getNumberValue(); }, "repetitions": n => { readingAssignmentSubmission.repetitions = n.getNumberValue(); }, "selfCorrections": n => { readingAssignmentSubmission.selfCorrections = n.getNumberValue(); }, "studentId": n => { readingAssignmentSubmission.studentId = n.getStringValue(); }, "submissionDateTime": n => { readingAssignmentSubmission.submissionDateTime = n.getDateValue(); }, "submissionId": n => { readingAssignmentSubmission.submissionId = n.getStringValue(); }, "unexpectedPauses": n => { readingAssignmentSubmission.unexpectedPauses = n.getNumberValue(); }, "wordCount": n => { readingAssignmentSubmission.wordCount = n.getNumberValue(); }, "wordsPerMinute": n => { readingAssignmentSubmission.wordsPerMinute = n.getNumberValue(); } });
|
|
44868
|
+
}
|
|
44869
|
+
/**
|
|
44870
|
+
* The deserialization information for the current model
|
|
44871
|
+
* @param ReadingAssignmentSubmissionCollectionResponse The instance to deserialize into.
|
|
44872
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
44873
|
+
*/
|
|
44874
|
+
// @ts-ignore
|
|
44875
|
+
export function deserializeIntoReadingAssignmentSubmissionCollectionResponse(readingAssignmentSubmissionCollectionResponse = {}) {
|
|
44876
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(readingAssignmentSubmissionCollectionResponse)), { "value": n => { readingAssignmentSubmissionCollectionResponse.value = n.getCollectionOfObjectValues(createReadingAssignmentSubmissionFromDiscriminatorValue); } });
|
|
44877
|
+
}
|
|
44522
44878
|
/**
|
|
44523
44879
|
* The deserialization information for the current model
|
|
44524
44880
|
* @param RecentNotebook The instance to deserialize into.
|
|
@@ -44738,6 +45094,24 @@ export function deserializeIntoReferenceUpdate(referenceUpdate = {}) {
|
|
|
44738
45094
|
"@odata.type": n => { referenceUpdate.odataType = n.getStringValue(); },
|
|
44739
45095
|
};
|
|
44740
45096
|
}
|
|
45097
|
+
/**
|
|
45098
|
+
* The deserialization information for the current model
|
|
45099
|
+
* @param ReflectCheckInResponse The instance to deserialize into.
|
|
45100
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
45101
|
+
*/
|
|
45102
|
+
// @ts-ignore
|
|
45103
|
+
export function deserializeIntoReflectCheckInResponse(reflectCheckInResponse = {}) {
|
|
45104
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(reflectCheckInResponse)), { "checkInId": n => { reflectCheckInResponse.checkInId = n.getStringValue(); }, "checkInTitle": n => { reflectCheckInResponse.checkInTitle = n.getStringValue(); }, "classId": n => { reflectCheckInResponse.classId = n.getStringValue(); }, "createdDateTime": n => { reflectCheckInResponse.createdDateTime = n.getDateValue(); }, "creatorId": n => { reflectCheckInResponse.creatorId = n.getStringValue(); }, "isClosed": n => { reflectCheckInResponse.isClosed = n.getBooleanValue(); }, "responderId": n => { reflectCheckInResponse.responderId = n.getStringValue(); }, "responseEmotion": n => { reflectCheckInResponse.responseEmotion = n.getEnumValue(ResponseEmotionTypeObject); }, "responseFeedback": n => { reflectCheckInResponse.responseFeedback = n.getEnumValue(ResponseFeedbackTypeObject); }, "submitDateTime": n => { reflectCheckInResponse.submitDateTime = n.getDateValue(); } });
|
|
45105
|
+
}
|
|
45106
|
+
/**
|
|
45107
|
+
* The deserialization information for the current model
|
|
45108
|
+
* @param ReflectCheckInResponseCollectionResponse The instance to deserialize into.
|
|
45109
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
45110
|
+
*/
|
|
45111
|
+
// @ts-ignore
|
|
45112
|
+
export function deserializeIntoReflectCheckInResponseCollectionResponse(reflectCheckInResponseCollectionResponse = {}) {
|
|
45113
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(reflectCheckInResponseCollectionResponse)), { "value": n => { reflectCheckInResponseCollectionResponse.value = n.getCollectionOfObjectValues(createReflectCheckInResponseFromDiscriminatorValue); } });
|
|
45114
|
+
}
|
|
44741
45115
|
/**
|
|
44742
45116
|
* The deserialization information for the current model
|
|
44743
45117
|
* @param RegistrationEnforcement The instance to deserialize into.
|
|
@@ -44940,6 +45314,15 @@ export function deserializeIntoReportRoot(reportRoot = {}) {
|
|
|
44940
45314
|
"security": n => { reportRoot.security = n.getObjectValue(createSecurityReportsRootFromDiscriminatorValue); },
|
|
44941
45315
|
};
|
|
44942
45316
|
}
|
|
45317
|
+
/**
|
|
45318
|
+
* The deserialization information for the current model
|
|
45319
|
+
* @param ReportsRoot The instance to deserialize into.
|
|
45320
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
45321
|
+
*/
|
|
45322
|
+
// @ts-ignore
|
|
45323
|
+
export function deserializeIntoReportsRoot(reportsRoot = {}) {
|
|
45324
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(reportsRoot)), { "readingAssignmentSubmissions": n => { reportsRoot.readingAssignmentSubmissions = n.getCollectionOfObjectValues(createReadingAssignmentSubmissionFromDiscriminatorValue); }, "reflectCheckInResponses": n => { reportsRoot.reflectCheckInResponses = n.getCollectionOfObjectValues(createReflectCheckInResponseFromDiscriminatorValue); } });
|
|
45325
|
+
}
|
|
44943
45326
|
/**
|
|
44944
45327
|
* The deserialization information for the current model
|
|
44945
45328
|
* @param Request The instance to deserialize into.
|
|
@@ -45214,6 +45597,22 @@ export function deserializeIntoRestorePointSearchResult(restorePointSearchResult
|
|
|
45214
45597
|
"restorePoint": n => { restorePointSearchResult.restorePoint = n.getObjectValue(createRestorePointFromDiscriminatorValue); },
|
|
45215
45598
|
};
|
|
45216
45599
|
}
|
|
45600
|
+
/**
|
|
45601
|
+
* The deserialization information for the current model
|
|
45602
|
+
* @param RestoreSessionArtifactCount The instance to deserialize into.
|
|
45603
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
45604
|
+
*/
|
|
45605
|
+
// @ts-ignore
|
|
45606
|
+
export function deserializeIntoRestoreSessionArtifactCount(restoreSessionArtifactCount = {}) {
|
|
45607
|
+
return {
|
|
45608
|
+
"backingStoreEnabled": n => { restoreSessionArtifactCount.backingStoreEnabled = true; },
|
|
45609
|
+
"completed": n => { restoreSessionArtifactCount.completed = n.getNumberValue(); },
|
|
45610
|
+
"failed": n => { restoreSessionArtifactCount.failed = n.getNumberValue(); },
|
|
45611
|
+
"inProgress": n => { restoreSessionArtifactCount.inProgress = n.getNumberValue(); },
|
|
45612
|
+
"@odata.type": n => { restoreSessionArtifactCount.odataType = n.getStringValue(); },
|
|
45613
|
+
"total": n => { restoreSessionArtifactCount.total = n.getNumberValue(); },
|
|
45614
|
+
};
|
|
45615
|
+
}
|
|
45217
45616
|
/**
|
|
45218
45617
|
* The deserialization information for the current model
|
|
45219
45618
|
* @param RestoreSessionBase The instance to deserialize into.
|
|
@@ -45221,7 +45620,7 @@ export function deserializeIntoRestorePointSearchResult(restorePointSearchResult
|
|
|
45221
45620
|
*/
|
|
45222
45621
|
// @ts-ignore
|
|
45223
45622
|
export function deserializeIntoRestoreSessionBase(restoreSessionBase = {}) {
|
|
45224
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(restoreSessionBase)), { "completedDateTime": n => { restoreSessionBase.completedDateTime = n.getDateValue(); }, "createdBy": n => { restoreSessionBase.createdBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "createdDateTime": n => { restoreSessionBase.createdDateTime = n.getDateValue(); }, "error": n => { restoreSessionBase.errorEscaped = n.getObjectValue(createPublicErrorFromDiscriminatorValue); }, "lastModifiedBy": n => { restoreSessionBase.lastModifiedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "lastModifiedDateTime": n => { restoreSessionBase.lastModifiedDateTime = n.getDateValue(); }, "status": n => { restoreSessionBase.status = n.getEnumValue(RestoreSessionStatusObject); } });
|
|
45623
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(restoreSessionBase)), { "completedDateTime": n => { restoreSessionBase.completedDateTime = n.getDateValue(); }, "createdBy": n => { restoreSessionBase.createdBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "createdDateTime": n => { restoreSessionBase.createdDateTime = n.getDateValue(); }, "error": n => { restoreSessionBase.errorEscaped = n.getObjectValue(createPublicErrorFromDiscriminatorValue); }, "lastModifiedBy": n => { restoreSessionBase.lastModifiedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "lastModifiedDateTime": n => { restoreSessionBase.lastModifiedDateTime = n.getDateValue(); }, "restoreJobType": n => { restoreSessionBase.restoreJobType = n.getEnumValue(RestoreJobTypeObject); }, "restoreSessionArtifactCount": n => { restoreSessionBase.restoreSessionArtifactCount = n.getObjectValue(createRestoreSessionArtifactCountFromDiscriminatorValue); }, "status": n => { restoreSessionBase.status = n.getEnumValue(RestoreSessionStatusObject); } });
|
|
45225
45624
|
}
|
|
45226
45625
|
/**
|
|
45227
45626
|
* The deserialization information for the current model
|
|
@@ -46119,7 +46518,7 @@ export function deserializeIntoSecureSignInSessionControl(secureSignInSessionCon
|
|
|
46119
46518
|
*/
|
|
46120
46519
|
// @ts-ignore
|
|
46121
46520
|
export function deserializeIntoSecurity(security = {}) {
|
|
46122
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(security)), { "alerts": n => { security.alerts = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "alerts_v2": n => { security.alertsV2 = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "attackSimulation": n => { security.attackSimulation = n.getObjectValue(createAttackSimulationRootFromDiscriminatorValue); }, "
|
|
46521
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(security)), { "alerts": n => { security.alerts = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "alerts_v2": n => { security.alertsV2 = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "attackSimulation": n => { security.attackSimulation = n.getObjectValue(createAttackSimulationRootFromDiscriminatorValue); }, "cases": n => { security.cases = n.getObjectValue(createCasesRootFromDiscriminatorValue); }, "dataSecurityAndGovernance": n => { security.dataSecurityAndGovernance = n.getObjectValue(createTenantDataSecurityAndGovernanceFromDiscriminatorValue); }, "identities": n => { security.identities = n.getObjectValue(I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9); }, "incidents": n => { security.incidents = n.getCollectionOfObjectValues(createIncidentFromDiscriminatorValue); }, "labels": n => { security.labels = n.getObjectValue(createLabelsRootFromDiscriminatorValue); }, "secureScoreControlProfiles": n => { security.secureScoreControlProfiles = n.getCollectionOfObjectValues(createSecureScoreControlProfileFromDiscriminatorValue); }, "secureScores": n => { security.secureScores = n.getCollectionOfObjectValues(createSecureScoreFromDiscriminatorValue); }, "subjectRightsRequests": n => { security.subjectRightsRequests = n.getCollectionOfObjectValues(createSubjectRightsRequestFromDiscriminatorValue); }, "threatIntelligence": n => { security.threatIntelligence = n.getObjectValue(createThreatIntelligenceFromDiscriminatorValue); }, "triggers": n => { security.triggers = n.getObjectValue(createTriggersRootFromDiscriminatorValue); }, "triggerTypes": n => { security.triggerTypes = n.getObjectValue(createTriggerTypesRootFromDiscriminatorValue); } });
|
|
46123
46522
|
}
|
|
46124
46523
|
/**
|
|
46125
46524
|
* The deserialization information for the current model
|
|
@@ -46444,6 +46843,15 @@ export function deserializeIntoServicePrincipalRiskDetection(servicePrincipalRis
|
|
|
46444
46843
|
export function deserializeIntoServicePrincipalRiskDetectionCollectionResponse(servicePrincipalRiskDetectionCollectionResponse = {}) {
|
|
46445
46844
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(servicePrincipalRiskDetectionCollectionResponse)), { "value": n => { servicePrincipalRiskDetectionCollectionResponse.value = n.getCollectionOfObjectValues(createServicePrincipalRiskDetectionFromDiscriminatorValue); } });
|
|
46446
46845
|
}
|
|
46846
|
+
/**
|
|
46847
|
+
* The deserialization information for the current model
|
|
46848
|
+
* @param ServicePrincipalSignIn The instance to deserialize into.
|
|
46849
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
46850
|
+
*/
|
|
46851
|
+
// @ts-ignore
|
|
46852
|
+
export function deserializeIntoServicePrincipalSignIn(servicePrincipalSignIn = {}) {
|
|
46853
|
+
return Object.assign(Object.assign({}, deserializeIntoSignInIdentity(servicePrincipalSignIn)), { "servicePrincipalId": n => { servicePrincipalSignIn.servicePrincipalId = n.getStringValue(); } });
|
|
46854
|
+
}
|
|
46447
46855
|
/**
|
|
46448
46856
|
* The deserialization information for the current model
|
|
46449
46857
|
* @param ServiceProvisioningError The instance to deserialize into.
|
|
@@ -46965,6 +47373,40 @@ export function deserializeIntoSignInActivity(signInActivity = {}) {
|
|
|
46965
47373
|
export function deserializeIntoSignInCollectionResponse(signInCollectionResponse = {}) {
|
|
46966
47374
|
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(signInCollectionResponse)), { "value": n => { signInCollectionResponse.value = n.getCollectionOfObjectValues(createSignInFromDiscriminatorValue); } });
|
|
46967
47375
|
}
|
|
47376
|
+
/**
|
|
47377
|
+
* The deserialization information for the current model
|
|
47378
|
+
* @param SignInConditions The instance to deserialize into.
|
|
47379
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
47380
|
+
*/
|
|
47381
|
+
// @ts-ignore
|
|
47382
|
+
export function deserializeIntoSignInConditions(signInConditions = {}) {
|
|
47383
|
+
return {
|
|
47384
|
+
"authenticationFlow": n => { signInConditions.authenticationFlow = n.getObjectValue(createAuthenticationFlowFromDiscriminatorValue); },
|
|
47385
|
+
"backingStoreEnabled": n => { signInConditions.backingStoreEnabled = true; },
|
|
47386
|
+
"clientAppType": n => { signInConditions.clientAppType = n.getEnumValue(ConditionalAccessClientAppObject); },
|
|
47387
|
+
"country": n => { signInConditions.country = n.getStringValue(); },
|
|
47388
|
+
"deviceInfo": n => { signInConditions.deviceInfo = n.getObjectValue(createDeviceInfoFromDiscriminatorValue); },
|
|
47389
|
+
"devicePlatform": n => { signInConditions.devicePlatform = n.getEnumValue(ConditionalAccessDevicePlatformObject); },
|
|
47390
|
+
"insiderRiskLevel": n => { signInConditions.insiderRiskLevel = n.getEnumValue(InsiderRiskLevelObject); },
|
|
47391
|
+
"ipAddress": n => { signInConditions.ipAddress = n.getStringValue(); },
|
|
47392
|
+
"@odata.type": n => { signInConditions.odataType = n.getStringValue(); },
|
|
47393
|
+
"servicePrincipalRiskLevel": n => { signInConditions.servicePrincipalRiskLevel = n.getEnumValue(RiskLevelObject); },
|
|
47394
|
+
"signInRiskLevel": n => { signInConditions.signInRiskLevel = n.getEnumValue(RiskLevelObject); },
|
|
47395
|
+
"userRiskLevel": n => { signInConditions.userRiskLevel = n.getEnumValue(RiskLevelObject); },
|
|
47396
|
+
};
|
|
47397
|
+
}
|
|
47398
|
+
/**
|
|
47399
|
+
* The deserialization information for the current model
|
|
47400
|
+
* @param SignInContext The instance to deserialize into.
|
|
47401
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
47402
|
+
*/
|
|
47403
|
+
// @ts-ignore
|
|
47404
|
+
export function deserializeIntoSignInContext(signInContext = {}) {
|
|
47405
|
+
return {
|
|
47406
|
+
"backingStoreEnabled": n => { signInContext.backingStoreEnabled = true; },
|
|
47407
|
+
"@odata.type": n => { signInContext.odataType = n.getStringValue(); },
|
|
47408
|
+
};
|
|
47409
|
+
}
|
|
46968
47410
|
/**
|
|
46969
47411
|
* The deserialization information for the current model
|
|
46970
47412
|
* @param SignInFrequencySessionControl The instance to deserialize into.
|
|
@@ -46988,6 +47430,18 @@ export function deserializeIntoSigningCertificateUpdateStatus(signingCertificate
|
|
|
46988
47430
|
"@odata.type": n => { signingCertificateUpdateStatus.odataType = n.getStringValue(); },
|
|
46989
47431
|
};
|
|
46990
47432
|
}
|
|
47433
|
+
/**
|
|
47434
|
+
* The deserialization information for the current model
|
|
47435
|
+
* @param SignInIdentity The instance to deserialize into.
|
|
47436
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
47437
|
+
*/
|
|
47438
|
+
// @ts-ignore
|
|
47439
|
+
export function deserializeIntoSignInIdentity(signInIdentity = {}) {
|
|
47440
|
+
return {
|
|
47441
|
+
"backingStoreEnabled": n => { signInIdentity.backingStoreEnabled = true; },
|
|
47442
|
+
"@odata.type": n => { signInIdentity.odataType = n.getStringValue(); },
|
|
47443
|
+
};
|
|
47444
|
+
}
|
|
46991
47445
|
/**
|
|
46992
47446
|
* The deserialization information for the current model
|
|
46993
47447
|
* @param SignInLocation The instance to deserialize into.
|
|
@@ -50186,6 +50640,15 @@ export function deserializeIntoUsedInsightCollectionResponse(usedInsightCollecti
|
|
|
50186
50640
|
export function deserializeIntoUser(user = {}) {
|
|
50187
50641
|
return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(user)), { "aboutMe": n => { user.aboutMe = n.getStringValue(); }, "accountEnabled": n => { user.accountEnabled = n.getBooleanValue(); }, "activities": n => { user.activities = n.getCollectionOfObjectValues(createUserActivityFromDiscriminatorValue); }, "ageGroup": n => { user.ageGroup = n.getStringValue(); }, "agreementAcceptances": n => { user.agreementAcceptances = n.getCollectionOfObjectValues(createAgreementAcceptanceFromDiscriminatorValue); }, "appRoleAssignments": n => { user.appRoleAssignments = n.getCollectionOfObjectValues(createAppRoleAssignmentFromDiscriminatorValue); }, "assignedLicenses": n => { user.assignedLicenses = n.getCollectionOfObjectValues(createAssignedLicenseFromDiscriminatorValue); }, "assignedPlans": n => { user.assignedPlans = n.getCollectionOfObjectValues(createAssignedPlanFromDiscriminatorValue); }, "authentication": n => { user.authentication = n.getObjectValue(createAuthenticationFromDiscriminatorValue); }, "authorizationInfo": n => { user.authorizationInfo = n.getObjectValue(createAuthorizationInfoFromDiscriminatorValue); }, "birthday": n => { user.birthday = n.getDateValue(); }, "businessPhones": n => { user.businessPhones = n.getCollectionOfPrimitiveValues(); }, "calendar": n => { user.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "calendarGroups": n => { user.calendarGroups = n.getCollectionOfObjectValues(createCalendarGroupFromDiscriminatorValue); }, "calendars": n => { user.calendars = n.getCollectionOfObjectValues(createCalendarFromDiscriminatorValue); }, "calendarView": n => { user.calendarView = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "chats": n => { user.chats = n.getCollectionOfObjectValues(createChatFromDiscriminatorValue); }, "city": n => { user.city = n.getStringValue(); }, "cloudClipboard": n => { user.cloudClipboard = n.getObjectValue(createCloudClipboardRootFromDiscriminatorValue); }, "companyName": n => { user.companyName = n.getStringValue(); }, "consentProvidedForMinor": n => { user.consentProvidedForMinor = n.getStringValue(); }, "contactFolders": n => { user.contactFolders = n.getCollectionOfObjectValues(createContactFolderFromDiscriminatorValue); }, "contacts": n => { user.contacts = n.getCollectionOfObjectValues(createContactFromDiscriminatorValue); }, "country": n => { user.country = n.getStringValue(); }, "createdDateTime": n => { user.createdDateTime = n.getDateValue(); }, "createdObjects": n => { user.createdObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "creationType": n => { user.creationType = n.getStringValue(); }, "customSecurityAttributes": n => { user.customSecurityAttributes = n.getObjectValue(createCustomSecurityAttributeValueFromDiscriminatorValue); }, "dataSecurityAndGovernance": n => { user.dataSecurityAndGovernance = n.getObjectValue(createUserDataSecurityAndGovernanceFromDiscriminatorValue); }, "department": n => { user.department = n.getStringValue(); }, "deviceEnrollmentLimit": n => { user.deviceEnrollmentLimit = n.getNumberValue(); }, "deviceManagementTroubleshootingEvents": n => { user.deviceManagementTroubleshootingEvents = n.getCollectionOfObjectValues(createDeviceManagementTroubleshootingEventFromDiscriminatorValue); }, "directReports": n => { user.directReports = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "displayName": n => { user.displayName = n.getStringValue(); }, "drive": n => { user.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "drives": n => { user.drives = n.getCollectionOfObjectValues(createDriveFromDiscriminatorValue); }, "employeeExperience": n => { user.employeeExperience = n.getObjectValue(createEmployeeExperienceUserFromDiscriminatorValue); }, "employeeHireDate": n => { user.employeeHireDate = n.getDateValue(); }, "employeeId": n => { user.employeeId = n.getStringValue(); }, "employeeLeaveDateTime": n => { user.employeeLeaveDateTime = n.getDateValue(); }, "employeeOrgData": n => { user.employeeOrgData = n.getObjectValue(createEmployeeOrgDataFromDiscriminatorValue); }, "employeeType": n => { user.employeeType = n.getStringValue(); }, "events": n => { user.events = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "extensions": n => { user.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "externalUserState": n => { user.externalUserState = n.getStringValue(); }, "externalUserStateChangeDateTime": n => { user.externalUserStateChangeDateTime = n.getDateValue(); }, "faxNumber": n => { user.faxNumber = n.getStringValue(); }, "followedSites": n => { user.followedSites = n.getCollectionOfObjectValues(createSiteFromDiscriminatorValue); }, "givenName": n => { user.givenName = n.getStringValue(); }, "hireDate": n => { user.hireDate = n.getDateValue(); }, "identities": n => { user.identities = n.getCollectionOfObjectValues(createObjectIdentityFromDiscriminatorValue); }, "imAddresses": n => { user.imAddresses = n.getCollectionOfPrimitiveValues(); }, "inferenceClassification": n => { user.inferenceClassification = n.getObjectValue(createInferenceClassificationFromDiscriminatorValue); }, "insights": n => { user.insights = n.getObjectValue(createItemInsightsFromDiscriminatorValue); }, "interests": n => { user.interests = n.getCollectionOfPrimitiveValues(); }, "isManagementRestricted": n => { user.isManagementRestricted = n.getBooleanValue(); }, "isResourceAccount": n => { user.isResourceAccount = n.getBooleanValue(); }, "jobTitle": n => { user.jobTitle = n.getStringValue(); }, "joinedTeams": n => { user.joinedTeams = n.getCollectionOfObjectValues(createTeamFromDiscriminatorValue); }, "lastPasswordChangeDateTime": n => { user.lastPasswordChangeDateTime = n.getDateValue(); }, "legalAgeGroupClassification": n => { user.legalAgeGroupClassification = n.getStringValue(); }, "licenseAssignmentStates": n => { user.licenseAssignmentStates = n.getCollectionOfObjectValues(createLicenseAssignmentStateFromDiscriminatorValue); }, "licenseDetails": n => { user.licenseDetails = n.getCollectionOfObjectValues(createLicenseDetailsFromDiscriminatorValue); }, "mail": n => { user.mail = n.getStringValue(); }, "mailboxSettings": n => { user.mailboxSettings = n.getObjectValue(createMailboxSettingsFromDiscriminatorValue); }, "mailFolders": n => { user.mailFolders = n.getCollectionOfObjectValues(createMailFolderFromDiscriminatorValue); }, "mailNickname": n => { user.mailNickname = n.getStringValue(); }, "managedAppRegistrations": n => { user.managedAppRegistrations = n.getCollectionOfObjectValues(createManagedAppRegistrationFromDiscriminatorValue); }, "managedDevices": n => { user.managedDevices = n.getCollectionOfObjectValues(createManagedDeviceFromDiscriminatorValue); }, "manager": n => { user.manager = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "memberOf": n => { user.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "messages": n => { user.messages = n.getCollectionOfObjectValues(createMessageFromDiscriminatorValue); }, "mobilePhone": n => { user.mobilePhone = n.getStringValue(); }, "mySite": n => { user.mySite = n.getStringValue(); }, "oauth2PermissionGrants": n => { user.oauth2PermissionGrants = n.getCollectionOfObjectValues(createOAuth2PermissionGrantFromDiscriminatorValue); }, "officeLocation": n => { user.officeLocation = n.getStringValue(); }, "onenote": n => { user.onenote = n.getObjectValue(createOnenoteFromDiscriminatorValue); }, "onlineMeetings": n => { user.onlineMeetings = n.getCollectionOfObjectValues(createOnlineMeetingFromDiscriminatorValue); }, "onPremisesDistinguishedName": n => { user.onPremisesDistinguishedName = n.getStringValue(); }, "onPremisesDomainName": n => { user.onPremisesDomainName = n.getStringValue(); }, "onPremisesExtensionAttributes": n => { user.onPremisesExtensionAttributes = n.getObjectValue(createOnPremisesExtensionAttributesFromDiscriminatorValue); }, "onPremisesImmutableId": n => { user.onPremisesImmutableId = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { user.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesProvisioningErrors": n => { user.onPremisesProvisioningErrors = n.getCollectionOfObjectValues(createOnPremisesProvisioningErrorFromDiscriminatorValue); }, "onPremisesSamAccountName": n => { user.onPremisesSamAccountName = n.getStringValue(); }, "onPremisesSecurityIdentifier": n => { user.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { user.onPremisesSyncEnabled = n.getBooleanValue(); }, "onPremisesUserPrincipalName": n => { user.onPremisesUserPrincipalName = n.getStringValue(); }, "otherMails": n => { user.otherMails = n.getCollectionOfPrimitiveValues(); }, "outlook": n => { user.outlook = n.getObjectValue(createOutlookUserFromDiscriminatorValue); }, "ownedDevices": n => { user.ownedDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "ownedObjects": n => { user.ownedObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "passwordPolicies": n => { user.passwordPolicies = n.getStringValue(); }, "passwordProfile": n => { user.passwordProfile = n.getObjectValue(createPasswordProfileFromDiscriminatorValue); }, "pastProjects": n => { user.pastProjects = n.getCollectionOfPrimitiveValues(); }, "people": n => { user.people = n.getCollectionOfObjectValues(createPersonFromDiscriminatorValue); }, "permissionGrants": n => { user.permissionGrants = n.getCollectionOfObjectValues(createResourceSpecificPermissionGrantFromDiscriminatorValue); }, "photo": n => { user.photo = n.getObjectValue(createProfilePhotoFromDiscriminatorValue); }, "photos": n => { user.photos = n.getCollectionOfObjectValues(createProfilePhotoFromDiscriminatorValue); }, "planner": n => { user.planner = n.getObjectValue(createPlannerUserFromDiscriminatorValue); }, "postalCode": n => { user.postalCode = n.getStringValue(); }, "preferredDataLocation": n => { user.preferredDataLocation = n.getStringValue(); }, "preferredLanguage": n => { user.preferredLanguage = n.getStringValue(); }, "preferredName": n => { user.preferredName = n.getStringValue(); }, "presence": n => { user.presence = n.getObjectValue(createPresenceFromDiscriminatorValue); }, "print": n => { user.print = n.getObjectValue(createUserPrintFromDiscriminatorValue); }, "provisionedPlans": n => { user.provisionedPlans = n.getCollectionOfObjectValues(createProvisionedPlanFromDiscriminatorValue); }, "proxyAddresses": n => { user.proxyAddresses = n.getCollectionOfPrimitiveValues(); }, "registeredDevices": n => { user.registeredDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "responsibilities": n => { user.responsibilities = n.getCollectionOfPrimitiveValues(); }, "schools": n => { user.schools = n.getCollectionOfPrimitiveValues(); }, "scopedRoleMemberOf": n => { user.scopedRoleMemberOf = n.getCollectionOfObjectValues(createScopedRoleMembershipFromDiscriminatorValue); }, "securityIdentifier": n => { user.securityIdentifier = n.getStringValue(); }, "serviceProvisioningErrors": n => { user.serviceProvisioningErrors = n.getCollectionOfObjectValues(createServiceProvisioningErrorFromDiscriminatorValue); }, "settings": n => { user.settings = n.getObjectValue(createUserSettingsFromDiscriminatorValue); }, "showInAddressList": n => { user.showInAddressList = n.getBooleanValue(); }, "signInActivity": n => { user.signInActivity = n.getObjectValue(createSignInActivityFromDiscriminatorValue); }, "signInSessionsValidFromDateTime": n => { user.signInSessionsValidFromDateTime = n.getDateValue(); }, "skills": n => { user.skills = n.getCollectionOfPrimitiveValues(); }, "solutions": n => { user.solutions = n.getObjectValue(createUserSolutionRootFromDiscriminatorValue); }, "sponsors": n => { user.sponsors = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "state": n => { user.state = n.getStringValue(); }, "streetAddress": n => { user.streetAddress = n.getStringValue(); }, "surname": n => { user.surname = n.getStringValue(); }, "teamwork": n => { user.teamwork = n.getObjectValue(createUserTeamworkFromDiscriminatorValue); }, "todo": n => { user.todo = n.getObjectValue(createTodoFromDiscriminatorValue); }, "transitiveMemberOf": n => { user.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "usageLocation": n => { user.usageLocation = n.getStringValue(); }, "userPrincipalName": n => { user.userPrincipalName = n.getStringValue(); }, "userType": n => { user.userType = n.getStringValue(); } });
|
|
50188
50642
|
}
|
|
50643
|
+
/**
|
|
50644
|
+
* The deserialization information for the current model
|
|
50645
|
+
* @param UserActionContext The instance to deserialize into.
|
|
50646
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
50647
|
+
*/
|
|
50648
|
+
// @ts-ignore
|
|
50649
|
+
export function deserializeIntoUserActionContext(userActionContext = {}) {
|
|
50650
|
+
return Object.assign(Object.assign({}, deserializeIntoSignInContext(userActionContext)), { "userAction": n => { userActionContext.userAction = n.getEnumValue(UserActionObject); } });
|
|
50651
|
+
}
|
|
50189
50652
|
/**
|
|
50190
50653
|
* The deserialization information for the current model
|
|
50191
50654
|
* @param UserActivity The instance to deserialize into.
|
|
@@ -51049,6 +51512,15 @@ export function deserializeIntoUserSecurityState(userSecurityState = {}) {
|
|
|
51049
51512
|
export function deserializeIntoUserSettings(userSettings = {}) {
|
|
51050
51513
|
return Object.assign(Object.assign({}, deserializeIntoEntity(userSettings)), { "contributionToContentDiscoveryAsOrganizationDisabled": n => { userSettings.contributionToContentDiscoveryAsOrganizationDisabled = n.getBooleanValue(); }, "contributionToContentDiscoveryDisabled": n => { userSettings.contributionToContentDiscoveryDisabled = n.getBooleanValue(); }, "itemInsights": n => { userSettings.itemInsights = n.getObjectValue(createUserInsightsSettingsFromDiscriminatorValue); }, "shiftPreferences": n => { userSettings.shiftPreferences = n.getObjectValue(createShiftPreferencesFromDiscriminatorValue); }, "storage": n => { userSettings.storage = n.getObjectValue(createUserStorageFromDiscriminatorValue); }, "windows": n => { userSettings.windows = n.getCollectionOfObjectValues(createWindowsSettingFromDiscriminatorValue); } });
|
|
51051
51514
|
}
|
|
51515
|
+
/**
|
|
51516
|
+
* The deserialization information for the current model
|
|
51517
|
+
* @param UserSignIn The instance to deserialize into.
|
|
51518
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
51519
|
+
*/
|
|
51520
|
+
// @ts-ignore
|
|
51521
|
+
export function deserializeIntoUserSignIn(userSignIn = {}) {
|
|
51522
|
+
return Object.assign(Object.assign({}, deserializeIntoSignInIdentity(userSignIn)), { "externalTenantId": n => { userSignIn.externalTenantId = n.getStringValue(); }, "externalUserType": n => { userSignIn.externalUserType = n.getCollectionOfEnumValues(ConditionalAccessGuestOrExternalUserTypesObject); }, "userId": n => { userSignIn.userId = n.getStringValue(); } });
|
|
51523
|
+
}
|
|
51052
51524
|
/**
|
|
51053
51525
|
* The deserialization information for the current model
|
|
51054
51526
|
* @param UserSignInInsight The instance to deserialize into.
|
|
@@ -51682,6 +52154,15 @@ export function deserializeIntoWebsite(website = {}) {
|
|
|
51682
52154
|
"type": n => { website.type = n.getEnumValue(WebsiteTypeObject); },
|
|
51683
52155
|
};
|
|
51684
52156
|
}
|
|
52157
|
+
/**
|
|
52158
|
+
* The deserialization information for the current model
|
|
52159
|
+
* @param WhatIfAnalysisResult The instance to deserialize into.
|
|
52160
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
52161
|
+
*/
|
|
52162
|
+
// @ts-ignore
|
|
52163
|
+
export function deserializeIntoWhatIfAnalysisResult(whatIfAnalysisResult = {}) {
|
|
52164
|
+
return Object.assign(Object.assign({}, deserializeIntoConditionalAccessPolicy(whatIfAnalysisResult)), { "analysisReasons": n => { whatIfAnalysisResult.analysisReasons = n.getCollectionOfEnumValues(WhatIfAnalysisReasonsObject); }, "policyApplies": n => { whatIfAnalysisResult.policyApplies = n.getBooleanValue(); } });
|
|
52165
|
+
}
|
|
51685
52166
|
/**
|
|
51686
52167
|
* The deserialization information for the current model
|
|
51687
52168
|
* @param Win32LobApp The instance to deserialize into.
|
|
@@ -56431,6 +56912,20 @@ export function serializeApplicationCollectionResponse(writer, applicationCollec
|
|
|
56431
56912
|
serializeBaseCollectionPaginationCountResponse(writer, applicationCollectionResponse, isSerializingDerivedType);
|
|
56432
56913
|
writer.writeCollectionOfObjectValues("value", applicationCollectionResponse.value, serializeApplication);
|
|
56433
56914
|
}
|
|
56915
|
+
/**
|
|
56916
|
+
* Serializes information the current object
|
|
56917
|
+
* @param ApplicationContext The instance to serialize from.
|
|
56918
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
56919
|
+
* @param writer Serialization writer to use to serialize this model
|
|
56920
|
+
*/
|
|
56921
|
+
// @ts-ignore
|
|
56922
|
+
export function serializeApplicationContext(writer, applicationContext = {}, isSerializingDerivedType = false) {
|
|
56923
|
+
if (!applicationContext || isSerializingDerivedType) {
|
|
56924
|
+
return;
|
|
56925
|
+
}
|
|
56926
|
+
serializeSignInContext(writer, applicationContext, isSerializingDerivedType);
|
|
56927
|
+
writer.writeCollectionOfPrimitiveValues("includeApplications", applicationContext.includeApplications);
|
|
56928
|
+
}
|
|
56434
56929
|
/**
|
|
56435
56930
|
* Serializes information the current object
|
|
56436
56931
|
* @param ApplicationEnforcedRestrictionsSessionControl The instance to serialize from.
|
|
@@ -57758,6 +58253,20 @@ export function serializeAuditResource(writer, auditResource = {}, isSerializing
|
|
|
57758
58253
|
writer.writeStringValue("resourceId", auditResource.resourceId);
|
|
57759
58254
|
writer.writeAdditionalData(auditResource.additionalData);
|
|
57760
58255
|
}
|
|
58256
|
+
/**
|
|
58257
|
+
* Serializes information the current object
|
|
58258
|
+
* @param AuthContext The instance to serialize from.
|
|
58259
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
58260
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58261
|
+
*/
|
|
58262
|
+
// @ts-ignore
|
|
58263
|
+
export function serializeAuthContext(writer, authContext = {}, isSerializingDerivedType = false) {
|
|
58264
|
+
if (!authContext || isSerializingDerivedType) {
|
|
58265
|
+
return;
|
|
58266
|
+
}
|
|
58267
|
+
serializeSignInContext(writer, authContext, isSerializingDerivedType);
|
|
58268
|
+
writer.writeStringValue("authenticationContextValue", authContext.authenticationContextValue);
|
|
58269
|
+
}
|
|
57761
58270
|
/**
|
|
57762
58271
|
* Serializes information the current object
|
|
57763
58272
|
* @param Authentication The instance to serialize from.
|
|
@@ -58100,6 +58609,21 @@ export function serializeAuthenticationEventsFlowCollectionResponse(writer, auth
|
|
|
58100
58609
|
serializeBaseCollectionPaginationCountResponse(writer, authenticationEventsFlowCollectionResponse, isSerializingDerivedType);
|
|
58101
58610
|
writer.writeCollectionOfObjectValues("value", authenticationEventsFlowCollectionResponse.value, serializeAuthenticationEventsFlow);
|
|
58102
58611
|
}
|
|
58612
|
+
/**
|
|
58613
|
+
* Serializes information the current object
|
|
58614
|
+
* @param AuthenticationFlow The instance to serialize from.
|
|
58615
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
58616
|
+
* @param writer Serialization writer to use to serialize this model
|
|
58617
|
+
*/
|
|
58618
|
+
// @ts-ignore
|
|
58619
|
+
export function serializeAuthenticationFlow(writer, authenticationFlow = {}, isSerializingDerivedType = false) {
|
|
58620
|
+
if (!authenticationFlow || isSerializingDerivedType) {
|
|
58621
|
+
return;
|
|
58622
|
+
}
|
|
58623
|
+
writer.writeStringValue("@odata.type", authenticationFlow.odataType);
|
|
58624
|
+
writer.writeEnumValue("transferMethod", authenticationFlow.transferMethod);
|
|
58625
|
+
writer.writeAdditionalData(authenticationFlow.additionalData);
|
|
58626
|
+
}
|
|
58103
58627
|
/**
|
|
58104
58628
|
* Serializes information the current object
|
|
58105
58629
|
* @param AuthenticationFlowsPolicy The instance to serialize from.
|
|
@@ -60479,6 +61003,22 @@ export function serializeCertificationControl(writer, certificationControl = {},
|
|
|
60479
61003
|
writer.writeStringValue("url", certificationControl.url);
|
|
60480
61004
|
writer.writeAdditionalData(certificationControl.additionalData);
|
|
60481
61005
|
}
|
|
61006
|
+
/**
|
|
61007
|
+
* Serializes information the current object
|
|
61008
|
+
* @param ChallengingWord The instance to serialize from.
|
|
61009
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
61010
|
+
* @param writer Serialization writer to use to serialize this model
|
|
61011
|
+
*/
|
|
61012
|
+
// @ts-ignore
|
|
61013
|
+
export function serializeChallengingWord(writer, challengingWord = {}, isSerializingDerivedType = false) {
|
|
61014
|
+
if (!challengingWord || isSerializingDerivedType) {
|
|
61015
|
+
return;
|
|
61016
|
+
}
|
|
61017
|
+
writer.writeNumberValue("count", challengingWord.count);
|
|
61018
|
+
writer.writeStringValue("@odata.type", challengingWord.odataType);
|
|
61019
|
+
writer.writeStringValue("word", challengingWord.word);
|
|
61020
|
+
writer.writeAdditionalData(challengingWord.additionalData);
|
|
61021
|
+
}
|
|
60482
61022
|
/**
|
|
60483
61023
|
* Serializes information the current object
|
|
60484
61024
|
* @param ChangeTrackedEntity The instance to serialize from.
|
|
@@ -62645,6 +63185,11 @@ export function serializeConditionalAccessPolicy(writer, conditionalAccessPolicy
|
|
|
62645
63185
|
writer.writeObjectValue("sessionControls", conditionalAccessPolicy.sessionControls, serializeConditionalAccessSessionControls);
|
|
62646
63186
|
writer.writeEnumValue("state", conditionalAccessPolicy.state);
|
|
62647
63187
|
writer.writeStringValue("templateId", conditionalAccessPolicy.templateId);
|
|
63188
|
+
switch (conditionalAccessPolicy.odataType) {
|
|
63189
|
+
case "#microsoft.graph.whatIfAnalysisResult":
|
|
63190
|
+
serializeWhatIfAnalysisResult(writer, conditionalAccessPolicy, true);
|
|
63191
|
+
break;
|
|
63192
|
+
}
|
|
62648
63193
|
}
|
|
62649
63194
|
/**
|
|
62650
63195
|
* Serializes information the current object
|
|
@@ -63310,6 +63855,9 @@ export function serializeConversationMember(writer, conversationMember = {}, isS
|
|
|
63310
63855
|
case "#microsoft.graph.microsoftAccountUserConversationMember":
|
|
63311
63856
|
serializeMicrosoftAccountUserConversationMember(writer, conversationMember, true);
|
|
63312
63857
|
break;
|
|
63858
|
+
case "#microsoft.graph.phoneUserConversationMember":
|
|
63859
|
+
serializePhoneUserConversationMember(writer, conversationMember, true);
|
|
63860
|
+
break;
|
|
63313
63861
|
case "#microsoft.graph.skypeForBusinessUserConversationMember":
|
|
63314
63862
|
serializeSkypeForBusinessUserConversationMember(writer, conversationMember, true);
|
|
63315
63863
|
break;
|
|
@@ -66003,6 +66551,49 @@ export function serializeDeviceHealthAttestationState(writer, deviceHealthAttest
|
|
|
66003
66551
|
writer.writeStringValue("windowsPE", deviceHealthAttestationState.windowsPE);
|
|
66004
66552
|
writer.writeAdditionalData(deviceHealthAttestationState.additionalData);
|
|
66005
66553
|
}
|
|
66554
|
+
/**
|
|
66555
|
+
* Serializes information the current object
|
|
66556
|
+
* @param DeviceInfo The instance to serialize from.
|
|
66557
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
66558
|
+
* @param writer Serialization writer to use to serialize this model
|
|
66559
|
+
*/
|
|
66560
|
+
// @ts-ignore
|
|
66561
|
+
export function serializeDeviceInfo(writer, deviceInfo = {}, isSerializingDerivedType = false) {
|
|
66562
|
+
if (!deviceInfo || isSerializingDerivedType) {
|
|
66563
|
+
return;
|
|
66564
|
+
}
|
|
66565
|
+
writer.writeStringValue("deviceId", deviceInfo.deviceId);
|
|
66566
|
+
writer.writeStringValue("displayName", deviceInfo.displayName);
|
|
66567
|
+
writer.writeStringValue("enrollmentProfileName", deviceInfo.enrollmentProfileName);
|
|
66568
|
+
writer.writeStringValue("extensionAttribute1", deviceInfo.extensionAttribute1);
|
|
66569
|
+
writer.writeStringValue("extensionAttribute10", deviceInfo.extensionAttribute10);
|
|
66570
|
+
writer.writeStringValue("extensionAttribute11", deviceInfo.extensionAttribute11);
|
|
66571
|
+
writer.writeStringValue("extensionAttribute12", deviceInfo.extensionAttribute12);
|
|
66572
|
+
writer.writeStringValue("extensionAttribute13", deviceInfo.extensionAttribute13);
|
|
66573
|
+
writer.writeStringValue("extensionAttribute14", deviceInfo.extensionAttribute14);
|
|
66574
|
+
writer.writeStringValue("extensionAttribute15", deviceInfo.extensionAttribute15);
|
|
66575
|
+
writer.writeStringValue("extensionAttribute2", deviceInfo.extensionAttribute2);
|
|
66576
|
+
writer.writeStringValue("extensionAttribute3", deviceInfo.extensionAttribute3);
|
|
66577
|
+
writer.writeStringValue("extensionAttribute4", deviceInfo.extensionAttribute4);
|
|
66578
|
+
writer.writeStringValue("extensionAttribute5", deviceInfo.extensionAttribute5);
|
|
66579
|
+
writer.writeStringValue("extensionAttribute6", deviceInfo.extensionAttribute6);
|
|
66580
|
+
writer.writeStringValue("extensionAttribute7", deviceInfo.extensionAttribute7);
|
|
66581
|
+
writer.writeStringValue("extensionAttribute8", deviceInfo.extensionAttribute8);
|
|
66582
|
+
writer.writeStringValue("extensionAttribute9", deviceInfo.extensionAttribute9);
|
|
66583
|
+
writer.writeBooleanValue("isCompliant", deviceInfo.isCompliant);
|
|
66584
|
+
writer.writeStringValue("manufacturer", deviceInfo.manufacturer);
|
|
66585
|
+
writer.writeStringValue("mdmAppId", deviceInfo.mdmAppId);
|
|
66586
|
+
writer.writeStringValue("model", deviceInfo.model);
|
|
66587
|
+
writer.writeStringValue("@odata.type", deviceInfo.odataType);
|
|
66588
|
+
writer.writeStringValue("operatingSystem", deviceInfo.operatingSystem);
|
|
66589
|
+
writer.writeStringValue("operatingSystemVersion", deviceInfo.operatingSystemVersion);
|
|
66590
|
+
writer.writeStringValue("ownership", deviceInfo.ownership);
|
|
66591
|
+
writer.writeCollectionOfPrimitiveValues("physicalIds", deviceInfo.physicalIds);
|
|
66592
|
+
writer.writeStringValue("profileType", deviceInfo.profileType);
|
|
66593
|
+
writer.writeCollectionOfPrimitiveValues("systemLabels", deviceInfo.systemLabels);
|
|
66594
|
+
writer.writeStringValue("trustType", deviceInfo.trustType);
|
|
66595
|
+
writer.writeAdditionalData(deviceInfo.additionalData);
|
|
66596
|
+
}
|
|
66006
66597
|
/**
|
|
66007
66598
|
* Serializes information the current object
|
|
66008
66599
|
* @param DeviceInstallState The instance to serialize from.
|
|
@@ -68371,6 +68962,7 @@ export function serializeEducationRoot(writer, educationRoot = {}, isSerializing
|
|
|
68371
68962
|
writer.writeCollectionOfObjectValues("classes", educationRoot.classes, serializeEducationClass);
|
|
68372
68963
|
writer.writeObjectValue("me", educationRoot.me, serializeEducationUser);
|
|
68373
68964
|
writer.writeStringValue("@odata.type", educationRoot.odataType);
|
|
68965
|
+
writer.writeObjectValue("reports", educationRoot.reports, serializeReportsRoot);
|
|
68374
68966
|
writer.writeCollectionOfObjectValues("schools", educationRoot.schools, serializeEducationSchool);
|
|
68375
68967
|
writer.writeCollectionOfObjectValues("users", educationRoot.users, serializeEducationUser);
|
|
68376
68968
|
writer.writeAdditionalData(educationRoot.additionalData);
|
|
@@ -70853,6 +71445,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
|
|
|
70853
71445
|
case "#microsoft.graph.phoneAuthenticationMethod":
|
|
70854
71446
|
serializePhoneAuthenticationMethod(writer, entity, true);
|
|
70855
71447
|
break;
|
|
71448
|
+
case "#microsoft.graph.phoneUserConversationMember":
|
|
71449
|
+
serializePhoneUserConversationMember(writer, entity, true);
|
|
71450
|
+
break;
|
|
70856
71451
|
case "#microsoft.graph.pinnedChatMessageInfo":
|
|
70857
71452
|
serializePinnedChatMessageInfo(writer, entity, true);
|
|
70858
71453
|
break;
|
|
@@ -71024,6 +71619,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
|
|
|
71024
71619
|
case "#microsoft.graph.rbacApplication":
|
|
71025
71620
|
serializeRbacApplication(writer, entity, true);
|
|
71026
71621
|
break;
|
|
71622
|
+
case "#microsoft.graph.readingAssignmentSubmission":
|
|
71623
|
+
serializeReadingAssignmentSubmission(writer, entity, true);
|
|
71624
|
+
break;
|
|
71027
71625
|
case "#microsoft.graph.recordOperation":
|
|
71028
71626
|
serializeRecordOperation(writer, entity, true);
|
|
71029
71627
|
break;
|
|
@@ -71036,6 +71634,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
|
|
|
71036
71634
|
case "#microsoft.graph.referenceAttachment":
|
|
71037
71635
|
serializeReferenceAttachment(writer, entity, true);
|
|
71038
71636
|
break;
|
|
71637
|
+
case "#microsoft.graph.reflectCheckInResponse":
|
|
71638
|
+
serializeReflectCheckInResponse(writer, entity, true);
|
|
71639
|
+
break;
|
|
71039
71640
|
case "#microsoft.graph.relyingPartyDetailedSummary":
|
|
71040
71641
|
serializeRelyingPartyDetailedSummary(writer, entity, true);
|
|
71041
71642
|
break;
|
|
@@ -71045,6 +71646,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
|
|
|
71045
71646
|
case "#microsoft.graph.remoteDesktopSecurityConfiguration":
|
|
71046
71647
|
serializeRemoteDesktopSecurityConfiguration(writer, entity, true);
|
|
71047
71648
|
break;
|
|
71649
|
+
case "#microsoft.graph.reportsRoot":
|
|
71650
|
+
serializeReportsRoot(writer, entity, true);
|
|
71651
|
+
break;
|
|
71048
71652
|
case "#microsoft.graph.request":
|
|
71049
71653
|
serializeRequest(writer, entity, true);
|
|
71050
71654
|
break;
|
|
@@ -71159,15 +71763,6 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
|
|
|
71159
71763
|
case "#microsoft.graph.security.artifact":
|
|
71160
71764
|
serializeArtifact(writer, entity, true);
|
|
71161
71765
|
break;
|
|
71162
|
-
case "#microsoft.graph.security.auditCoreRoot":
|
|
71163
|
-
serializeAuditCoreRoot(writer, entity, true);
|
|
71164
|
-
break;
|
|
71165
|
-
case "#microsoft.graph.security.auditLogQuery":
|
|
71166
|
-
serializeAuditLogQuery(writer, entity, true);
|
|
71167
|
-
break;
|
|
71168
|
-
case "#microsoft.graph.security.auditLogRecord":
|
|
71169
|
-
serializeAuditLogRecord(writer, entity, true);
|
|
71170
|
-
break;
|
|
71171
71766
|
case "#microsoft.graph.security.authorityTemplate":
|
|
71172
71767
|
serializeAuthorityTemplate(writer, entity, true);
|
|
71173
71768
|
break;
|
|
@@ -71957,6 +72552,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
|
|
|
71957
72552
|
case "#microsoft.graph.webPart":
|
|
71958
72553
|
serializeWebPart(writer, entity, true);
|
|
71959
72554
|
break;
|
|
72555
|
+
case "#microsoft.graph.whatIfAnalysisResult":
|
|
72556
|
+
serializeWhatIfAnalysisResult(writer, entity, true);
|
|
72557
|
+
break;
|
|
71960
72558
|
case "#microsoft.graph.win32LobApp":
|
|
71961
72559
|
serializeWin32LobApp(writer, entity, true);
|
|
71962
72560
|
break;
|
|
@@ -73090,6 +73688,7 @@ export function serializeFileStorageContainer(writer, fileStorageContainer = {},
|
|
|
73090
73688
|
return;
|
|
73091
73689
|
}
|
|
73092
73690
|
serializeEntity(writer, fileStorageContainer, isSerializingDerivedType);
|
|
73691
|
+
writer.writeCollectionOfObjectValues("columns", fileStorageContainer.columns, serializeColumnDefinition);
|
|
73093
73692
|
writer.writeGuidValue("containerTypeId", fileStorageContainer.containerTypeId);
|
|
73094
73693
|
writer.writeDateValue("createdDateTime", fileStorageContainer.createdDateTime);
|
|
73095
73694
|
writer.writeObjectValue("customProperties", fileStorageContainer.customProperties, serializeFileStorageContainerCustomPropertyDictionary);
|
|
@@ -77250,6 +77849,7 @@ export function serializeMailboxRestoreArtifact(writer, mailboxRestoreArtifact =
|
|
|
77250
77849
|
}
|
|
77251
77850
|
serializeRestoreArtifactBase(writer, mailboxRestoreArtifact, isSerializingDerivedType);
|
|
77252
77851
|
writer.writeStringValue("restoredFolderId", mailboxRestoreArtifact.restoredFolderId);
|
|
77852
|
+
writer.writeNumberValue("restoredItemCount", mailboxRestoreArtifact.restoredItemCount);
|
|
77253
77853
|
switch (mailboxRestoreArtifact.odataType) {
|
|
77254
77854
|
case "#microsoft.graph.granularMailboxRestoreArtifact":
|
|
77255
77855
|
serializeGranularMailboxRestoreArtifact(writer, mailboxRestoreArtifact, true);
|
|
@@ -81153,6 +81753,7 @@ export function serializeOnlineMeetingBase(writer, onlineMeetingBase = {}, isSer
|
|
|
81153
81753
|
writer.writeObjectValue("audioConferencing", onlineMeetingBase.audioConferencing, serializeAudioConferencing);
|
|
81154
81754
|
writer.writeObjectValue("chatInfo", onlineMeetingBase.chatInfo, serializeChatInfo);
|
|
81155
81755
|
writer.writeObjectValue("chatRestrictions", onlineMeetingBase.chatRestrictions, serializeChatRestrictions);
|
|
81756
|
+
writer.writeBooleanValue("isEndToEndEncryptionEnabled", onlineMeetingBase.isEndToEndEncryptionEnabled);
|
|
81156
81757
|
writer.writeBooleanValue("isEntryExitAnnounced", onlineMeetingBase.isEntryExitAnnounced);
|
|
81157
81758
|
writer.writeObjectValue("joinInformation", onlineMeetingBase.joinInformation, serializeItemBody);
|
|
81158
81759
|
writer.writeObjectValue("joinMeetingIdSettings", onlineMeetingBase.joinMeetingIdSettings, serializeJoinMeetingIdSettings);
|
|
@@ -82040,6 +82641,22 @@ export function serializeOutOfBoxExperienceSetting(writer, outOfBoxExperienceSet
|
|
|
82040
82641
|
writer.writeEnumValue("userType", outOfBoxExperienceSetting.userType);
|
|
82041
82642
|
writer.writeAdditionalData(outOfBoxExperienceSetting.additionalData);
|
|
82042
82643
|
}
|
|
82644
|
+
/**
|
|
82645
|
+
* Serializes information the current object
|
|
82646
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
82647
|
+
* @param OutOfOfficeSettings The instance to serialize from.
|
|
82648
|
+
* @param writer Serialization writer to use to serialize this model
|
|
82649
|
+
*/
|
|
82650
|
+
// @ts-ignore
|
|
82651
|
+
export function serializeOutOfOfficeSettings(writer, outOfOfficeSettings = {}, isSerializingDerivedType = false) {
|
|
82652
|
+
if (!outOfOfficeSettings || isSerializingDerivedType) {
|
|
82653
|
+
return;
|
|
82654
|
+
}
|
|
82655
|
+
writer.writeBooleanValue("isOutOfOffice", outOfOfficeSettings.isOutOfOffice);
|
|
82656
|
+
writer.writeStringValue("message", outOfOfficeSettings.message);
|
|
82657
|
+
writer.writeStringValue("@odata.type", outOfOfficeSettings.odataType);
|
|
82658
|
+
writer.writeAdditionalData(outOfOfficeSettings.additionalData);
|
|
82659
|
+
}
|
|
82043
82660
|
/**
|
|
82044
82661
|
* Serializes information the current object
|
|
82045
82662
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -82724,6 +83341,20 @@ export function serializePhoneAuthenticationMethodCollectionResponse(writer, pho
|
|
|
82724
83341
|
serializeBaseCollectionPaginationCountResponse(writer, phoneAuthenticationMethodCollectionResponse, isSerializingDerivedType);
|
|
82725
83342
|
writer.writeCollectionOfObjectValues("value", phoneAuthenticationMethodCollectionResponse.value, serializePhoneAuthenticationMethod);
|
|
82726
83343
|
}
|
|
83344
|
+
/**
|
|
83345
|
+
* Serializes information the current object
|
|
83346
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
83347
|
+
* @param PhoneUserConversationMember The instance to serialize from.
|
|
83348
|
+
* @param writer Serialization writer to use to serialize this model
|
|
83349
|
+
*/
|
|
83350
|
+
// @ts-ignore
|
|
83351
|
+
export function serializePhoneUserConversationMember(writer, phoneUserConversationMember = {}, isSerializingDerivedType = false) {
|
|
83352
|
+
if (!phoneUserConversationMember || isSerializingDerivedType) {
|
|
83353
|
+
return;
|
|
83354
|
+
}
|
|
83355
|
+
serializeConversationMember(writer, phoneUserConversationMember, isSerializingDerivedType);
|
|
83356
|
+
writer.writeStringValue("phoneNumber", phoneUserConversationMember.phoneNumber);
|
|
83357
|
+
}
|
|
82727
83358
|
/**
|
|
82728
83359
|
* Serializes information the current object
|
|
82729
83360
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -83614,6 +84245,7 @@ export function serializePresence(writer, presence = {}, isSerializingDerivedTyp
|
|
|
83614
84245
|
serializeEntity(writer, presence, isSerializingDerivedType);
|
|
83615
84246
|
writer.writeStringValue("activity", presence.activity);
|
|
83616
84247
|
writer.writeStringValue("availability", presence.availability);
|
|
84248
|
+
writer.writeObjectValue("outOfOfficeSettings", presence.outOfOfficeSettings, serializeOutOfOfficeSettings);
|
|
83617
84249
|
writer.writeObjectValue("statusMessage", presence.statusMessage, serializePresenceStatusMessage);
|
|
83618
84250
|
}
|
|
83619
84251
|
/**
|
|
@@ -85632,6 +86264,54 @@ export function serializeReactionsFacet(writer, reactionsFacet = {}, isSerializi
|
|
|
85632
86264
|
writer.writeNumberValue("shareCount", reactionsFacet.shareCount);
|
|
85633
86265
|
writer.writeAdditionalData(reactionsFacet.additionalData);
|
|
85634
86266
|
}
|
|
86267
|
+
/**
|
|
86268
|
+
* Serializes information the current object
|
|
86269
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
86270
|
+
* @param ReadingAssignmentSubmission The instance to serialize from.
|
|
86271
|
+
* @param writer Serialization writer to use to serialize this model
|
|
86272
|
+
*/
|
|
86273
|
+
// @ts-ignore
|
|
86274
|
+
export function serializeReadingAssignmentSubmission(writer, readingAssignmentSubmission = {}, isSerializingDerivedType = false) {
|
|
86275
|
+
if (!readingAssignmentSubmission || isSerializingDerivedType) {
|
|
86276
|
+
return;
|
|
86277
|
+
}
|
|
86278
|
+
serializeEntity(writer, readingAssignmentSubmission, isSerializingDerivedType);
|
|
86279
|
+
writer.writeNumberValue("accuracyScore", readingAssignmentSubmission.accuracyScore);
|
|
86280
|
+
writer.writeStringValue("action", readingAssignmentSubmission.action);
|
|
86281
|
+
writer.writeStringValue("assignmentId", readingAssignmentSubmission.assignmentId);
|
|
86282
|
+
writer.writeCollectionOfObjectValues("challengingWords", readingAssignmentSubmission.challengingWords, serializeChallengingWord);
|
|
86283
|
+
writer.writeStringValue("classId", readingAssignmentSubmission.classId);
|
|
86284
|
+
writer.writeNumberValue("insertions", readingAssignmentSubmission.insertions);
|
|
86285
|
+
writer.writeNumberValue("mispronunciations", readingAssignmentSubmission.mispronunciations);
|
|
86286
|
+
writer.writeNumberValue("missedExclamationMarks", readingAssignmentSubmission.missedExclamationMarks);
|
|
86287
|
+
writer.writeNumberValue("missedPeriods", readingAssignmentSubmission.missedPeriods);
|
|
86288
|
+
writer.writeNumberValue("missedQuestionMarks", readingAssignmentSubmission.missedQuestionMarks);
|
|
86289
|
+
writer.writeNumberValue("missedShorts", readingAssignmentSubmission.missedShorts);
|
|
86290
|
+
writer.writeNumberValue("monotoneScore", readingAssignmentSubmission.monotoneScore);
|
|
86291
|
+
writer.writeNumberValue("omissions", readingAssignmentSubmission.omissions);
|
|
86292
|
+
writer.writeNumberValue("repetitions", readingAssignmentSubmission.repetitions);
|
|
86293
|
+
writer.writeNumberValue("selfCorrections", readingAssignmentSubmission.selfCorrections);
|
|
86294
|
+
writer.writeStringValue("studentId", readingAssignmentSubmission.studentId);
|
|
86295
|
+
writer.writeDateValue("submissionDateTime", readingAssignmentSubmission.submissionDateTime);
|
|
86296
|
+
writer.writeStringValue("submissionId", readingAssignmentSubmission.submissionId);
|
|
86297
|
+
writer.writeNumberValue("unexpectedPauses", readingAssignmentSubmission.unexpectedPauses);
|
|
86298
|
+
writer.writeNumberValue("wordCount", readingAssignmentSubmission.wordCount);
|
|
86299
|
+
writer.writeNumberValue("wordsPerMinute", readingAssignmentSubmission.wordsPerMinute);
|
|
86300
|
+
}
|
|
86301
|
+
/**
|
|
86302
|
+
* Serializes information the current object
|
|
86303
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
86304
|
+
* @param ReadingAssignmentSubmissionCollectionResponse The instance to serialize from.
|
|
86305
|
+
* @param writer Serialization writer to use to serialize this model
|
|
86306
|
+
*/
|
|
86307
|
+
// @ts-ignore
|
|
86308
|
+
export function serializeReadingAssignmentSubmissionCollectionResponse(writer, readingAssignmentSubmissionCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
86309
|
+
if (!readingAssignmentSubmissionCollectionResponse || isSerializingDerivedType) {
|
|
86310
|
+
return;
|
|
86311
|
+
}
|
|
86312
|
+
serializeBaseCollectionPaginationCountResponse(writer, readingAssignmentSubmissionCollectionResponse, isSerializingDerivedType);
|
|
86313
|
+
writer.writeCollectionOfObjectValues("value", readingAssignmentSubmissionCollectionResponse.value, serializeReadingAssignmentSubmission);
|
|
86314
|
+
}
|
|
85635
86315
|
/**
|
|
85636
86316
|
* Serializes information the current object
|
|
85637
86317
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -85912,6 +86592,43 @@ export function serializeReferenceUpdate(writer, referenceUpdate = {}, isSeriali
|
|
|
85912
86592
|
writer.writeStringValue("@odata.type", referenceUpdate.odataType);
|
|
85913
86593
|
writer.writeAdditionalData(referenceUpdate.additionalData);
|
|
85914
86594
|
}
|
|
86595
|
+
/**
|
|
86596
|
+
* Serializes information the current object
|
|
86597
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
86598
|
+
* @param ReflectCheckInResponse The instance to serialize from.
|
|
86599
|
+
* @param writer Serialization writer to use to serialize this model
|
|
86600
|
+
*/
|
|
86601
|
+
// @ts-ignore
|
|
86602
|
+
export function serializeReflectCheckInResponse(writer, reflectCheckInResponse = {}, isSerializingDerivedType = false) {
|
|
86603
|
+
if (!reflectCheckInResponse || isSerializingDerivedType) {
|
|
86604
|
+
return;
|
|
86605
|
+
}
|
|
86606
|
+
serializeEntity(writer, reflectCheckInResponse, isSerializingDerivedType);
|
|
86607
|
+
writer.writeStringValue("checkInId", reflectCheckInResponse.checkInId);
|
|
86608
|
+
writer.writeStringValue("checkInTitle", reflectCheckInResponse.checkInTitle);
|
|
86609
|
+
writer.writeStringValue("classId", reflectCheckInResponse.classId);
|
|
86610
|
+
writer.writeDateValue("createdDateTime", reflectCheckInResponse.createdDateTime);
|
|
86611
|
+
writer.writeStringValue("creatorId", reflectCheckInResponse.creatorId);
|
|
86612
|
+
writer.writeBooleanValue("isClosed", reflectCheckInResponse.isClosed);
|
|
86613
|
+
writer.writeStringValue("responderId", reflectCheckInResponse.responderId);
|
|
86614
|
+
writer.writeEnumValue("responseEmotion", reflectCheckInResponse.responseEmotion);
|
|
86615
|
+
writer.writeEnumValue("responseFeedback", reflectCheckInResponse.responseFeedback);
|
|
86616
|
+
writer.writeDateValue("submitDateTime", reflectCheckInResponse.submitDateTime);
|
|
86617
|
+
}
|
|
86618
|
+
/**
|
|
86619
|
+
* Serializes information the current object
|
|
86620
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
86621
|
+
* @param ReflectCheckInResponseCollectionResponse The instance to serialize from.
|
|
86622
|
+
* @param writer Serialization writer to use to serialize this model
|
|
86623
|
+
*/
|
|
86624
|
+
// @ts-ignore
|
|
86625
|
+
export function serializeReflectCheckInResponseCollectionResponse(writer, reflectCheckInResponseCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
86626
|
+
if (!reflectCheckInResponseCollectionResponse || isSerializingDerivedType) {
|
|
86627
|
+
return;
|
|
86628
|
+
}
|
|
86629
|
+
serializeBaseCollectionPaginationCountResponse(writer, reflectCheckInResponseCollectionResponse, isSerializingDerivedType);
|
|
86630
|
+
writer.writeCollectionOfObjectValues("value", reflectCheckInResponseCollectionResponse.value, serializeReflectCheckInResponse);
|
|
86631
|
+
}
|
|
85915
86632
|
/**
|
|
85916
86633
|
* Serializes information the current object
|
|
85917
86634
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -86173,6 +86890,21 @@ export function serializeReportRoot(writer, reportRoot = {}, isSerializingDerive
|
|
|
86173
86890
|
writer.writeObjectValue("security", reportRoot.security, serializeSecurityReportsRoot);
|
|
86174
86891
|
writer.writeAdditionalData(reportRoot.additionalData);
|
|
86175
86892
|
}
|
|
86893
|
+
/**
|
|
86894
|
+
* Serializes information the current object
|
|
86895
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
86896
|
+
* @param ReportsRoot The instance to serialize from.
|
|
86897
|
+
* @param writer Serialization writer to use to serialize this model
|
|
86898
|
+
*/
|
|
86899
|
+
// @ts-ignore
|
|
86900
|
+
export function serializeReportsRoot(writer, reportsRoot = {}, isSerializingDerivedType = false) {
|
|
86901
|
+
if (!reportsRoot || isSerializingDerivedType) {
|
|
86902
|
+
return;
|
|
86903
|
+
}
|
|
86904
|
+
serializeEntity(writer, reportsRoot, isSerializingDerivedType);
|
|
86905
|
+
writer.writeCollectionOfObjectValues("readingAssignmentSubmissions", reportsRoot.readingAssignmentSubmissions, serializeReadingAssignmentSubmission);
|
|
86906
|
+
writer.writeCollectionOfObjectValues("reflectCheckInResponses", reportsRoot.reflectCheckInResponses, serializeReflectCheckInResponse);
|
|
86907
|
+
}
|
|
86176
86908
|
/**
|
|
86177
86909
|
* Serializes information the current object
|
|
86178
86910
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -86606,6 +87338,24 @@ export function serializeRestorePointSearchResult(writer, restorePointSearchResu
|
|
|
86606
87338
|
writer.writeObjectValue("restorePoint", restorePointSearchResult.restorePoint, serializeRestorePoint);
|
|
86607
87339
|
writer.writeAdditionalData(restorePointSearchResult.additionalData);
|
|
86608
87340
|
}
|
|
87341
|
+
/**
|
|
87342
|
+
* Serializes information the current object
|
|
87343
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
87344
|
+
* @param RestoreSessionArtifactCount The instance to serialize from.
|
|
87345
|
+
* @param writer Serialization writer to use to serialize this model
|
|
87346
|
+
*/
|
|
87347
|
+
// @ts-ignore
|
|
87348
|
+
export function serializeRestoreSessionArtifactCount(writer, restoreSessionArtifactCount = {}, isSerializingDerivedType = false) {
|
|
87349
|
+
if (!restoreSessionArtifactCount || isSerializingDerivedType) {
|
|
87350
|
+
return;
|
|
87351
|
+
}
|
|
87352
|
+
writer.writeNumberValue("completed", restoreSessionArtifactCount.completed);
|
|
87353
|
+
writer.writeNumberValue("failed", restoreSessionArtifactCount.failed);
|
|
87354
|
+
writer.writeNumberValue("inProgress", restoreSessionArtifactCount.inProgress);
|
|
87355
|
+
writer.writeStringValue("@odata.type", restoreSessionArtifactCount.odataType);
|
|
87356
|
+
writer.writeNumberValue("total", restoreSessionArtifactCount.total);
|
|
87357
|
+
writer.writeAdditionalData(restoreSessionArtifactCount.additionalData);
|
|
87358
|
+
}
|
|
86609
87359
|
/**
|
|
86610
87360
|
* Serializes information the current object
|
|
86611
87361
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -86624,6 +87374,8 @@ export function serializeRestoreSessionBase(writer, restoreSessionBase = {}, isS
|
|
|
86624
87374
|
writer.writeObjectValue("error", restoreSessionBase.errorEscaped, serializePublicError);
|
|
86625
87375
|
writer.writeObjectValue("lastModifiedBy", restoreSessionBase.lastModifiedBy, serializeIdentitySet);
|
|
86626
87376
|
writer.writeDateValue("lastModifiedDateTime", restoreSessionBase.lastModifiedDateTime);
|
|
87377
|
+
writer.writeEnumValue("restoreJobType", restoreSessionBase.restoreJobType);
|
|
87378
|
+
writer.writeObjectValue("restoreSessionArtifactCount", restoreSessionBase.restoreSessionArtifactCount, serializeRestoreSessionArtifactCount);
|
|
86627
87379
|
writer.writeEnumValue("status", restoreSessionBase.status);
|
|
86628
87380
|
switch (restoreSessionBase.odataType) {
|
|
86629
87381
|
case "#microsoft.graph.exchangeRestoreSession":
|
|
@@ -88020,7 +88772,6 @@ export function serializeSecurity(writer, security = {}, isSerializingDerivedTyp
|
|
|
88020
88772
|
writer.writeCollectionOfObjectValues("alerts", security.alerts, serializeAlert);
|
|
88021
88773
|
writer.writeCollectionOfObjectValues("alerts_v2", security.alertsV2, serializeAlert);
|
|
88022
88774
|
writer.writeObjectValue("attackSimulation", security.attackSimulation, serializeAttackSimulationRoot);
|
|
88023
|
-
writer.writeObjectValue("auditLog", security.auditLog, serializeAuditCoreRoot);
|
|
88024
88775
|
writer.writeObjectValue("cases", security.cases, serializeCasesRoot);
|
|
88025
88776
|
writer.writeObjectValue("dataSecurityAndGovernance", security.dataSecurityAndGovernance, serializeTenantDataSecurityAndGovernance);
|
|
88026
88777
|
writer.writeObjectValue("identities", security.identities, I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1);
|
|
@@ -88588,6 +89339,20 @@ export function serializeServicePrincipalRiskDetectionCollectionResponse(writer,
|
|
|
88588
89339
|
serializeBaseCollectionPaginationCountResponse(writer, servicePrincipalRiskDetectionCollectionResponse, isSerializingDerivedType);
|
|
88589
89340
|
writer.writeCollectionOfObjectValues("value", servicePrincipalRiskDetectionCollectionResponse.value, serializeServicePrincipalRiskDetection);
|
|
88590
89341
|
}
|
|
89342
|
+
/**
|
|
89343
|
+
* Serializes information the current object
|
|
89344
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
89345
|
+
* @param ServicePrincipalSignIn The instance to serialize from.
|
|
89346
|
+
* @param writer Serialization writer to use to serialize this model
|
|
89347
|
+
*/
|
|
89348
|
+
// @ts-ignore
|
|
89349
|
+
export function serializeServicePrincipalSignIn(writer, servicePrincipalSignIn = {}, isSerializingDerivedType = false) {
|
|
89350
|
+
if (!servicePrincipalSignIn || isSerializingDerivedType) {
|
|
89351
|
+
return;
|
|
89352
|
+
}
|
|
89353
|
+
serializeSignInIdentity(writer, servicePrincipalSignIn, isSerializingDerivedType);
|
|
89354
|
+
writer.writeStringValue("servicePrincipalId", servicePrincipalSignIn.servicePrincipalId);
|
|
89355
|
+
}
|
|
88591
89356
|
/**
|
|
88592
89357
|
* Serializes information the current object
|
|
88593
89358
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -89396,6 +90161,55 @@ export function serializeSignInCollectionResponse(writer, signInCollectionRespon
|
|
|
89396
90161
|
serializeBaseCollectionPaginationCountResponse(writer, signInCollectionResponse, isSerializingDerivedType);
|
|
89397
90162
|
writer.writeCollectionOfObjectValues("value", signInCollectionResponse.value, serializeSignIn);
|
|
89398
90163
|
}
|
|
90164
|
+
/**
|
|
90165
|
+
* Serializes information the current object
|
|
90166
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
90167
|
+
* @param SignInConditions The instance to serialize from.
|
|
90168
|
+
* @param writer Serialization writer to use to serialize this model
|
|
90169
|
+
*/
|
|
90170
|
+
// @ts-ignore
|
|
90171
|
+
export function serializeSignInConditions(writer, signInConditions = {}, isSerializingDerivedType = false) {
|
|
90172
|
+
if (!signInConditions || isSerializingDerivedType) {
|
|
90173
|
+
return;
|
|
90174
|
+
}
|
|
90175
|
+
writer.writeObjectValue("authenticationFlow", signInConditions.authenticationFlow, serializeAuthenticationFlow);
|
|
90176
|
+
writer.writeEnumValue("clientAppType", signInConditions.clientAppType);
|
|
90177
|
+
writer.writeStringValue("country", signInConditions.country);
|
|
90178
|
+
writer.writeObjectValue("deviceInfo", signInConditions.deviceInfo, serializeDeviceInfo);
|
|
90179
|
+
writer.writeEnumValue("devicePlatform", signInConditions.devicePlatform);
|
|
90180
|
+
writer.writeEnumValue("insiderRiskLevel", signInConditions.insiderRiskLevel);
|
|
90181
|
+
writer.writeStringValue("ipAddress", signInConditions.ipAddress);
|
|
90182
|
+
writer.writeStringValue("@odata.type", signInConditions.odataType);
|
|
90183
|
+
writer.writeEnumValue("servicePrincipalRiskLevel", signInConditions.servicePrincipalRiskLevel);
|
|
90184
|
+
writer.writeEnumValue("signInRiskLevel", signInConditions.signInRiskLevel);
|
|
90185
|
+
writer.writeEnumValue("userRiskLevel", signInConditions.userRiskLevel);
|
|
90186
|
+
writer.writeAdditionalData(signInConditions.additionalData);
|
|
90187
|
+
}
|
|
90188
|
+
/**
|
|
90189
|
+
* Serializes information the current object
|
|
90190
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
90191
|
+
* @param SignInContext The instance to serialize from.
|
|
90192
|
+
* @param writer Serialization writer to use to serialize this model
|
|
90193
|
+
*/
|
|
90194
|
+
// @ts-ignore
|
|
90195
|
+
export function serializeSignInContext(writer, signInContext = {}, isSerializingDerivedType = false) {
|
|
90196
|
+
if (!signInContext || isSerializingDerivedType) {
|
|
90197
|
+
return;
|
|
90198
|
+
}
|
|
90199
|
+
writer.writeStringValue("@odata.type", signInContext.odataType);
|
|
90200
|
+
writer.writeAdditionalData(signInContext.additionalData);
|
|
90201
|
+
switch (signInContext.odataType) {
|
|
90202
|
+
case "#microsoft.graph.applicationContext":
|
|
90203
|
+
serializeApplicationContext(writer, signInContext, true);
|
|
90204
|
+
break;
|
|
90205
|
+
case "#microsoft.graph.authContext":
|
|
90206
|
+
serializeAuthContext(writer, signInContext, true);
|
|
90207
|
+
break;
|
|
90208
|
+
case "#microsoft.graph.userActionContext":
|
|
90209
|
+
serializeUserActionContext(writer, signInContext, true);
|
|
90210
|
+
break;
|
|
90211
|
+
}
|
|
90212
|
+
}
|
|
89399
90213
|
/**
|
|
89400
90214
|
* Serializes information the current object
|
|
89401
90215
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -89429,6 +90243,28 @@ export function serializeSigningCertificateUpdateStatus(writer, signingCertifica
|
|
|
89429
90243
|
writer.writeStringValue("@odata.type", signingCertificateUpdateStatus.odataType);
|
|
89430
90244
|
writer.writeAdditionalData(signingCertificateUpdateStatus.additionalData);
|
|
89431
90245
|
}
|
|
90246
|
+
/**
|
|
90247
|
+
* Serializes information the current object
|
|
90248
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
90249
|
+
* @param SignInIdentity The instance to serialize from.
|
|
90250
|
+
* @param writer Serialization writer to use to serialize this model
|
|
90251
|
+
*/
|
|
90252
|
+
// @ts-ignore
|
|
90253
|
+
export function serializeSignInIdentity(writer, signInIdentity = {}, isSerializingDerivedType = false) {
|
|
90254
|
+
if (!signInIdentity || isSerializingDerivedType) {
|
|
90255
|
+
return;
|
|
90256
|
+
}
|
|
90257
|
+
writer.writeStringValue("@odata.type", signInIdentity.odataType);
|
|
90258
|
+
writer.writeAdditionalData(signInIdentity.additionalData);
|
|
90259
|
+
switch (signInIdentity.odataType) {
|
|
90260
|
+
case "#microsoft.graph.servicePrincipalSignIn":
|
|
90261
|
+
serializeServicePrincipalSignIn(writer, signInIdentity, true);
|
|
90262
|
+
break;
|
|
90263
|
+
case "#microsoft.graph.userSignIn":
|
|
90264
|
+
serializeUserSignIn(writer, signInIdentity, true);
|
|
90265
|
+
break;
|
|
90266
|
+
}
|
|
90267
|
+
}
|
|
89432
90268
|
/**
|
|
89433
90269
|
* Serializes information the current object
|
|
89434
90270
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -94617,6 +95453,20 @@ export function serializeUser(writer, user = {}, isSerializingDerivedType = fals
|
|
|
94617
95453
|
writer.writeStringValue("userPrincipalName", user.userPrincipalName);
|
|
94618
95454
|
writer.writeStringValue("userType", user.userType);
|
|
94619
95455
|
}
|
|
95456
|
+
/**
|
|
95457
|
+
* Serializes information the current object
|
|
95458
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
95459
|
+
* @param UserActionContext The instance to serialize from.
|
|
95460
|
+
* @param writer Serialization writer to use to serialize this model
|
|
95461
|
+
*/
|
|
95462
|
+
// @ts-ignore
|
|
95463
|
+
export function serializeUserActionContext(writer, userActionContext = {}, isSerializingDerivedType = false) {
|
|
95464
|
+
if (!userActionContext || isSerializingDerivedType) {
|
|
95465
|
+
return;
|
|
95466
|
+
}
|
|
95467
|
+
serializeSignInContext(writer, userActionContext, isSerializingDerivedType);
|
|
95468
|
+
writer.writeEnumValue("userAction", userActionContext.userAction);
|
|
95469
|
+
}
|
|
94620
95470
|
/**
|
|
94621
95471
|
* Serializes information the current object
|
|
94622
95472
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -96078,6 +96928,22 @@ export function serializeUserSettings(writer, userSettings = {}, isSerializingDe
|
|
|
96078
96928
|
writer.writeObjectValue("storage", userSettings.storage, serializeUserStorage);
|
|
96079
96929
|
writer.writeCollectionOfObjectValues("windows", userSettings.windows, serializeWindowsSetting);
|
|
96080
96930
|
}
|
|
96931
|
+
/**
|
|
96932
|
+
* Serializes information the current object
|
|
96933
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
96934
|
+
* @param UserSignIn The instance to serialize from.
|
|
96935
|
+
* @param writer Serialization writer to use to serialize this model
|
|
96936
|
+
*/
|
|
96937
|
+
// @ts-ignore
|
|
96938
|
+
export function serializeUserSignIn(writer, userSignIn = {}, isSerializingDerivedType = false) {
|
|
96939
|
+
if (!userSignIn || isSerializingDerivedType) {
|
|
96940
|
+
return;
|
|
96941
|
+
}
|
|
96942
|
+
serializeSignInIdentity(writer, userSignIn, isSerializingDerivedType);
|
|
96943
|
+
writer.writeStringValue("externalTenantId", userSignIn.externalTenantId);
|
|
96944
|
+
writer.writeEnumValue("externalUserType", userSignIn.externalUserType);
|
|
96945
|
+
writer.writeStringValue("userId", userSignIn.userId);
|
|
96946
|
+
}
|
|
96081
96947
|
/**
|
|
96082
96948
|
* Serializes information the current object
|
|
96083
96949
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -97000,6 +97866,21 @@ export function serializeWebsite(writer, website = {}, isSerializingDerivedType
|
|
|
97000
97866
|
writer.writeEnumValue("type", website.type);
|
|
97001
97867
|
writer.writeAdditionalData(website.additionalData);
|
|
97002
97868
|
}
|
|
97869
|
+
/**
|
|
97870
|
+
* Serializes information the current object
|
|
97871
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
97872
|
+
* @param WhatIfAnalysisResult The instance to serialize from.
|
|
97873
|
+
* @param writer Serialization writer to use to serialize this model
|
|
97874
|
+
*/
|
|
97875
|
+
// @ts-ignore
|
|
97876
|
+
export function serializeWhatIfAnalysisResult(writer, whatIfAnalysisResult = {}, isSerializingDerivedType = false) {
|
|
97877
|
+
if (!whatIfAnalysisResult || isSerializingDerivedType) {
|
|
97878
|
+
return;
|
|
97879
|
+
}
|
|
97880
|
+
serializeConditionalAccessPolicy(writer, whatIfAnalysisResult, isSerializingDerivedType);
|
|
97881
|
+
writer.writeEnumValue("analysisReasons", whatIfAnalysisResult.analysisReasons);
|
|
97882
|
+
writer.writeBooleanValue("policyApplies", whatIfAnalysisResult.policyApplies);
|
|
97883
|
+
}
|
|
97003
97884
|
/**
|
|
97004
97885
|
* Serializes information the current object
|
|
97005
97886
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -102519,6 +103400,13 @@ export const InitiatorTypeObject = {
|
|
|
102519
103400
|
System: "system",
|
|
102520
103401
|
UnknownFutureValue: "unknownFutureValue",
|
|
102521
103402
|
};
|
|
103403
|
+
export const InsiderRiskLevelObject = {
|
|
103404
|
+
None: "none",
|
|
103405
|
+
Minor: "minor",
|
|
103406
|
+
Moderate: "moderate",
|
|
103407
|
+
Elevated: "elevated",
|
|
103408
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
103409
|
+
};
|
|
102522
103410
|
/**
|
|
102523
103411
|
* Possible values for the install intent chosen by the admin.
|
|
102524
103412
|
*/
|
|
@@ -105013,6 +105901,76 @@ export const RequiredPasswordTypeObject = {
|
|
|
105013
105901
|
/** Numeric password required. */
|
|
105014
105902
|
Numeric: "numeric",
|
|
105015
105903
|
};
|
|
105904
|
+
export const ResponseEmotionTypeObject = {
|
|
105905
|
+
None: "none",
|
|
105906
|
+
Confident: "confident",
|
|
105907
|
+
Excited: "excited",
|
|
105908
|
+
Happy: "happy",
|
|
105909
|
+
Motivated: "motivated",
|
|
105910
|
+
Peaceful: "peaceful",
|
|
105911
|
+
Ambitious: "ambitious",
|
|
105912
|
+
Cheerful: "cheerful",
|
|
105913
|
+
Comfortable: "comfortable",
|
|
105914
|
+
Creative: "creative",
|
|
105915
|
+
Determined: "determined",
|
|
105916
|
+
Energized: "energized",
|
|
105917
|
+
Focused: "focused",
|
|
105918
|
+
Fulfilled: "fulfilled",
|
|
105919
|
+
Grateful: "grateful",
|
|
105920
|
+
Included: "included",
|
|
105921
|
+
Inspired: "inspired",
|
|
105922
|
+
Optimistic: "optimistic",
|
|
105923
|
+
Proud: "proud",
|
|
105924
|
+
Successful: "successful",
|
|
105925
|
+
Valuable: "valuable",
|
|
105926
|
+
Annoyed: "annoyed",
|
|
105927
|
+
Bored: "bored",
|
|
105928
|
+
Calm: "calm",
|
|
105929
|
+
Confused: "confused",
|
|
105930
|
+
Glad: "glad",
|
|
105931
|
+
Content: "content",
|
|
105932
|
+
Pensive: "pensive",
|
|
105933
|
+
Reserved: "reserved",
|
|
105934
|
+
Restless: "restless",
|
|
105935
|
+
Shocked: "shocked",
|
|
105936
|
+
Tired: "tired",
|
|
105937
|
+
Angry: "angry",
|
|
105938
|
+
Depressed: "depressed",
|
|
105939
|
+
Exhausted: "exhausted",
|
|
105940
|
+
Lonely: "lonely",
|
|
105941
|
+
Nervous: "nervous",
|
|
105942
|
+
Anxious: "anxious",
|
|
105943
|
+
Apathetic: "apathetic",
|
|
105944
|
+
Concerned: "concerned",
|
|
105945
|
+
Disappointed: "disappointed",
|
|
105946
|
+
Frightened: "frightened",
|
|
105947
|
+
Frustrated: "frustrated",
|
|
105948
|
+
Hopeless: "hopeless",
|
|
105949
|
+
Hurt: "hurt",
|
|
105950
|
+
Jealous: "jealous",
|
|
105951
|
+
Miserable: "miserable",
|
|
105952
|
+
Overwhelmed: "overwhelmed",
|
|
105953
|
+
Skeptical: "skeptical",
|
|
105954
|
+
Stressed: "stressed",
|
|
105955
|
+
Stuck: "stuck",
|
|
105956
|
+
Worthless: "worthless",
|
|
105957
|
+
Awed: "awed",
|
|
105958
|
+
Ashamed: "ashamed",
|
|
105959
|
+
Curious: "curious",
|
|
105960
|
+
Sensitive: "sensitive",
|
|
105961
|
+
Sad: "sad",
|
|
105962
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
105963
|
+
};
|
|
105964
|
+
export const ResponseFeedbackTypeObject = {
|
|
105965
|
+
None: "none",
|
|
105966
|
+
NotDetected: "notDetected",
|
|
105967
|
+
VeryUnpleasant: "veryUnpleasant",
|
|
105968
|
+
Unpleasant: "unpleasant",
|
|
105969
|
+
Neutral: "neutral",
|
|
105970
|
+
Pleasant: "pleasant",
|
|
105971
|
+
VeryPleasant: "veryPleasant",
|
|
105972
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
105973
|
+
};
|
|
105016
105974
|
export const ResponseTypeObject = {
|
|
105017
105975
|
None: "none",
|
|
105018
105976
|
Organizer: "organizer",
|
|
@@ -105032,6 +105990,11 @@ export const RestoreArtifactsBulkRequestStatusObject = {
|
|
|
105032
105990
|
CompletedWithErrors: "completedWithErrors",
|
|
105033
105991
|
UnknownFutureValue: "unknownFutureValue",
|
|
105034
105992
|
};
|
|
105993
|
+
export const RestoreJobTypeObject = {
|
|
105994
|
+
Standard: "standard",
|
|
105995
|
+
Bulk: "bulk",
|
|
105996
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
105997
|
+
};
|
|
105035
105998
|
export const RestorePointPreferenceObject = {
|
|
105036
105999
|
Latest: "latest",
|
|
105037
106000
|
Oldest: "oldest",
|
|
@@ -105938,6 +106901,11 @@ export const UserAccountSecurityTypeObject = {
|
|
|
105938
106901
|
Administrator: "administrator",
|
|
105939
106902
|
UnknownFutureValue: "unknownFutureValue",
|
|
105940
106903
|
};
|
|
106904
|
+
export const UserActionObject = {
|
|
106905
|
+
RegisterSecurityInformation: "registerSecurityInformation",
|
|
106906
|
+
RegisterOrJoinDevices: "registerOrJoinDevices",
|
|
106907
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
106908
|
+
};
|
|
105941
106909
|
export const UserActivityTypeObject = {
|
|
105942
106910
|
UploadText: "uploadText",
|
|
105943
106911
|
UploadFile: "uploadFile",
|
|
@@ -106209,6 +107177,29 @@ export const WellknownListNameObject = {
|
|
|
106209
107177
|
FlaggedEmails: "flaggedEmails",
|
|
106210
107178
|
UnknownFutureValue: "unknownFutureValue",
|
|
106211
107179
|
};
|
|
107180
|
+
export const WhatIfAnalysisReasonsObject = {
|
|
107181
|
+
NotSet: "notSet",
|
|
107182
|
+
NotEnoughInformation: "notEnoughInformation",
|
|
107183
|
+
InvalidCondition: "invalidCondition",
|
|
107184
|
+
Users: "users",
|
|
107185
|
+
WorkloadIdentities: "workloadIdentities",
|
|
107186
|
+
Application: "application",
|
|
107187
|
+
UserActions: "userActions",
|
|
107188
|
+
AuthenticationContext: "authenticationContext",
|
|
107189
|
+
DevicePlatform: "devicePlatform",
|
|
107190
|
+
Devices: "devices",
|
|
107191
|
+
ClientApps: "clientApps",
|
|
107192
|
+
Location: "location",
|
|
107193
|
+
SignInRisk: "signInRisk",
|
|
107194
|
+
EmptyPolicy: "emptyPolicy",
|
|
107195
|
+
InvalidPolicy: "invalidPolicy",
|
|
107196
|
+
PolicyNotEnabled: "policyNotEnabled",
|
|
107197
|
+
UserRisk: "userRisk",
|
|
107198
|
+
Time: "time",
|
|
107199
|
+
InsiderRisk: "insiderRisk",
|
|
107200
|
+
AuthenticationFlow: "authenticationFlow",
|
|
107201
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
107202
|
+
};
|
|
106212
107203
|
/**
|
|
106213
107204
|
* Contains value for delivery optimization priority.
|
|
106214
107205
|
*/
|