From 0d1a28b44e4c1394c80366650e416f2de8c4dc98 Mon Sep 17 00:00:00 2001 From: Alex <38583982+alexwilcox9@users.noreply.github.com> Date: Tue, 7 Sep 2021 17:27:55 +0100 Subject: [PATCH] User.PasswordPolicies should be a *StringNullWhenEmpty (#96) Co-authored-by: Alex Wilcox --- msgraph/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgraph/models.go b/msgraph/models.go index db85f54d..fed22147 100644 --- a/msgraph/models.go +++ b/msgraph/models.go @@ -1123,7 +1123,7 @@ type User struct { OnPremisesSyncEnabled *bool `json:"onPremisesSyncEnabled,omitempty"` OnPremisesUserPrincipalName *string `json:"onPremisesUserPrincipalName,omitempty"` OtherMails *[]string `json:"otherMails,omitempty"` - PasswordPolicies *string `json:"passwordPolicies,omitempty"` + PasswordPolicies *StringNullWhenEmpty `json:"passwordPolicies,omitempty"` PasswordProfile *UserPasswordProfile `json:"passwordProfile,omitempty"` PastProjects *[]string `json:"pastProjects,omitempty"` PostalCode *StringNullWhenEmpty `json:"postalCode,omitempty"`