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

Commit beab734

Browse files
andrueastmanMicrosoft Graph DevX Tooling
andauthored
feat(generation): update request builders and models (#475)
Update generated files with build 150887 Co-authored-by: Microsoft Graph DevX Tooling <[email protected]>
1 parent f4cc5de commit beab734

File tree

1,473 files changed

+196351
-381
lines changed

Some content is hidden

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

1,473 files changed

+196351
-381
lines changed

src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ public Command BuildCountNavCommand()
6262
return command;
6363
}
6464
/// <summary>
65-
/// Send a new chatMessage in the specified channel or a chat.
66-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0" />
65+
/// Send a new chatMessage in the specified chat. This API can&apos;t create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
66+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0" />
6767
/// </summary>
6868
/// <returns>A <see cref="Command"/></returns>
6969
public Command BuildCreateCommand()
7070
{
7171
var command = new Command("create");
72-
command.Description = "Send a new chatMessage in the specified channel or a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0";
72+
command.Description = "Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0";
7373
var chatIdOption = new Option<string>("--chat-id", description: "The unique identifier of chat") {
7474
};
7575
chatIdOption.IsRequired = true;
@@ -267,7 +267,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Me
267267
return requestInfo;
268268
}
269269
/// <summary>
270-
/// Send a new chatMessage in the specified channel or a chat.
270+
/// Send a new chatMessage in the specified chat. This API can&apos;t create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
271271
/// </summary>
272272
/// <returns>A <see cref="RequestInformation"/></returns>
273273
/// <param name="body">The request body</param>

src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ public Command BuildGetCommand()
2828
{
2929
var command = new Command("get");
3030
command.Description = "Get a log of direct routing calls as a collection of directRoutingLogRow entries.";
31-
var fromDateTimeOption = new Option<string>("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") {
31+
var fromDateTimeOption = new Option<DateTimeOffset?>("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") {
3232
};
3333
fromDateTimeOption.IsRequired = true;
3434
command.AddOption(fromDateTimeOption);
35-
var toDateTimeOption = new Option<string>("--to-date-time", description: "Usage: toDateTime={toDateTime}") {
35+
var toDateTimeOption = new Option<DateTimeOffset?>("--to-date-time", description: "Usage: toDateTime={toDateTime}") {
3636
};
3737
toDateTimeOption.IsRequired = true;
3838
command.AddOption(toDateTimeOption);

src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ public Command BuildGetCommand()
2828
{
2929
var command = new Command("get");
3030
command.Description = "Get log of PSTN calls as a collection of pstnCallLogRow entries.";
31-
var fromDateTimeOption = new Option<string>("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") {
31+
var fromDateTimeOption = new Option<DateTimeOffset?>("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") {
3232
};
3333
fromDateTimeOption.IsRequired = true;
3434
command.AddOption(fromDateTimeOption);
35-
var toDateTimeOption = new Option<string>("--to-date-time", description: "Usage: toDateTime={toDateTime}") {
35+
var toDateTimeOption = new Option<DateTimeOffset?>("--to-date-time", description: "Usage: toDateTime={toDateTime}") {
3636
};
3737
toDateTimeOption.IsRequired = true;
3838
command.AddOption(toDateTimeOption);

src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ public Command BuildDefaultManagedAppProtectionsNavCommand()
9292
}
9393
/// <summary>
9494
/// Read properties and relationships of the deviceAppManagement object.
95-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0" />
95+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0" />
9696
/// </summary>
9797
/// <returns>A <see cref="Command"/></returns>
9898
public Command BuildGetCommand()
9999
{
100100
var command = new Command("get");
101-
command.Description = "Read properties and relationships of the deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0";
101+
command.Description = "Read properties and relationships of the deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0";
102102
var selectOption = new Option<string[]>("--select", description: "Select properties to be returned") {
103103
Arity = ArgumentArity.ZeroOrMore
104104
};
@@ -399,13 +399,13 @@ public Command BuildMobileAppsNavCommand()
399399
}
400400
/// <summary>
401401
/// Update the properties of a deviceAppManagement object.
402-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0" />
402+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0" />
403403
/// </summary>
404404
/// <returns>A <see cref="Command"/></returns>
405405
public Command BuildPatchCommand()
406406
{
407407
var command = new Command("patch");
408-
command.Description = "Update the properties of a deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0";
408+
command.Description = "Update the properties of a deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0";
409409
var bodyOption = new Option<string>("--body", description: "The request body") {
410410
};
411411
bodyOption.IsRequired = true;

src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ public Command BuildCreateCommand()
101101
return command;
102102
}
103103
/// <summary>
104-
/// List properties and relationships of the managedAppProtection objects.
105-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0" />
104+
/// List properties and relationships of the managedAppPolicy objects.
105+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0" />
106106
/// </summary>
107107
/// <returns>A <see cref="Command"/></returns>
108108
public Command BuildListCommand()
109109
{
110110
var command = new Command("list");
111-
command.Description = "List properties and relationships of the managedAppProtection objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0";
111+
command.Description = "List properties and relationships of the managedAppPolicy objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0";
112112
var topOption = new Option<int?>("--top", description: "Show only the first n items") {
113113
};
114114
topOption.IsRequired = false;
@@ -212,7 +212,7 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl) : base("{+baseurl}/device
212212
{
213213
}
214214
/// <summary>
215-
/// List properties and relationships of the managedAppProtection objects.
215+
/// List properties and relationships of the managedAppPolicy objects.
216216
/// </summary>
217217
/// <returns>A <see cref="RequestInformation"/></returns>
218218
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -252,7 +252,7 @@ public RequestInformation ToPostRequestInformation(ManagedAppPolicy body, Action
252252
return requestInfo;
253253
}
254254
/// <summary>
255-
/// List properties and relationships of the managedAppProtection objects.
255+
/// List properties and relationships of the managedAppPolicy objects.
256256
/// </summary>
257257
public class ManagedAppPoliciesRequestBuilderGetQueryParameters
258258
{

src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ public Command BuildDeleteCommand()
8787
return command;
8888
}
8989
/// <summary>
90-
/// Read properties and relationships of the androidManagedAppRegistration object.
91-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0" />
90+
/// Read properties and relationships of the iosManagedAppRegistration object.
91+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0" />
9292
/// </summary>
9393
/// <returns>A <see cref="Command"/></returns>
9494
public Command BuildGetCommand()
9595
{
9696
var command = new Command("get");
97-
command.Description = "Read properties and relationships of the androidManagedAppRegistration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-androidmanagedappregistration-get?view=graph-rest-1.0";
97+
command.Description = "Read properties and relationships of the iosManagedAppRegistration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-get?view=graph-rest-1.0";
9898
var managedAppRegistrationIdOption = new Option<string>("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") {
9999
};
100100
managedAppRegistrationIdOption.IsRequired = true;
@@ -278,7 +278,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
278278
return requestInfo;
279279
}
280280
/// <summary>
281-
/// Read properties and relationships of the androidManagedAppRegistration object.
281+
/// Read properties and relationships of the iosManagedAppRegistration object.
282282
/// </summary>
283283
/// <returns>A <see cref="RequestInformation"/></returns>
284284
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -318,7 +318,7 @@ public RequestInformation ToPatchRequestInformation(ManagedAppRegistration body,
318318
return requestInfo;
319319
}
320320
/// <summary>
321-
/// Read properties and relationships of the androidManagedAppRegistration object.
321+
/// Read properties and relationships of the iosManagedAppRegistration object.
322322
/// </summary>
323323
public class ManagedAppRegistrationItemRequestBuilderGetQueryParameters
324324
{

src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ public Command BuildCountNavCommand()
5454
return command;
5555
}
5656
/// <summary>
57-
/// Create a new managedEBookAssignment object.
58-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0" />
57+
/// Create a new iosVppEBookAssignment object.
58+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0" />
5959
/// </summary>
6060
/// <returns>A <see cref="Command"/></returns>
6161
public Command BuildCreateCommand()
6262
{
6363
var command = new Command("create");
64-
command.Description = "Create a new managedEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-create?view=graph-rest-1.0";
64+
command.Description = "Create a new iosVppEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-create?view=graph-rest-1.0";
6565
var managedEBookIdOption = new Option<string>("--managed-ebook-id", description: "The unique identifier of managedEBook") {
6666
};
6767
managedEBookIdOption.IsRequired = true;
@@ -106,14 +106,14 @@ public Command BuildCreateCommand()
106106
return command;
107107
}
108108
/// <summary>
109-
/// List properties and relationships of the iosVppEBookAssignment objects.
110-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0" />
109+
/// List properties and relationships of the managedEBookAssignment objects.
110+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0" />
111111
/// </summary>
112112
/// <returns>A <see cref="Command"/></returns>
113113
public Command BuildListCommand()
114114
{
115115
var command = new Command("list");
116-
command.Description = "List properties and relationships of the iosVppEBookAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-list?view=graph-rest-1.0";
116+
command.Description = "List properties and relationships of the managedEBookAssignment objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-list?view=graph-rest-1.0";
117117
var managedEBookIdOption = new Option<string>("--managed-ebook-id", description: "The unique identifier of managedEBook") {
118118
};
119119
managedEBookIdOption.IsRequired = true;
@@ -223,7 +223,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana
223223
{
224224
}
225225
/// <summary>
226-
/// List properties and relationships of the iosVppEBookAssignment objects.
226+
/// List properties and relationships of the managedEBookAssignment objects.
227227
/// </summary>
228228
/// <returns>A <see cref="RequestInformation"/></returns>
229229
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -242,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<As
242242
return requestInfo;
243243
}
244244
/// <summary>
245-
/// Create a new managedEBookAssignment object.
245+
/// Create a new iosVppEBookAssignment object.
246246
/// </summary>
247247
/// <returns>A <see cref="RequestInformation"/></returns>
248248
/// <param name="body">The request body</param>
@@ -263,7 +263,7 @@ public RequestInformation ToPostRequestInformation(ManagedEBookAssignment body,
263263
return requestInfo;
264264
}
265265
/// <summary>
266-
/// List properties and relationships of the iosVppEBookAssignment objects.
266+
/// List properties and relationships of the managedEBookAssignment objects.
267267
/// </summary>
268268
public class AssignmentsRequestBuilderGetQueryParameters
269269
{

src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assignments.Item
2222
public class ManagedEBookAssignmentItemRequestBuilder : BaseCliRequestBuilder
2323
{
2424
/// <summary>
25-
/// Deletes a iosVppEBookAssignment.
26-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0" />
25+
/// Deletes a managedEBookAssignment.
26+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0" />
2727
/// </summary>
2828
/// <returns>A <see cref="Command"/></returns>
2929
public Command BuildDeleteCommand()
3030
{
3131
var command = new Command("delete");
32-
command.Description = "Deletes a iosVppEBookAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-delete?view=graph-rest-1.0";
32+
command.Description = "Deletes a managedEBookAssignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-delete?view=graph-rest-1.0";
3333
var managedEBookIdOption = new Option<string>("--managed-ebook-id", description: "The unique identifier of managedEBook") {
3434
};
3535
managedEBookIdOption.IsRequired = true;
@@ -64,14 +64,14 @@ public Command BuildDeleteCommand()
6464
return command;
6565
}
6666
/// <summary>
67-
/// Read properties and relationships of the managedEBookAssignment object.
68-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0" />
67+
/// Read properties and relationships of the iosVppEBookAssignment object.
68+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0" />
6969
/// </summary>
7070
/// <returns>A <see cref="Command"/></returns>
7171
public Command BuildGetCommand()
7272
{
7373
var command = new Command("get");
74-
command.Description = "Read properties and relationships of the managedEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-get?view=graph-rest-1.0";
74+
command.Description = "Read properties and relationships of the iosVppEBookAssignment object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-get?view=graph-rest-1.0";
7575
var managedEBookIdOption = new Option<string>("--managed-ebook-id", description: "The unique identifier of managedEBook") {
7676
};
7777
managedEBookIdOption.IsRequired = true;
@@ -195,7 +195,7 @@ public ManagedEBookAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl
195195
{
196196
}
197197
/// <summary>
198-
/// Deletes a iosVppEBookAssignment.
198+
/// Deletes a managedEBookAssignment.
199199
/// </summary>
200200
/// <returns>A <see cref="RequestInformation"/></returns>
201201
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -214,7 +214,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
214214
return requestInfo;
215215
}
216216
/// <summary>
217-
/// Read properties and relationships of the managedEBookAssignment object.
217+
/// Read properties and relationships of the iosVppEBookAssignment object.
218218
/// </summary>
219219
/// <returns>A <see cref="RequestInformation"/></returns>
220220
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -254,7 +254,7 @@ public RequestInformation ToPatchRequestInformation(ManagedEBookAssignment body,
254254
return requestInfo;
255255
}
256256
/// <summary>
257-
/// Read properties and relationships of the managedEBookAssignment object.
257+
/// Read properties and relationships of the iosVppEBookAssignment object.
258258
/// </summary>
259259
public class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters
260260
{

0 commit comments

Comments
 (0)