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

Commit b92583f

Browse files
andrueastmanMicrosoft Graph DevX Toolingcalebkiage
authored
feat(generation): update request builders and models (#59)
Update generated files with build 145961 Co-authored-by: Microsoft Graph DevX Tooling <[email protected]> Co-authored-by: Caleb Kiage <[email protected]>
1 parent fef5d04 commit b92583f

File tree

15,168 files changed

+87091
-32415
lines changed

Some content is hidden

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

15,168 files changed

+87091
-32415
lines changed

src/generated/AccessReviewDecisions/AccessReviewDecisionsRequestBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public RequestInformation ToPostRequestInformation(AccessReviewDecision body, Ac
240240
{
241241
#endif
242242
_ = body ?? throw new ArgumentNullException(nameof(body));
243-
var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/accessReviewDecisions", PathParameters);
243+
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
244244
requestInfo.Configure(requestConfiguration);
245245
requestInfo.Headers.TryAdd("Accept", "application/json");
246246
return requestInfo;

src/generated/AccessReviewDecisions/Item/AccessReviewDecisionItemRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
186186
public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default)
187187
{
188188
#endif
189-
var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/accessReviewDecisions/{accessReviewDecision%2Did}", PathParameters);
189+
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
190190
requestInfo.Configure(requestConfiguration);
191191
requestInfo.Headers.TryAdd("Accept", "application/json");
192192
return requestInfo;
@@ -226,7 +226,7 @@ public RequestInformation ToPatchRequestInformation(AccessReviewDecision body, A
226226
{
227227
#endif
228228
_ = body ?? throw new ArgumentNullException(nameof(body));
229-
var requestInfo = new RequestInformation(Method.PATCH, "{+baseurl}/accessReviewDecisions/{accessReviewDecision%2Did}", PathParameters);
229+
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
230230
requestInfo.Configure(requestConfiguration);
231231
requestInfo.Headers.TryAdd("Accept", "application/json");
232232
return requestInfo;

src/generated/AccessReviews/AccessReviewsRequestBuilder.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ public Command BuildCountNavCommand()
6363
}
6464
/// <summary>
6565
/// In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program.
66-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-1.0" />
66+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-beta" />
6767
/// </summary>
6868
/// <returns>A <see cref="Command"/></returns>
6969
public Command BuildCreateCommand()
7070
{
7171
var command = new Command("create");
72-
command.Description = "In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-1.0";
72+
command.Description = "In the Microsoft Entra access reviews feature, create a new accessReview object. Before making this request, the caller must have previously retrieved the list of business flow templates, to have the value of businessFlowTemplateId to include in the request. After making this request, the caller should create a programControl, to link the access review to a program. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-create?view=graph-rest-beta";
7373
var bodyOption = new Option<string>("--body", description: "The request body") {
7474
};
7575
bodyOption.IsRequired = true;
@@ -109,13 +109,13 @@ public Command BuildCreateCommand()
109109
}
110110
/// <summary>
111111
/// Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.
112-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-1.0" />
112+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-beta" />
113113
/// </summary>
114114
/// <returns>A <see cref="Command"/></returns>
115115
public Command BuildListCommand()
116116
{
117117
var command = new Command("list");
118-
command.Description = "Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-1.0";
118+
command.Description = "Retrieve the accessReview objects for a particular businessFlowTemplate. A list of zero or more accessReview objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. If many access reviews match the filter, to improve efficiency and avoid timeouts, retrieve the result set in pages, by including both the $top query parameter with a page size, for example 100, and the $skip=0 query parameter in the request. These parameters can be included even when you do not anticipate that the request will span multiple pages. When a result set spans multiple pages, Microsoft Graph returns that page with an @odata.nextLink property in the response that contains a URL to the next page of results. If that property is present, continue making additional requests with the @odata.nextLink URL in each response, until all the results are returned, as described in paging Microsoft Graph data in your app. The accessReview objects returned by this API will not include nested structure properties such as settings, or relationships. To retrieve an access review settings or relationships, use the get accessReview API.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-list?view=graph-rest-beta";
119119
var topOption = new Option<int?>("--top", description: "Show only the first n items") {
120120
};
121121
topOption.IsRequired = false;
@@ -251,7 +251,7 @@ public RequestInformation ToPostRequestInformation(AccessReview body, Action<Req
251251
{
252252
#endif
253253
_ = body ?? throw new ArgumentNullException(nameof(body));
254-
var requestInfo = new RequestInformation(Method.POST, "{+baseurl}/accessReviews", PathParameters);
254+
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
255255
requestInfo.Configure(requestConfiguration);
256256
requestInfo.Headers.TryAdd("Accept", "application/json");
257257
return requestInfo;

src/generated/AccessReviews/Item/AccessReviewItemRequestBuilder.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ public Command BuildDecisionsNavCommand()
7474
}
7575
/// <summary>
7676
/// In the Microsoft Entra access reviews feature, delete an accessReview object.
77-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-1.0" />
77+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-beta" />
7878
/// </summary>
7979
/// <returns>A <see cref="Command"/></returns>
8080
public Command BuildDeleteCommand()
8181
{
8282
var command = new Command("delete");
83-
command.Description = "In the Microsoft Entra access reviews feature, delete an accessReview object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-1.0";
83+
command.Description = "In the Microsoft Entra access reviews feature, delete an accessReview object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-delete?view=graph-rest-beta";
8484
var accessReviewIdOption = new Option<string>("--access-review-id", description: "The unique identifier of accessReview") {
8585
};
8686
accessReviewIdOption.IsRequired = true;
@@ -110,13 +110,13 @@ public Command BuildDeleteCommand()
110110
}
111111
/// <summary>
112112
/// In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions.
113-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-1.0" />
113+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-beta" />
114114
/// </summary>
115115
/// <returns>A <see cref="Command"/></returns>
116116
public Command BuildGetCommand()
117117
{
118118
var command = new Command("get");
119-
command.Description = "In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-1.0";
119+
command.Description = "In the Microsoft Entra access reviews feature, retrieve an accessReview object. To retrieve the reviewers of the access review, use the list accessReview reviewers API. To retrieve the decisions of the access review, use the list accessReview decisions API, or the list my accessReview decisions API. If this is a recurring access review, no decisions will be associated with the recurring access review series. Instead, use the instances relationship of that series to retrieve an accessReview collection of the past, current, and future instances of the access review. Each past and current instance will have decisions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-get?view=graph-rest-beta";
120120
var accessReviewIdOption = new Option<string>("--access-review-id", description: "The unique identifier of accessReview") {
121121
};
122122
accessReviewIdOption.IsRequired = true;
@@ -217,13 +217,13 @@ public Command BuildMyDecisionsNavCommand()
217217
}
218218
/// <summary>
219219
/// In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API.
220-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-1.0" />
220+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-beta" />
221221
/// </summary>
222222
/// <returns>A <see cref="Command"/></returns>
223223
public Command BuildPatchCommand()
224224
{
225225
var command = new Command("patch");
226-
command.Description = "In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-1.0";
226+
command.Description = "In the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/accessreview-update?view=graph-rest-beta";
227227
var accessReviewIdOption = new Option<string>("--access-review-id", description: "The unique identifier of accessReview") {
228228
};
229229
accessReviewIdOption.IsRequired = true;
@@ -373,7 +373,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
373373
public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default)
374374
{
375375
#endif
376-
var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/accessReviews/{accessReview%2Did}", PathParameters);
376+
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
377377
requestInfo.Configure(requestConfiguration);
378378
requestInfo.Headers.TryAdd("Accept", "application/json");
379379
return requestInfo;
@@ -413,7 +413,7 @@ public RequestInformation ToPatchRequestInformation(AccessReview body, Action<Re
413413
{
414414
#endif
415415
_ = body ?? throw new ArgumentNullException(nameof(body));
416-
var requestInfo = new RequestInformation(Method.PATCH, "{+baseurl}/accessReviews/{accessReview%2Did}", PathParameters);
416+
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
417417
requestInfo.Configure(requestConfiguration);
418418
requestInfo.Headers.TryAdd("Accept", "application/json");
419419
return requestInfo;

0 commit comments

Comments
 (0)