Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit ee0afbd

Browse files
Microsoft Graph DevX Toolingrkodev
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 150887
1 parent d6db9d0 commit ee0afbd

File tree

25,783 files changed

+570985
-83344
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

25,783 files changed

+570985
-83344
lines changed

src/generated/AccessReviewDecisions/AccessReviewDecisionsRequestBuilder.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
using System.Threading.Tasks;
1717
using System.Threading;
1818
using System;
19-
namespace ApiSdk.AccessReviewDecisions {
19+
namespace ApiSdk.AccessReviewDecisions
20+
{
2021
/// <summary>
2122
/// Provides operations to manage the collection of accessReviewDecision entities.
2223
/// </summary>
23-
public class AccessReviewDecisionsRequestBuilder : BaseCliRequestBuilder
24+
public class AccessReviewDecisionsRequestBuilder : BaseCliRequestBuilder
2425
{
2526
/// <summary>
2627
/// Provides operations to manage the collection of accessReviewDecision entities.
@@ -180,7 +181,9 @@ public Command BuildListCommand()
180181
var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
181182
var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
182183
var response = pageResponse?.Response;
184+
#nullable enable
183185
IOutputFormatter? formatter = null;
186+
#nullable restore
184187
if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
185188
formatter = outputFormatterFactory.GetFormatter(output);
186189
response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;

src/generated/AccessReviewDecisions/Count/CountRequestBuilder.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
using System.Threading.Tasks;
1414
using System.Threading;
1515
using System;
16-
namespace ApiSdk.AccessReviewDecisions.Count {
16+
namespace ApiSdk.AccessReviewDecisions.Count
17+
{
1718
/// <summary>
1819
/// Provides operations to count the resources in the collection.
1920
/// </summary>
20-
public class CountRequestBuilder : BaseCliRequestBuilder
21+
public class CountRequestBuilder : BaseCliRequestBuilder
2122
{
2223
/// <summary>
2324
/// Get the number of the resource

src/generated/AccessReviewDecisions/Item/AccessReviewDecisionItemRequestBuilder.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414
using System.Threading.Tasks;
1515
using System.Threading;
1616
using System;
17-
namespace ApiSdk.AccessReviewDecisions.Item {
17+
namespace ApiSdk.AccessReviewDecisions.Item
18+
{
1819
/// <summary>
1920
/// Provides operations to manage the collection of accessReviewDecision entities.
2021
/// </summary>
21-
public class AccessReviewDecisionItemRequestBuilder : BaseCliRequestBuilder
22+
public class AccessReviewDecisionItemRequestBuilder : BaseCliRequestBuilder
2223
{
2324
/// <summary>
2425
/// Delete entity from accessReviewDecisions

src/generated/AccessReviews/AccessReviewsRequestBuilder.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
using System.Threading.Tasks;
1717
using System.Threading;
1818
using System;
19-
namespace ApiSdk.AccessReviews {
19+
namespace ApiSdk.AccessReviews
20+
{
2021
/// <summary>
2122
/// Provides operations to manage the collection of accessReview entities.
2223
/// </summary>
23-
public class AccessReviewsRequestBuilder : BaseCliRequestBuilder
24+
public class AccessReviewsRequestBuilder : BaseCliRequestBuilder
2425
{
2526
/// <summary>
2627
/// Provides operations to manage the collection of accessReview entities.
@@ -191,7 +192,9 @@ public Command BuildListCommand()
191192
var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
192193
var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
193194
var response = pageResponse?.Response;
195+
#nullable enable
194196
IOutputFormatter? formatter = null;
197+
#nullable restore
195198
if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
196199
formatter = outputFormatterFactory.GetFormatter(output);
197200
response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;

src/generated/AccessReviews/Count/CountRequestBuilder.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
using System.Threading.Tasks;
1414
using System.Threading;
1515
using System;
16-
namespace ApiSdk.AccessReviews.Count {
16+
namespace ApiSdk.AccessReviews.Count
17+
{
1718
/// <summary>
1819
/// Provides operations to count the resources in the collection.
1920
/// </summary>
20-
public class CountRequestBuilder : BaseCliRequestBuilder
21+
public class CountRequestBuilder : BaseCliRequestBuilder
2122
{
2223
/// <summary>
2324
/// Get the number of the resource

src/generated/AccessReviews/Item/AccessReviewItemRequestBuilder.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
using System.Threading.Tasks;
2323
using System.Threading;
2424
using System;
25-
namespace ApiSdk.AccessReviews.Item {
25+
namespace ApiSdk.AccessReviews.Item
26+
{
2627
/// <summary>
2728
/// Provides operations to manage the collection of accessReview entities.
2829
/// </summary>
29-
public class AccessReviewItemRequestBuilder : BaseCliRequestBuilder
30+
public class AccessReviewItemRequestBuilder : BaseCliRequestBuilder
3031
{
3132
/// <summary>
3233
/// Provides operations to call the applyDecisions method.

src/generated/AccessReviews/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
using System.Threading.Tasks;
1414
using System.Threading;
1515
using System;
16-
namespace ApiSdk.AccessReviews.Item.ApplyDecisions {
16+
namespace ApiSdk.AccessReviews.Item.ApplyDecisions
17+
{
1718
/// <summary>
1819
/// Provides operations to call the applyDecisions method.
1920
/// </summary>
20-
public class ApplyDecisionsRequestBuilder : BaseCliRequestBuilder
21+
public class ApplyDecisionsRequestBuilder : BaseCliRequestBuilder
2122
{
2223
/// <summary>
2324
/// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn&apos;t configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user&apos;s access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn&apos;t have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.

src/generated/AccessReviews/Item/Decisions/Count/CountRequestBuilder.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
using System.Threading.Tasks;
1414
using System.Threading;
1515
using System;
16-
namespace ApiSdk.AccessReviews.Item.Decisions.Count {
16+
namespace ApiSdk.AccessReviews.Item.Decisions.Count
17+
{
1718
/// <summary>
1819
/// Provides operations to count the resources in the collection.
1920
/// </summary>
20-
public class CountRequestBuilder : BaseCliRequestBuilder
21+
public class CountRequestBuilder : BaseCliRequestBuilder
2122
{
2223
/// <summary>
2324
/// Get the number of the resource

src/generated/AccessReviews/Item/Decisions/DecisionsRequestBuilder.cs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616
using System.Threading.Tasks;
1717
using System.Threading;
1818
using System;
19-
namespace ApiSdk.AccessReviews.Item.Decisions {
19+
namespace ApiSdk.AccessReviews.Item.Decisions
20+
{
2021
/// <summary>
2122
/// Provides operations to manage the decisions property of the microsoft.graph.accessReview entity.
2223
/// </summary>
23-
public class DecisionsRequestBuilder : BaseCliRequestBuilder
24+
public class DecisionsRequestBuilder : BaseCliRequestBuilder
2425
{
2526
/// <summary>
2627
/// Provides operations to manage the decisions property of the microsoft.graph.accessReview entity.
@@ -104,13 +105,14 @@ public Command BuildCreateCommand()
104105
return command;
105106
}
106107
/// <summary>
107-
/// The collection of decisions for this access review.
108+
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
109+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-beta" />
108110
/// </summary>
109111
/// <returns>A <see cref="Command"/></returns>
110112
public Command BuildListCommand()
111113
{
112114
var command = new Command("list");
113-
command.Description = "The collection of decisions for this access review.";
115+
command.Description = "In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-listdecisions?view=graph-rest-beta";
114116
var accessReviewIdOption = new Option<string>("--access-review-id", description: "The unique identifier of accessReview") {
115117
};
116118
accessReviewIdOption.IsRequired = true;
@@ -192,7 +194,9 @@ public Command BuildListCommand()
192194
var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
193195
var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
194196
var response = pageResponse?.Response;
197+
#nullable enable
195198
IOutputFormatter? formatter = null;
199+
#nullable restore
196200
if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
197201
formatter = outputFormatterFactory.GetFormatter(output);
198202
response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
@@ -218,7 +222,7 @@ public DecisionsRequestBuilder(string rawUrl) : base("{+baseurl}/accessReviews/{
218222
{
219223
}
220224
/// <summary>
221-
/// The collection of decisions for this access review.
225+
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
222226
/// </summary>
223227
/// <returns>A <see cref="RequestInformation"/></returns>
224228
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -258,7 +262,7 @@ public RequestInformation ToPostRequestInformation(AccessReviewDecision body, Ac
258262
return requestInfo;
259263
}
260264
/// <summary>
261-
/// The collection of decisions for this access review.
265+
/// In the Microsoft Entra access reviews feature, retrieve the decisions of an accessReview object. Note that a recurring access review will not have a decisions relationship. Instead, the caller must navigate the instance relationship to find an accessReview object for a current or past instance of the access review.
262266
/// </summary>
263267
public class DecisionsRequestBuilderGetQueryParameters
264268
{

src/generated/AccessReviews/Item/Decisions/Item/AccessReviewDecisionItemRequestBuilder.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414
using System.Threading.Tasks;
1515
using System.Threading;
1616
using System;
17-
namespace ApiSdk.AccessReviews.Item.Decisions.Item {
17+
namespace ApiSdk.AccessReviews.Item.Decisions.Item
18+
{
1819
/// <summary>
1920
/// Provides operations to manage the decisions property of the microsoft.graph.accessReview entity.
2021
/// </summary>
21-
public class AccessReviewDecisionItemRequestBuilder : BaseCliRequestBuilder
22+
public class AccessReviewDecisionItemRequestBuilder : BaseCliRequestBuilder
2223
{
2324
/// <summary>
2425
/// Delete navigation property decisions for accessReviews

0 commit comments

Comments
 (0)