From 94c85a5eb39698b8279ff99deb152c4f64ffb2f7 Mon Sep 17 00:00:00 2001 From: Tom Bamford Date: Thu, 16 May 2024 19:34:47 +0100 Subject: [PATCH] ConditionalAccessSessionControls: remove omitempty on all child blocks --- msgraph/models.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/msgraph/models.go b/msgraph/models.go index 630f4b1e..66d89bf9 100644 --- a/msgraph/models.go +++ b/msgraph/models.go @@ -703,11 +703,11 @@ type ConditionalAccessPolicy struct { } type ConditionalAccessSessionControls struct { - ApplicationEnforcedRestrictions *ApplicationEnforcedRestrictionsSessionControl `json:"applicationEnforcedRestrictions,omitempty"` - CloudAppSecurity *CloudAppSecurityControl `json:"cloudAppSecurity,omitempty"` + ApplicationEnforcedRestrictions *ApplicationEnforcedRestrictionsSessionControl `json:"applicationEnforcedRestrictions"` + CloudAppSecurity *CloudAppSecurityControl `json:"cloudAppSecurity"` DisableResilienceDefaults *bool `json:"disableResilienceDefaults,omitempty"` - PersistentBrowser *PersistentBrowserSessionControl `json:"persistentBrowser,omitempty"` - SignInFrequency *SignInFrequencySessionControl `json:"signInFrequency,omitempty"` + PersistentBrowser *PersistentBrowserSessionControl `json:"persistentBrowser"` + SignInFrequency *SignInFrequencySessionControl `json:"signInFrequency"` } type ConditionalAccessUsers struct {