From 72550b4c9614c1d5545aff4c8547f0e6a0ec6040 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 21 Aug 2026 00:40:39 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 234518 --- kiota-lock.json | 2 +- models/principal_resource_memberships_scope.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kiota-lock.json b/kiota-lock.json index 3fb469183d2..634b03d52e5 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "1670D24DA492A8638DCFD4D6A3F4DB6C1C5080E81D9CFFAC2C8DC3E4CD988231631FC1E9DE0F2791AFD2BA752B720A34CA094B42F880EE0C05E917D532372898", + "descriptionHash": "EC07140A50337656B4D39F16440FE1476E0A3F2AD9F50373ADEB47523F789E495CA14CE5FD6CCA72AE665D0BACFBA1DCB0A9201D5BA6B9F79ED9481F6CCE70B9", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.34.1", diff --git a/models/principal_resource_memberships_scope.go b/models/principal_resource_memberships_scope.go index 2e2cd1023ca..d85bdf3c650 100644 --- a/models/principal_resource_memberships_scope.go +++ b/models/principal_resource_memberships_scope.go @@ -62,7 +62,7 @@ func (m *PrincipalResourceMembershipsScope) GetFieldDeserializers()(map[string]f } return res } -// GetPrincipalScopes gets the principalScopes property value. Defines the scopes of the principals whose access to resources are reviewed in the access review. +// GetPrincipalScopes gets the principalScopes property value. Defines the scopes of the principals whose access to resources are reviewed in the access review. Use an accessReviewPrincipalScope object to select a well-known population of principals, such as all guest users. // returns a []AccessReviewScopeable when successful func (m *PrincipalResourceMembershipsScope) GetPrincipalScopes()([]AccessReviewScopeable) { val, err := m.GetBackingStore().Get("principalScopes") @@ -74,7 +74,7 @@ func (m *PrincipalResourceMembershipsScope) GetPrincipalScopes()([]AccessReviewS } return nil } -// GetResourceScopes gets the resourceScopes property value. Defines the scopes of the resources for which access is reviewed. +// GetResourceScopes gets the resourceScopes property value. Defines the scopes of the resources for which access is reviewed. Use an accessReviewResourceScope object to identify the resource, or an accessReviewAccessPackageAssignmentPolicyScope object when the resource is an access package assignment policy. // returns a []AccessReviewScopeable when successful func (m *PrincipalResourceMembershipsScope) GetResourceScopes()([]AccessReviewScopeable) { val, err := m.GetBackingStore().Get("resourceScopes") @@ -118,14 +118,14 @@ func (m *PrincipalResourceMembershipsScope) Serialize(writer i878a80d2330e89d268 } return nil } -// SetPrincipalScopes sets the principalScopes property value. Defines the scopes of the principals whose access to resources are reviewed in the access review. +// SetPrincipalScopes sets the principalScopes property value. Defines the scopes of the principals whose access to resources are reviewed in the access review. Use an accessReviewPrincipalScope object to select a well-known population of principals, such as all guest users. func (m *PrincipalResourceMembershipsScope) SetPrincipalScopes(value []AccessReviewScopeable)() { err := m.GetBackingStore().Set("principalScopes", value) if err != nil { panic(err) } } -// SetResourceScopes sets the resourceScopes property value. Defines the scopes of the resources for which access is reviewed. +// SetResourceScopes sets the resourceScopes property value. Defines the scopes of the resources for which access is reviewed. Use an accessReviewResourceScope object to identify the resource, or an accessReviewAccessPackageAssignmentPolicyScope object when the resource is an access package assignment policy. func (m *PrincipalResourceMembershipsScope) SetResourceScopes(value []AccessReviewScopeable)() { err := m.GetBackingStore().Set("resourceScopes", value) if err != nil {