Skip to content

Commit a6727d6

Browse files
andrueastmanMicrosoft Graph DevX Toolingcalebkiage
authored
feat(generation): update request builders and models (#431)
Update generated files with build 135049 Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com> Co-authored-by: Caleb Kiage <747955+calebkiage@users.noreply.github.com>
1 parent 63cac65 commit a6727d6

File tree

11,641 files changed

+70076
-24004
lines changed

Some content is hidden

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

11,641 files changed

+70076
-24004
lines changed

src/generated/Admin/AdminRequestBuilder.cs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public class AdminRequestBuilder : BaseCliRequestBuilder {
2626
/// <summary>
2727
/// Provides operations to manage the edge property of the microsoft.graph.admin entity.
2828
/// </summary>
29+
/// <returns>A <cref="Command"></returns>
2930
public Command BuildEdgeNavCommand() {
3031
var command = new Command("edge");
3132
command.Description = "Provides operations to manage the edge property of the microsoft.graph.admin entity.";
@@ -49,6 +50,7 @@ public Command BuildEdgeNavCommand() {
4950
/// <summary>
5051
/// Get admin
5152
/// </summary>
53+
/// <returns>A <cref="Command"></returns>
5254
public Command BuildGetCommand() {
5355
var command = new Command("get");
5456
command.Description = "Get admin";
@@ -93,6 +95,7 @@ public Command BuildGetCommand() {
9395
/// <summary>
9496
/// Update admin
9597
/// </summary>
98+
/// <returns>A <cref="Command"></returns>
9699
public Command BuildPatchCommand() {
97100
var command = new Command("patch");
98101
command.Description = "Update admin";
@@ -136,6 +139,7 @@ public Command BuildPatchCommand() {
136139
/// <summary>
137140
/// Provides operations to manage the people property of the microsoft.graph.admin entity.
138141
/// </summary>
142+
/// <returns>A <cref="Command"></returns>
139143
public Command BuildPeopleNavCommand() {
140144
var command = new Command("people");
141145
command.Description = "Provides operations to manage the people property of the microsoft.graph.admin entity.";
@@ -158,6 +162,7 @@ public Command BuildPeopleNavCommand() {
158162
/// <summary>
159163
/// Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity.
160164
/// </summary>
165+
/// <returns>A <cref="Command"></returns>
161166
public Command BuildServiceAnnouncementNavCommand() {
162167
var command = new Command("service-announcement");
163168
command.Description = "Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity.";
@@ -183,6 +188,7 @@ public Command BuildServiceAnnouncementNavCommand() {
183188
/// <summary>
184189
/// Provides operations to manage the sharepoint property of the microsoft.graph.admin entity.
185190
/// </summary>
191+
/// <returns>A <cref="Command"></returns>
186192
public Command BuildSharepointNavCommand() {
187193
var command = new Command("sharepoint");
188194
command.Description = "Provides operations to manage the sharepoint property of the microsoft.graph.admin entity.";
@@ -204,20 +210,21 @@ public Command BuildSharepointNavCommand() {
204210
return command;
205211
}
206212
/// <summary>
207-
/// Instantiates a new AdminRequestBuilder and sets the default values.
213+
/// Instantiates a new <see cref="AdminRequestBuilder"/> and sets the default values.
208214
/// </summary>
209215
/// <param name="pathParameters">Path parameters for the request</param>
210216
public AdminRequestBuilder(Dictionary<string, object> pathParameters) : base("{+baseurl}/admin{?%24expand,%24select}", pathParameters) {
211217
}
212218
/// <summary>
213-
/// Instantiates a new AdminRequestBuilder and sets the default values.
219+
/// Instantiates a new <see cref="AdminRequestBuilder"/> and sets the default values.
214220
/// </summary>
215221
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
216222
public AdminRequestBuilder(string rawUrl) : base("{+baseurl}/admin{?%24expand,%24select}", rawUrl) {
217223
}
218224
/// <summary>
219225
/// Get admin
220226
/// </summary>
227+
/// <returns>A <cref="RequestInformation"></returns>
221228
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
222229
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
223230
#nullable enable
@@ -234,6 +241,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Ad
234241
/// <summary>
235242
/// Update admin
236243
/// </summary>
244+
/// <returns>A <cref="RequestInformation"></returns>
237245
/// <param name="body">The request body</param>
238246
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
239247
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -244,7 +252,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.Admin body, Ac
244252
public RequestInformation ToPatchRequestInformation(ApiSdk.Models.Admin body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default) {
245253
#endif
246254
_ = body ?? throw new ArgumentNullException(nameof(body));
247-
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
255+
var requestInfo = new RequestInformation(Method.PATCH, "{+baseurl}/admin", PathParameters);
248256
requestInfo.Configure(requestConfiguration);
249257
requestInfo.Headers.TryAdd("Accept", "application/json");
250258
return requestInfo;

src/generated/Admin/Edge/EdgeRequestBuilder.cs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public class EdgeRequestBuilder : BaseCliRequestBuilder {
2323
/// <summary>
2424
/// Delete navigation property edge for admin
2525
/// </summary>
26+
/// <returns>A <cref="Command"></returns>
2627
public Command BuildDeleteCommand() {
2728
var command = new Command("delete");
2829
command.Description = "Delete navigation property edge for admin";
@@ -50,6 +51,7 @@ public Command BuildDeleteCommand() {
5051
/// <summary>
5152
/// A container for Microsoft Edge resources. Read-only.
5253
/// </summary>
54+
/// <returns>A <cref="Command"></returns>
5355
public Command BuildGetCommand() {
5456
var command = new Command("get");
5557
command.Description = "A container for Microsoft Edge resources. Read-only.";
@@ -94,6 +96,7 @@ public Command BuildGetCommand() {
9496
/// <summary>
9597
/// Provides operations to manage the internetExplorerMode property of the microsoft.graph.edge entity.
9698
/// </summary>
99+
/// <returns>A <cref="Command"></returns>
97100
public Command BuildInternetExplorerModeNavCommand() {
98101
var command = new Command("internet-explorer-mode");
99102
command.Description = "Provides operations to manage the internetExplorerMode property of the microsoft.graph.edge entity.";
@@ -117,6 +120,7 @@ public Command BuildInternetExplorerModeNavCommand() {
117120
/// <summary>
118121
/// Update the navigation property edge in admin
119122
/// </summary>
123+
/// <returns>A <cref="Command"></returns>
120124
public Command BuildPatchCommand() {
121125
var command = new Command("patch");
122126
command.Description = "Update the navigation property edge in admin";
@@ -158,20 +162,21 @@ public Command BuildPatchCommand() {
158162
return command;
159163
}
160164
/// <summary>
161-
/// Instantiates a new EdgeRequestBuilder and sets the default values.
165+
/// Instantiates a new <see cref="EdgeRequestBuilder"/> and sets the default values.
162166
/// </summary>
163167
/// <param name="pathParameters">Path parameters for the request</param>
164168
public EdgeRequestBuilder(Dictionary<string, object> pathParameters) : base("{+baseurl}/admin/edge{?%24expand,%24select}", pathParameters) {
165169
}
166170
/// <summary>
167-
/// Instantiates a new EdgeRequestBuilder and sets the default values.
171+
/// Instantiates a new <see cref="EdgeRequestBuilder"/> and sets the default values.
168172
/// </summary>
169173
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
170174
public EdgeRequestBuilder(string rawUrl) : base("{+baseurl}/admin/edge{?%24expand,%24select}", rawUrl) {
171175
}
172176
/// <summary>
173177
/// Delete navigation property edge for admin
174178
/// </summary>
179+
/// <returns>A <cref="RequestInformation"></returns>
175180
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
176181
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
177182
#nullable enable
@@ -180,14 +185,15 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
180185
#else
181186
public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default) {
182187
#endif
183-
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
188+
var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/admin/edge", PathParameters);
184189
requestInfo.Configure(requestConfiguration);
185190
requestInfo.Headers.TryAdd("Accept", "application/json");
186191
return requestInfo;
187192
}
188193
/// <summary>
189194
/// A container for Microsoft Edge resources. Read-only.
190195
/// </summary>
196+
/// <returns>A <cref="RequestInformation"></returns>
191197
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
192198
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
193199
#nullable enable
@@ -204,6 +210,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Ed
204210
/// <summary>
205211
/// Update the navigation property edge in admin
206212
/// </summary>
213+
/// <returns>A <cref="RequestInformation"></returns>
207214
/// <param name="body">The request body</param>
208215
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
209216
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -214,7 +221,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.Edge body, Act
214221
public RequestInformation ToPatchRequestInformation(ApiSdk.Models.Edge body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default) {
215222
#endif
216223
_ = body ?? throw new ArgumentNullException(nameof(body));
217-
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
224+
var requestInfo = new RequestInformation(Method.PATCH, "{+baseurl}/admin/edge", PathParameters);
218225
requestInfo.Configure(requestConfiguration);
219226
requestInfo.Headers.TryAdd("Accept", "application/json");
220227
return requestInfo;

src/generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public class InternetExplorerModeRequestBuilder : BaseCliRequestBuilder {
2323
/// <summary>
2424
/// Delete navigation property internetExplorerMode for admin
2525
/// </summary>
26+
/// <returns>A <cref="Command"></returns>
2627
public Command BuildDeleteCommand() {
2728
var command = new Command("delete");
2829
command.Description = "Delete navigation property internetExplorerMode for admin";
@@ -50,6 +51,7 @@ public Command BuildDeleteCommand() {
5051
/// <summary>
5152
/// A container for Internet Explorer mode resources.
5253
/// </summary>
54+
/// <returns>A <cref="Command"></returns>
5355
public Command BuildGetCommand() {
5456
var command = new Command("get");
5557
command.Description = "A container for Internet Explorer mode resources.";
@@ -94,6 +96,7 @@ public Command BuildGetCommand() {
9496
/// <summary>
9597
/// Update the navigation property internetExplorerMode in admin
9698
/// </summary>
99+
/// <returns>A <cref="Command"></returns>
97100
public Command BuildPatchCommand() {
98101
var command = new Command("patch");
99102
command.Description = "Update the navigation property internetExplorerMode in admin";
@@ -137,6 +140,7 @@ public Command BuildPatchCommand() {
137140
/// <summary>
138141
/// Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity.
139142
/// </summary>
143+
/// <returns>A <cref="Command"></returns>
140144
public Command BuildSiteListsNavCommand() {
141145
var command = new Command("site-lists");
142146
command.Description = "Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity.";
@@ -160,20 +164,21 @@ public Command BuildSiteListsNavCommand() {
160164
return command;
161165
}
162166
/// <summary>
163-
/// Instantiates a new InternetExplorerModeRequestBuilder and sets the default values.
167+
/// Instantiates a new <see cref="InternetExplorerModeRequestBuilder"/> and sets the default values.
164168
/// </summary>
165169
/// <param name="pathParameters">Path parameters for the request</param>
166170
public InternetExplorerModeRequestBuilder(Dictionary<string, object> pathParameters) : base("{+baseurl}/admin/edge/internetExplorerMode{?%24expand,%24select}", pathParameters) {
167171
}
168172
/// <summary>
169-
/// Instantiates a new InternetExplorerModeRequestBuilder and sets the default values.
173+
/// Instantiates a new <see cref="InternetExplorerModeRequestBuilder"/> and sets the default values.
170174
/// </summary>
171175
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
172176
public InternetExplorerModeRequestBuilder(string rawUrl) : base("{+baseurl}/admin/edge/internetExplorerMode{?%24expand,%24select}", rawUrl) {
173177
}
174178
/// <summary>
175179
/// Delete navigation property internetExplorerMode for admin
176180
/// </summary>
181+
/// <returns>A <cref="RequestInformation"></returns>
177182
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
178183
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
179184
#nullable enable
@@ -182,14 +187,15 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
182187
#else
183188
public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default) {
184189
#endif
185-
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
190+
var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/admin/edge/internetExplorerMode", PathParameters);
186191
requestInfo.Configure(requestConfiguration);
187192
requestInfo.Headers.TryAdd("Accept", "application/json");
188193
return requestInfo;
189194
}
190195
/// <summary>
191196
/// A container for Internet Explorer mode resources.
192197
/// </summary>
198+
/// <returns>A <cref="RequestInformation"></returns>
193199
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
194200
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
195201
#nullable enable
@@ -206,6 +212,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<In
206212
/// <summary>
207213
/// Update the navigation property internetExplorerMode in admin
208214
/// </summary>
215+
/// <returns>A <cref="RequestInformation"></returns>
209216
/// <param name="body">The request body</param>
210217
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
211218
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -216,7 +223,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.InternetExplor
216223
public RequestInformation ToPatchRequestInformation(ApiSdk.Models.InternetExplorerMode body, Action<RequestConfiguration<DefaultQueryParameters>> requestConfiguration = default) {
217224
#endif
218225
_ = body ?? throw new ArgumentNullException(nameof(body));
219-
var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
226+
var requestInfo = new RequestInformation(Method.PATCH, "{+baseurl}/admin/edge/internetExplorerMode", PathParameters);
220227
requestInfo.Configure(requestConfiguration);
221228
requestInfo.Headers.TryAdd("Accept", "application/json");
222229
return requestInfo;

src/generated/Admin/Edge/InternetExplorerMode/SiteLists/Count/CountRequestBuilder.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class CountRequestBuilder : BaseCliRequestBuilder {
2121
/// <summary>
2222
/// Get the number of the resource
2323
/// </summary>
24+
/// <returns>A <cref="Command"></returns>
2425
public Command BuildGetCommand() {
2526
var command = new Command("get");
2627
command.Description = "Get the number of the resource";
@@ -53,20 +54,21 @@ public Command BuildGetCommand() {
5354
return command;
5455
}
5556
/// <summary>
56-
/// Instantiates a new CountRequestBuilder and sets the default values.
57+
/// Instantiates a new <see cref="CountRequestBuilder"/> and sets the default values.
5758
/// </summary>
5859
/// <param name="pathParameters">Path parameters for the request</param>
5960
public CountRequestBuilder(Dictionary<string, object> pathParameters) : base("{+baseurl}/admin/edge/internetExplorerMode/siteLists/$count{?%24filter,%24search}", pathParameters) {
6061
}
6162
/// <summary>
62-
/// Instantiates a new CountRequestBuilder and sets the default values.
63+
/// Instantiates a new <see cref="CountRequestBuilder"/> and sets the default values.
6364
/// </summary>
6465
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
6566
public CountRequestBuilder(string rawUrl) : base("{+baseurl}/admin/edge/internetExplorerMode/siteLists/$count{?%24filter,%24search}", rawUrl) {
6667
}
6768
/// <summary>
6869
/// Get the number of the resource
6970
/// </summary>
71+
/// <returns>A <cref="RequestInformation"></returns>
7072
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
7173
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
7274
#nullable enable

0 commit comments

Comments
 (0)