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

Commit 8b17807

Browse files
authored
Update generated code. (#346)
Schema version: microsoftgraph/msgraph-metadata@d4a0afa Generator version: microsoft/kiota@750efb2f2
1 parent ad441dd commit 8b17807

File tree

865 files changed

+11468
-1440
lines changed

Some content is hidden

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

865 files changed

+11468
-1440
lines changed

src/generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ public Command BuildDeleteCommand() {
6060
return command;
6161
}
6262
/// <summary>
63-
/// Retrieve a conversationMember from a chat.
64-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0" />
63+
/// Retrieve a conversationMember from a chat or channel.
64+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0" />
6565
/// </summary>
6666
public Command BuildGetCommand() {
6767
var command = new Command("get");
68-
command.Description = "Retrieve a conversationMember from a chat.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0";
68+
command.Description = "Retrieve a conversationMember from a chat or channel.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0";
6969
var chatIdOption = new Option<string>("--chat-id", description: "The unique identifier of chat") {
7070
};
7171
chatIdOption.IsRequired = true;
@@ -228,7 +228,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
228228
return requestInfo;
229229
}
230230
/// <summary>
231-
/// Retrieve a conversationMember from a chat.
231+
/// Retrieve a conversationMember from a chat or channel.
232232
/// </summary>
233233
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
234234
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -282,7 +282,7 @@ public RequestInformation ToPatchRequestInformation(ConversationMember body, Act
282282
return requestInfo;
283283
}
284284
/// <summary>
285-
/// Retrieve a conversationMember from a chat.
285+
/// Retrieve a conversationMember from a chat or channel.
286286
/// </summary>
287287
public class ConversationMemberItemRequestBuilderGetQueryParameters {
288288
/// <summary>Expand related entities</summary>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ public Command BuildCountNavCommand() {
5656
return command;
5757
}
5858
/// <summary>
59-
/// 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.
60-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-1.0" />
59+
/// Send a new chatMessage in the specified channel or a chat.
60+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-1.0" />
6161
/// </summary>
6262
public Command BuildCreateCommand() {
6363
var command = new Command("create");
64-
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";
64+
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";
6565
var chatIdOption = new Option<string>("--chat-id", description: "The unique identifier of chat") {
6666
};
6767
chatIdOption.IsRequired = true;
@@ -278,7 +278,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Me
278278
return requestInfo;
279279
}
280280
/// <summary>
281-
/// 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.
281+
/// Send a new chatMessage in the specified channel or a chat.
282282
/// </summary>
283283
/// <param name="body">The request body</param>
284284
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>

src/generated/Communications/Calls/Item/Answer/AnswerPostRequestBody.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ public static AnswerPostRequestBody CreateFromDiscriminatorValue(IParseNode pars
6363
public IDictionary<string, Action<IParseNode>> GetFieldDeserializers() {
6464
return new Dictionary<string, Action<IParseNode>> {
6565
{"acceptedModalities", n => { AcceptedModalities = n.GetCollectionOfEnumValues<Modality>()?.ToList(); } },
66-
{"callbackUri", n => { CallbackUri = n.GetStringValue(); } },
6766
{"callOptions", n => { CallOptions = n.GetObjectValue<IncomingCallOptions>(IncomingCallOptions.CreateFromDiscriminatorValue); } },
67+
{"callbackUri", n => { CallbackUri = n.GetStringValue(); } },
6868
{"mediaConfig", n => { MediaConfig = n.GetObjectValue<ApiSdk.Models.MediaConfig>(ApiSdk.Models.MediaConfig.CreateFromDiscriminatorValue); } },
6969
{"participantCapacity", n => { ParticipantCapacity = n.GetIntValue(); } },
7070
};

src/generated/Communications/Calls/Item/Transfer/TransferPostRequestBody.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public static TransferPostRequestBody CreateFromDiscriminatorValue(IParseNode pa
4444
/// </summary>
4545
public IDictionary<string, Action<IParseNode>> GetFieldDeserializers() {
4646
return new Dictionary<string, Action<IParseNode>> {
47-
{"transferee", n => { Transferee = n.GetObjectValue<ParticipantInfo>(ParticipantInfo.CreateFromDiscriminatorValue); } },
4847
{"transferTarget", n => { TransferTarget = n.GetObjectValue<InvitationParticipantInfo>(InvitationParticipantInfo.CreateFromDiscriminatorValue); } },
48+
{"transferee", n => { Transferee = n.GetObjectValue<ParticipantInfo>(ParticipantInfo.CreateFromDiscriminatorValue); } },
4949
};
5050
}
5151
/// <summary>

src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ public Command BuildDefaultManagedAppProtectionsNavCommand() {
8686
}
8787
/// <summary>
8888
/// Read properties and relationships of the deviceAppManagement object.
89-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0" />
89+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0" />
9090
/// </summary>
9191
public Command BuildGetCommand() {
9292
var command = new Command("get");
93-
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";
93+
command.Description = "Read properties and relationships of the deviceAppManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0";
9494
var selectOption = new Option<string[]>("--select", description: "Select properties to be returned") {
9595
Arity = ArgumentArity.ZeroOrMore
9696
};
@@ -352,8 +352,22 @@ public Command BuildMobileAppsNavCommand() {
352352
var nonExecCommands = new List<Command>();
353353
nonExecCommands.Add(builder.BuildCountNavCommand());
354354
execCommands.Add(builder.BuildCreateCommand());
355+
nonExecCommands.Add(builder.BuildGraphAndroidLobAppNavCommand());
356+
nonExecCommands.Add(builder.BuildGraphAndroidStoreAppNavCommand());
357+
nonExecCommands.Add(builder.BuildGraphIosLobAppNavCommand());
358+
nonExecCommands.Add(builder.BuildGraphIosStoreAppNavCommand());
359+
nonExecCommands.Add(builder.BuildGraphIosVppAppNavCommand());
360+
nonExecCommands.Add(builder.BuildGraphMacOSDmgAppNavCommand());
361+
nonExecCommands.Add(builder.BuildGraphMacOSLobAppNavCommand());
362+
nonExecCommands.Add(builder.BuildGraphManagedAndroidLobAppNavCommand());
363+
nonExecCommands.Add(builder.BuildGraphManagedIOSLobAppNavCommand());
355364
nonExecCommands.Add(builder.BuildGraphManagedMobileLobAppNavCommand());
356-
nonExecCommands.Add(builder.BuildGraphMobileLobAppNavCommand());
365+
nonExecCommands.Add(builder.BuildGraphMicrosoftStoreForBusinessAppNavCommand());
366+
nonExecCommands.Add(builder.BuildGraphWin32LobAppNavCommand());
367+
nonExecCommands.Add(builder.BuildGraphWindowsAppXNavCommand());
368+
nonExecCommands.Add(builder.BuildGraphWindowsMobileMSINavCommand());
369+
nonExecCommands.Add(builder.BuildGraphWindowsUniversalAppXNavCommand());
370+
nonExecCommands.Add(builder.BuildGraphWindowsWebAppNavCommand());
357371
execCommands.Add(builder.BuildListCommand());
358372
var cmds = builder.BuildCommand();
359373
execCommands.AddRange(cmds.Item1);

src/generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ public Command BuildDeleteCommand() {
5454
return command;
5555
}
5656
/// <summary>
57-
/// Read properties and relationships of the managedAppConfiguration object.
58-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0" />
57+
/// Read properties and relationships of the managedAppProtection object.
58+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0" />
5959
/// </summary>
6060
public Command BuildGetCommand() {
6161
var command = new Command("get");
62-
command.Description = "Read properties and relationships of the managedAppConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0";
62+
command.Description = "Read properties and relationships of the managedAppProtection object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0";
6363
var managedAppPolicyIdOption = new Option<string>("--managed-app-policy-id", description: "The unique identifier of managedAppPolicy") {
6464
};
6565
managedAppPolicyIdOption.IsRequired = true;
@@ -225,7 +225,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RequestConfiguration
225225
return requestInfo;
226226
}
227227
/// <summary>
228-
/// Read properties and relationships of the managedAppConfiguration object.
228+
/// Read properties and relationships of the managedAppProtection object.
229229
/// </summary>
230230
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
231231
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -279,7 +279,7 @@ public RequestInformation ToPatchRequestInformation(ManagedAppPolicy body, Actio
279279
return requestInfo;
280280
}
281281
/// <summary>
282-
/// Read properties and relationships of the managedAppConfiguration object.
282+
/// Read properties and relationships of the managedAppProtection object.
283283
/// </summary>
284284
public class ManagedAppPolicyItemRequestBuilderGetQueryParameters {
285285
/// <summary>Expand related entities</summary>

src/generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ namespace ApiSdk.DeviceAppManagement.ManagedAppPolicies.Item.TargetApps {
2020
public class TargetAppsRequestBuilder : BaseCliRequestBuilder {
2121
/// <summary>
2222
/// Not yet documented
23-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0" />
23+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0" />
2424
/// </summary>
2525
public Command BuildPostCommand() {
2626
var command = new Command("post");
27-
command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0";
27+
command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0";
2828
var managedAppPolicyIdOption = new Option<string>("--managed-app-policy-id", description: "The unique identifier of managedAppPolicy") {
2929
};
3030
managedAppPolicyIdOption.IsRequired = true;

src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ public Command BuildCreateCommand() {
101101
return command;
102102
}
103103
/// <summary>
104-
/// List properties and relationships of the managedAppConfiguration objects.
105-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-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
public Command BuildListCommand() {
108108
var command = new Command("list");
109-
command.Description = "List properties and relationships of the managedAppConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0";
109+
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";
110110
var topOption = new Option<int?>("--top", description: "Show only the first n items") {
111111
};
112112
topOption.IsRequired = false;
@@ -218,7 +218,7 @@ public ManagedAppPoliciesRequestBuilder(Dictionary<string, object> pathParameter
218218
public ManagedAppPoliciesRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
219219
}
220220
/// <summary>
221-
/// List properties and relationships of the managedAppConfiguration objects.
221+
/// List properties and relationships of the managedAppPolicy objects.
222222
/// </summary>
223223
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
224224
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -272,7 +272,7 @@ public RequestInformation ToPostRequestInformation(ManagedAppPolicy body, Action
272272
return requestInfo;
273273
}
274274
/// <summary>
275-
/// List properties and relationships of the managedAppConfiguration objects.
275+
/// List properties and relationships of the managedAppPolicy objects.
276276
/// </summary>
277277
public class ManagedAppPoliciesRequestBuilderGetQueryParameters {
278278
/// <summary>Include count of items</summary>

src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.AppliedPolicie
2020
public class TargetAppsRequestBuilder : BaseCliRequestBuilder {
2121
/// <summary>
2222
/// Not yet documented
23-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0" />
23+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0" />
2424
/// </summary>
2525
public Command BuildPostCommand() {
2626
var command = new Command("post");
27-
command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0";
27+
command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0";
2828
var managedAppRegistrationIdOption = new Option<string>("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") {
2929
};
3030
managedAppRegistrationIdOption.IsRequired = true;

src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ namespace ApiSdk.DeviceAppManagement.ManagedAppRegistrations.Item.IntendedPolici
2020
public class TargetAppsRequestBuilder : BaseCliRequestBuilder {
2121
/// <summary>
2222
/// Not yet documented
23-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0" />
23+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0" />
2424
/// </summary>
2525
public Command BuildPostCommand() {
2626
var command = new Command("post");
27-
command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0";
27+
command.Description = "Not yet documented\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-targetapps?view=graph-rest-1.0";
2828
var managedAppRegistrationIdOption = new Option<string>("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") {
2929
};
3030
managedAppRegistrationIdOption.IsRequired = true;

0 commit comments

Comments
 (0)