diff --git a/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs
index 2feb7208f6..3fa2d62274 100644
--- a/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs
+++ b/src/generated/Chats/Item/Messages/MessagesRequestBuilder.cs
@@ -62,14 +62,14 @@ public Command BuildCountNavCommand()
return command;
}
///
- /// Send a new chatMessage in the specified channel or a chat.
- /// Find more info here
+ /// 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.
+ /// Find more info here
///
/// A
public Command BuildCreateCommand()
{
var command = new Command("create");
- 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";
+ 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";
var chatIdOption = new Option("--chat-id", description: "The unique identifier of chat") {
};
chatIdOption.IsRequired = true;
@@ -267,7 +267,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Send a new chatMessage in the specified channel or a chat.
+ /// 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.
///
/// A
/// The request body
diff --git a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs
index fa5c851c2e..bb2e12d803 100644
--- a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs
+++ b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs
@@ -28,11 +28,11 @@ public Command BuildGetCommand()
{
var command = new Command("get");
command.Description = "Get a log of direct routing calls as a collection of directRoutingLogRow entries.";
- var fromDateTimeOption = new Option("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") {
+ var fromDateTimeOption = new Option("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") {
};
fromDateTimeOption.IsRequired = true;
command.AddOption(fromDateTimeOption);
- var toDateTimeOption = new Option("--to-date-time", description: "Usage: toDateTime={toDateTime}") {
+ var toDateTimeOption = new Option("--to-date-time", description: "Usage: toDateTime={toDateTime}") {
};
toDateTimeOption.IsRequired = true;
command.AddOption(toDateTimeOption);
diff --git a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs
index 6f6d957a79..ad722dd213 100644
--- a/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs
+++ b/src/generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs
@@ -28,11 +28,11 @@ public Command BuildGetCommand()
{
var command = new Command("get");
command.Description = "Get log of PSTN calls as a collection of pstnCallLogRow entries.";
- var fromDateTimeOption = new Option("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") {
+ var fromDateTimeOption = new Option("--from-date-time", description: "Usage: fromDateTime={fromDateTime}") {
};
fromDateTimeOption.IsRequired = true;
command.AddOption(fromDateTimeOption);
- var toDateTimeOption = new Option("--to-date-time", description: "Usage: toDateTime={toDateTime}") {
+ var toDateTimeOption = new Option("--to-date-time", description: "Usage: toDateTime={toDateTime}") {
};
toDateTimeOption.IsRequired = true;
command.AddOption(toDateTimeOption);
diff --git a/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
index 3933fcd13d..f023bc15f4 100644
--- a/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
@@ -92,13 +92,13 @@ public Command BuildDefaultManagedAppProtectionsNavCommand()
}
///
/// Read properties and relationships of the deviceAppManagement object.
- /// Find more info here
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- 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";
+ 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";
var selectOption = new Option("--select", description: "Select properties to be returned") {
Arity = ArgumentArity.ZeroOrMore
};
@@ -399,13 +399,13 @@ public Command BuildMobileAppsNavCommand()
}
///
/// Update the properties of a deviceAppManagement object.
- /// Find more info here
+ /// Find more info here
///
/// A
public Command BuildPatchCommand()
{
var command = new Command("patch");
- 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";
+ 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";
var bodyOption = new Option("--body", description: "The request body") {
};
bodyOption.IsRequired = true;
diff --git a/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs
index 497d5dded8..cd6ae34d26 100644
--- a/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs
@@ -101,14 +101,14 @@ public Command BuildCreateCommand()
return command;
}
///
- /// List properties and relationships of the managedAppProtection objects.
- /// Find more info here
+ /// List properties and relationships of the managedAppPolicy objects.
+ /// Find more info here
///
/// A
public Command BuildListCommand()
{
var command = new Command("list");
- 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";
+ 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";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -212,7 +212,7 @@ public ManagedAppPoliciesRequestBuilder(string rawUrl) : base("{+baseurl}/device
{
}
///
- /// List properties and relationships of the managedAppProtection objects.
+ /// List properties and relationships of the managedAppPolicy objects.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -252,7 +252,7 @@ public RequestInformation ToPostRequestInformation(ManagedAppPolicy body, Action
return requestInfo;
}
///
- /// List properties and relationships of the managedAppProtection objects.
+ /// List properties and relationships of the managedAppPolicy objects.
///
public class ManagedAppPoliciesRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
index d7b00da392..924e65e8ef 100644
--- a/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
@@ -87,14 +87,14 @@ public Command BuildDeleteCommand()
return command;
}
///
- /// Read properties and relationships of the androidManagedAppRegistration object.
- /// Find more info here
+ /// Read properties and relationships of the iosManagedAppRegistration object.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- 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";
+ 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";
var managedAppRegistrationIdOption = new Option("--managed-app-registration-id", description: "The unique identifier of managedAppRegistration") {
};
managedAppRegistrationIdOption.IsRequired = true;
@@ -278,7 +278,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the androidManagedAppRegistration object.
+ /// Read properties and relationships of the iosManagedAppRegistration object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -318,7 +318,7 @@ public RequestInformation ToPatchRequestInformation(ManagedAppRegistration body,
return requestInfo;
}
///
- /// Read properties and relationships of the androidManagedAppRegistration object.
+ /// Read properties and relationships of the iosManagedAppRegistration object.
///
public class ManagedAppRegistrationItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs
index e3ce57aaf3..3d24959817 100644
--- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs
@@ -54,14 +54,14 @@ public Command BuildCountNavCommand()
return command;
}
///
- /// Create a new managedEBookAssignment object.
- /// Find more info here
+ /// Create a new iosVppEBookAssignment object.
+ /// Find more info here
///
/// A
public Command BuildCreateCommand()
{
var command = new Command("create");
- 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";
+ 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";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -106,14 +106,14 @@ public Command BuildCreateCommand()
return command;
}
///
- /// List properties and relationships of the iosVppEBookAssignment objects.
- /// Find more info here
+ /// List properties and relationships of the managedEBookAssignment objects.
+ /// Find more info here
///
/// A
public Command BuildListCommand()
{
var command = new Command("list");
- 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";
+ 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";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -223,7 +223,7 @@ public AssignmentsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMana
{
}
///
- /// List properties and relationships of the iosVppEBookAssignment objects.
+ /// List properties and relationships of the managedEBookAssignment objects.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -242,7 +242,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new managedEBookAssignment object.
+ /// Create a new iosVppEBookAssignment object.
///
/// A
/// The request body
@@ -263,7 +263,7 @@ public RequestInformation ToPostRequestInformation(ManagedEBookAssignment body,
return requestInfo;
}
///
- /// List properties and relationships of the iosVppEBookAssignment objects.
+ /// List properties and relationships of the managedEBookAssignment objects.
///
public class AssignmentsRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs
index 3c6126b124..716f87ad75 100644
--- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs
@@ -22,14 +22,14 @@ namespace ApiSdk.DeviceAppManagement.ManagedEBooks.Item.Assignments.Item
public class ManagedEBookAssignmentItemRequestBuilder : BaseCliRequestBuilder
{
///
- /// Deletes a iosVppEBookAssignment.
- /// Find more info here
+ /// Deletes a managedEBookAssignment.
+ /// Find more info here
///
/// A
public Command BuildDeleteCommand()
{
var command = new Command("delete");
- 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";
+ 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";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -64,14 +64,14 @@ public Command BuildDeleteCommand()
return command;
}
///
- /// Read properties and relationships of the managedEBookAssignment object.
- /// Find more info here
+ /// Read properties and relationships of the iosVppEBookAssignment object.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- 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";
+ 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";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -195,7 +195,7 @@ public ManagedEBookAssignmentItemRequestBuilder(string rawUrl) : base("{+baseurl
{
}
///
- /// Deletes a iosVppEBookAssignment.
+ /// Deletes a managedEBookAssignment.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -214,7 +214,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedEBookAssignment object.
+ /// Read properties and relationships of the iosVppEBookAssignment object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -254,7 +254,7 @@ public RequestInformation ToPatchRequestInformation(ManagedEBookAssignment body,
return requestInfo;
}
///
- /// Read properties and relationships of the managedEBookAssignment object.
+ /// Read properties and relationships of the iosVppEBookAssignment object.
///
public class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs b/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs
index cff7d28469..b0aff8208d 100644
--- a/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs
@@ -134,14 +134,14 @@ public Command BuildDeviceStatesNavCommand()
return command;
}
///
- /// Read properties and relationships of the managedEBook object.
- /// Find more info here
+ /// Read properties and relationships of the iosVppEBook object.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Read properties and relationships of the managedEBook object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-managedebook-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the iosVppEBook object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-books-iosvppebook-get?view=graph-rest-1.0";
var managedEBookIdOption = new Option("--managed-ebook-id", description: "The unique identifier of managedEBook") {
};
managedEBookIdOption.IsRequired = true;
@@ -318,7 +318,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedEBook object.
+ /// Read properties and relationships of the iosVppEBook object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -358,7 +358,7 @@ public RequestInformation ToPatchRequestInformation(ManagedEBook body, Action
- /// Read properties and relationships of the managedEBook object.
+ /// Read properties and relationships of the iosVppEBook object.
///
public class ManagedEBookItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs
index e3ea827271..103ffe1421 100644
--- a/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs
@@ -154,14 +154,14 @@ public Command BuildDeviceStatusSummaryNavCommand()
return command;
}
///
- /// Read properties and relationships of the iosMobileAppConfiguration object.
- /// Find more info here
+ /// Read properties and relationships of the managedDeviceMobileAppConfiguration object.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Read properties and relationships of the iosMobileAppConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the managedDeviceMobileAppConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-get?view=graph-rest-1.0";
var managedDeviceMobileAppConfigurationIdOption = new Option("--managed-device-mobile-app-configuration-id", description: "The unique identifier of managedDeviceMobileAppConfiguration") {
};
managedDeviceMobileAppConfigurationIdOption.IsRequired = true;
@@ -338,7 +338,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the iosMobileAppConfiguration object.
+ /// Read properties and relationships of the managedDeviceMobileAppConfiguration object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -378,7 +378,7 @@ public RequestInformation ToPatchRequestInformation(ManagedDeviceMobileAppConfig
return requestInfo;
}
///
- /// Read properties and relationships of the iosMobileAppConfiguration object.
+ /// Read properties and relationships of the managedDeviceMobileAppConfiguration object.
///
public class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs
index 924f5c1e72..64f9319dd3 100644
--- a/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs
@@ -107,14 +107,14 @@ public Command BuildCreateCommand()
return command;
}
///
- /// List properties and relationships of the managedDeviceMobileAppConfiguration objects.
- /// Find more info here
+ /// List properties and relationships of the iosMobileAppConfiguration objects.
+ /// Find more info here
///
/// A
public Command BuildListCommand()
{
var command = new Command("list");
- command.Description = "List properties and relationships of the managedDeviceMobileAppConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-manageddevicemobileappconfiguration-list?view=graph-rest-1.0";
+ command.Description = "List properties and relationships of the iosMobileAppConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-iosmobileappconfiguration-list?view=graph-rest-1.0";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -218,7 +218,7 @@ public MobileAppConfigurationsRequestBuilder(string rawUrl) : base("{+baseurl}/d
{
}
///
- /// List properties and relationships of the managedDeviceMobileAppConfiguration objects.
+ /// List properties and relationships of the iosMobileAppConfiguration objects.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -258,7 +258,7 @@ public RequestInformation ToPostRequestInformation(ManagedDeviceMobileAppConfigu
return requestInfo;
}
///
- /// List properties and relationships of the managedDeviceMobileAppConfiguration objects.
+ /// List properties and relationships of the iosMobileAppConfiguration objects.
///
public class MobileAppConfigurationsRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs
index 57b1f9e57c..d949b3743a 100644
--- a/src/generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs
@@ -111,14 +111,14 @@ public Command BuildCategoriesNavCommand()
return command;
}
///
- /// Deletes a windowsMicrosoftEdgeApp.
- /// Find more info here
+ /// Deletes a iosLobApp.
+ /// Find more info here
///
/// A
public Command BuildDeleteCommand()
{
var command = new Command("delete");
- command.Description = "Deletes a windowsMicrosoftEdgeApp.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-delete?view=graph-rest-1.0";
+ command.Description = "Deletes a iosLobApp.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-delete?view=graph-rest-1.0";
var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") {
};
mobileAppIdOption.IsRequired = true;
@@ -147,14 +147,14 @@ public Command BuildDeleteCommand()
return command;
}
///
- /// Read properties and relationships of the macOSOfficeSuiteApp object.
- /// Find more info here
+ /// Read properties and relationships of the windowsUniversalAppX object.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Read properties and relationships of the macOSOfficeSuiteApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the windowsUniversalAppX object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-windowsuniversalappx-get?view=graph-rest-1.0";
var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") {
};
mobileAppIdOption.IsRequired = true;
@@ -596,14 +596,14 @@ public Command BuildGraphWindowsWebAppByIdNavCommand()
return command;
}
///
- /// Update the properties of a iosStoreApp object.
- /// Find more info here
+ /// Update the properties of a windowsMicrosoftEdgeApp object.
+ /// Find more info here
///
/// A
public Command BuildPatchCommand()
{
var command = new Command("patch");
- command.Description = "Update the properties of a iosStoreApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-iosstoreapp-update?view=graph-rest-1.0";
+ command.Description = "Update the properties of a windowsMicrosoftEdgeApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-windowsmicrosoftedgeapp-update?view=graph-rest-1.0";
var mobileAppIdOption = new Option("--mobile-app-id", description: "The unique identifier of mobileApp") {
};
mobileAppIdOption.IsRequired = true;
@@ -662,7 +662,7 @@ public MobileAppItemRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppMa
{
}
///
- /// Deletes a windowsMicrosoftEdgeApp.
+ /// Deletes a iosLobApp.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -681,7 +681,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the macOSOfficeSuiteApp object.
+ /// Read properties and relationships of the windowsUniversalAppX object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -700,7 +700,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a iosStoreApp object.
+ /// Update the properties of a windowsMicrosoftEdgeApp object.
///
/// A
/// The request body
@@ -721,7 +721,7 @@ public RequestInformation ToPatchRequestInformation(MobileApp body, Action
- /// Read properties and relationships of the macOSOfficeSuiteApp object.
+ /// Read properties and relationships of the windowsUniversalAppX object.
///
public class MobileAppItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs
index 5db102147c..add2c4f21f 100644
--- a/src/generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs
+++ b/src/generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs
@@ -90,14 +90,14 @@ public Command BuildCountNavCommand()
return command;
}
///
- /// Create a new macOSOfficeSuiteApp object.
- /// Find more info here
+ /// Create a new iosLobApp object.
+ /// Find more info here
///
/// A
public Command BuildCreateCommand()
{
var command = new Command("create");
- command.Description = "Create a new macOSOfficeSuiteApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-macosofficesuiteapp-create?view=graph-rest-1.0";
+ command.Description = "Create a new iosLobApp object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-ioslobapp-create?view=graph-rest-1.0";
var bodyOption = new Option("--body", description: "The request body") {
};
bodyOption.IsRequired = true;
@@ -504,14 +504,14 @@ public Command BuildGraphWindowsWebAppNavCommand()
return command;
}
///
- /// List properties and relationships of the windowsMobileMSI objects.
- /// Find more info here
+ /// List properties and relationships of the macOSLobApp objects.
+ /// Find more info here
///
/// A
public Command BuildListCommand()
{
var command = new Command("list");
- command.Description = "List properties and relationships of the windowsMobileMSI objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-windowsmobilemsi-list?view=graph-rest-1.0";
+ command.Description = "List properties and relationships of the macOSLobApp objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-apps-macoslobapp-list?view=graph-rest-1.0";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -615,7 +615,7 @@ public MobileAppsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceAppManag
{
}
///
- /// List properties and relationships of the windowsMobileMSI objects.
+ /// List properties and relationships of the macOSLobApp objects.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -634,7 +634,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new macOSOfficeSuiteApp object.
+ /// Create a new iosLobApp object.
///
/// A
/// The request body
@@ -655,7 +655,7 @@ public RequestInformation ToPostRequestInformation(MobileApp body, Action
- /// List properties and relationships of the windowsMobileMSI objects.
+ /// List properties and relationships of the macOSLobApp objects.
///
public class MobileAppsRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs
index 4333229664..def47c504d 100644
--- a/src/generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs
+++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs
@@ -64,14 +64,14 @@ public Command BuildCountNavCommand()
return command;
}
///
- /// Create a new windows10MobileCompliancePolicy object.
- /// Find more info here
+ /// Create a new windows81CompliancePolicy object.
+ /// Find more info here
///
/// A
public Command BuildCreateCommand()
{
var command = new Command("create");
- command.Description = "Create a new windows10MobileCompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-create?view=graph-rest-1.0";
+ command.Description = "Create a new windows81CompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-create?view=graph-rest-1.0";
var bodyOption = new Option("--body", description: "The request body") {
};
bodyOption.IsRequired = true;
@@ -110,14 +110,14 @@ public Command BuildCreateCommand()
return command;
}
///
- /// List properties and relationships of the macOSCompliancePolicy objects.
- /// Find more info here
+ /// List properties and relationships of the windows81CompliancePolicy objects.
+ /// Find more info here
///
/// A
public Command BuildListCommand()
{
var command = new Command("list");
- command.Description = "List properties and relationships of the macOSCompliancePolicy objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-macoscompliancepolicy-list?view=graph-rest-1.0";
+ command.Description = "List properties and relationships of the windows81CompliancePolicy objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-list?view=graph-rest-1.0";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -221,7 +221,7 @@ public DeviceCompliancePoliciesRequestBuilder(string rawUrl) : base("{+baseurl}/
{
}
///
- /// List properties and relationships of the macOSCompliancePolicy objects.
+ /// List properties and relationships of the windows81CompliancePolicy objects.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -240,7 +240,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new windows10MobileCompliancePolicy object.
+ /// Create a new windows81CompliancePolicy object.
///
/// A
/// The request body
@@ -261,7 +261,7 @@ public RequestInformation ToPostRequestInformation(DeviceCompliancePolicy body,
return requestInfo;
}
///
- /// List properties and relationships of the macOSCompliancePolicy objects.
+ /// List properties and relationships of the windows81CompliancePolicy objects.
///
public class DeviceCompliancePoliciesRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs
index 99acf01f72..8c8dc47746 100644
--- a/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs
+++ b/src/generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs
@@ -75,14 +75,14 @@ public Command BuildAssignNavCommand()
return command;
}
///
- /// Deletes a iosCompliancePolicy.
- /// Find more info here
+ /// Deletes a windows10MobileCompliancePolicy.
+ /// Find more info here
///
/// A
public Command BuildDeleteCommand()
{
var command = new Command("delete");
- command.Description = "Deletes a iosCompliancePolicy.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscompliancepolicy-delete?view=graph-rest-1.0";
+ command.Description = "Deletes a windows10MobileCompliancePolicy.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-delete?view=graph-rest-1.0";
var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") {
};
deviceCompliancePolicyIdOption.IsRequired = true;
@@ -184,14 +184,14 @@ public Command BuildDeviceStatusOverviewNavCommand()
return command;
}
///
- /// Read properties and relationships of the windows81CompliancePolicy object.
- /// Find more info here
+ /// Read properties and relationships of the androidWorkProfileCompliancePolicy object.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Read properties and relationships of the windows81CompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows81compliancepolicy-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the androidWorkProfileCompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-get?view=graph-rest-1.0";
var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") {
};
deviceCompliancePolicyIdOption.IsRequired = true;
@@ -237,14 +237,14 @@ public Command BuildGetCommand()
return command;
}
///
- /// Update the properties of a androidWorkProfileCompliancePolicy object.
- /// Find more info here
+ /// Update the properties of a windows10MobileCompliancePolicy object.
+ /// Find more info here
///
/// A
public Command BuildPatchCommand()
{
var command = new Command("patch");
- command.Description = "Update the properties of a androidWorkProfileCompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecompliancepolicy-update?view=graph-rest-1.0";
+ command.Description = "Update the properties of a windows10MobileCompliancePolicy object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10mobilecompliancepolicy-update?view=graph-rest-1.0";
var deviceCompliancePolicyIdOption = new Option("--device-compliance-policy-id", description: "The unique identifier of deviceCompliancePolicy") {
};
deviceCompliancePolicyIdOption.IsRequired = true;
@@ -393,7 +393,7 @@ public DeviceCompliancePolicyItemRequestBuilder(string rawUrl) : base("{+baseurl
{
}
///
- /// Deletes a iosCompliancePolicy.
+ /// Deletes a windows10MobileCompliancePolicy.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -412,7 +412,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the windows81CompliancePolicy object.
+ /// Read properties and relationships of the androidWorkProfileCompliancePolicy object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -431,7 +431,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a androidWorkProfileCompliancePolicy object.
+ /// Update the properties of a windows10MobileCompliancePolicy object.
///
/// A
/// The request body
@@ -452,7 +452,7 @@ public RequestInformation ToPatchRequestInformation(DeviceCompliancePolicy body,
return requestInfo;
}
///
- /// Read properties and relationships of the windows81CompliancePolicy object.
+ /// Read properties and relationships of the androidWorkProfileCompliancePolicy object.
///
public class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs
index b3e23a71ba..924a8ab599 100644
--- a/src/generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs
+++ b/src/generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs
@@ -63,14 +63,14 @@ public Command BuildCountNavCommand()
return command;
}
///
- /// Create a new windows10CustomConfiguration object.
- /// Find more info here
+ /// Create a new windowsPhone81GeneralConfiguration object.
+ /// Find more info here
///
/// A
public Command BuildCreateCommand()
{
var command = new Command("create");
- command.Description = "Create a new windows10CustomConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10customconfiguration-create?view=graph-rest-1.0";
+ command.Description = "Create a new windowsPhone81GeneralConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsphone81generalconfiguration-create?view=graph-rest-1.0";
var bodyOption = new Option("--body", description: "The request body") {
};
bodyOption.IsRequired = true;
@@ -109,14 +109,14 @@ public Command BuildCreateCommand()
return command;
}
///
- /// List properties and relationships of the macOSGeneralDeviceConfiguration objects.
- /// Find more info here
+ /// List properties and relationships of the macOSDeviceFeaturesConfiguration objects.
+ /// Find more info here
///
/// A
public Command BuildListCommand()
{
var command = new Command("list");
- command.Description = "List properties and relationships of the macOSGeneralDeviceConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-macosgeneraldeviceconfiguration-list?view=graph-rest-1.0";
+ command.Description = "List properties and relationships of the macOSDeviceFeaturesConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-macosdevicefeaturesconfiguration-list?view=graph-rest-1.0";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -220,7 +220,7 @@ public DeviceConfigurationsRequestBuilder(string rawUrl) : base("{+baseurl}/devi
{
}
///
- /// List properties and relationships of the macOSGeneralDeviceConfiguration objects.
+ /// List properties and relationships of the macOSDeviceFeaturesConfiguration objects.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -239,7 +239,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new windows10CustomConfiguration object.
+ /// Create a new windowsPhone81GeneralConfiguration object.
///
/// A
/// The request body
@@ -260,7 +260,7 @@ public RequestInformation ToPostRequestInformation(DeviceConfiguration body, Act
return requestInfo;
}
///
- /// List properties and relationships of the macOSGeneralDeviceConfiguration objects.
+ /// List properties and relationships of the macOSDeviceFeaturesConfiguration objects.
///
public class DeviceConfigurationsRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs
index fc28269cc5..939b43723a 100644
--- a/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs
+++ b/src/generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs
@@ -74,14 +74,14 @@ public Command BuildAssignNavCommand()
return command;
}
///
- /// Deletes a iosDeviceFeaturesConfiguration.
- /// Find more info here
+ /// Deletes a iosCustomConfiguration.
+ /// Find more info here
///
/// A
public Command BuildDeleteCommand()
{
var command = new Command("delete");
- command.Description = "Deletes a iosDeviceFeaturesConfiguration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-iosdevicefeaturesconfiguration-delete?view=graph-rest-1.0";
+ command.Description = "Deletes a iosCustomConfiguration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-ioscustomconfiguration-delete?view=graph-rest-1.0";
var deviceConfigurationIdOption = new Option("--device-configuration-id", description: "The unique identifier of deviceConfiguration") {
};
deviceConfigurationIdOption.IsRequired = true;
@@ -183,14 +183,14 @@ public Command BuildDeviceStatusOverviewNavCommand()
return command;
}
///
- /// Read properties and relationships of the androidCustomConfiguration object.
- /// Find more info here
+ /// Read properties and relationships of the windows10GeneralConfiguration object.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Read properties and relationships of the androidCustomConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidcustomconfiguration-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the windows10GeneralConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windows10generalconfiguration-get?view=graph-rest-1.0";
var deviceConfigurationIdOption = new Option("--device-configuration-id", description: "The unique identifier of deviceConfiguration") {
};
deviceConfigurationIdOption.IsRequired = true;
@@ -253,14 +253,14 @@ public Command BuildGetOmaSettingPlainTextValueWithSecretReferenceValueIdRbComma
return command;
}
///
- /// Update the properties of a androidWorkProfileCustomConfiguration object.
- /// Find more info here
+ /// Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.
+ /// Find more info here
///
/// A
public Command BuildPatchCommand()
{
var command = new Command("patch");
- command.Description = "Update the properties of a androidWorkProfileCustomConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-androidworkprofilecustomconfiguration-update?view=graph-rest-1.0";
+ command.Description = "Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration-update?view=graph-rest-1.0";
var deviceConfigurationIdOption = new Option("--device-configuration-id", description: "The unique identifier of deviceConfiguration") {
};
deviceConfigurationIdOption.IsRequired = true;
@@ -365,7 +365,7 @@ public DeviceConfigurationItemRequestBuilder(string rawUrl) : base("{+baseurl}/d
{
}
///
- /// Deletes a iosDeviceFeaturesConfiguration.
+ /// Deletes a iosCustomConfiguration.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -384,7 +384,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the androidCustomConfiguration object.
+ /// Read properties and relationships of the windows10GeneralConfiguration object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -403,7 +403,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a androidWorkProfileCustomConfiguration object.
+ /// Update the properties of a windowsDefenderAdvancedThreatProtectionConfiguration object.
///
/// A
/// The request body
@@ -424,7 +424,7 @@ public RequestInformation ToPatchRequestInformation(DeviceConfiguration body, Ac
return requestInfo;
}
///
- /// Read properties and relationships of the androidCustomConfiguration object.
+ /// Read properties and relationships of the windows10GeneralConfiguration object.
///
public class DeviceConfigurationItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs
index 7cdd09f53c..c0a78a84b8 100644
--- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs
+++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs
@@ -58,14 +58,14 @@ public Command BuildCountNavCommand()
return command;
}
///
- /// Create a new deviceEnrollmentLimitConfiguration object.
- /// Find more info here
+ /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
+ /// Find more info here
///
/// A
public Command BuildCreateCommand()
{
var command = new Command("create");
- command.Description = "Create a new deviceEnrollmentLimitConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-create?view=graph-rest-1.0";
+ command.Description = "Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-create?view=graph-rest-1.0";
var bodyOption = new Option("--body", description: "The request body") {
};
bodyOption.IsRequired = true;
@@ -104,14 +104,14 @@ public Command BuildCreateCommand()
return command;
}
///
- /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.
- /// Find more info here
+ /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects.
+ /// Find more info here
///
/// A
public Command BuildListCommand()
{
var command = new Command("list");
- command.Description = "List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-list?view=graph-rest-1.0";
+ command.Description = "List properties and relationships of the deviceEnrollmentLimitConfiguration objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-list?view=graph-rest-1.0";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -215,7 +215,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl) : base("{+bas
{
}
///
- /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.
+ /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -234,7 +234,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new deviceEnrollmentLimitConfiguration object.
+ /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
///
/// A
/// The request body
@@ -255,7 +255,7 @@ public RequestInformation ToPostRequestInformation(DeviceEnrollmentConfiguration
return requestInfo;
}
///
- /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects.
+ /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects.
///
public class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs
index da1074a1d4..8eab6a3473 100644
--- a/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs
+++ b/src/generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs
@@ -69,14 +69,14 @@ public Command BuildAssignNavCommand()
return command;
}
///
- /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
- /// Find more info here
+ /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.
+ /// Find more info here
///
/// A
public Command BuildDeleteCommand()
{
var command = new Command("delete");
- command.Description = "Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-delete?view=graph-rest-1.0";
+ command.Description = "Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-delete?view=graph-rest-1.0";
var deviceEnrollmentConfigurationIdOption = new Option("--device-enrollment-configuration-id", description: "The unique identifier of deviceEnrollmentConfiguration") {
};
deviceEnrollmentConfigurationIdOption.IsRequired = true;
@@ -105,14 +105,14 @@ public Command BuildDeleteCommand()
return command;
}
///
- /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
- /// Find more info here
+ /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the deviceEnrollmentLimitConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-get?view=graph-rest-1.0";
var deviceEnrollmentConfigurationIdOption = new Option("--device-enrollment-configuration-id", description: "The unique identifier of deviceEnrollmentConfiguration") {
};
deviceEnrollmentConfigurationIdOption.IsRequired = true;
@@ -158,14 +158,14 @@ public Command BuildGetCommand()
return command;
}
///
- /// Update the properties of a deviceEnrollmentLimitConfiguration object.
- /// Find more info here
+ /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
+ /// Find more info here
///
/// A
public Command BuildPatchCommand()
{
var command = new Command("patch");
- command.Description = "Update the properties of a deviceEnrollmentLimitConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentlimitconfiguration-update?view=graph-rest-1.0";
+ command.Description = "Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration-update?view=graph-rest-1.0";
var deviceEnrollmentConfigurationIdOption = new Option("--device-enrollment-configuration-id", description: "The unique identifier of deviceEnrollmentConfiguration") {
};
deviceEnrollmentConfigurationIdOption.IsRequired = true;
@@ -241,7 +241,7 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(string rawUrl) : base("{+
{
}
///
- /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
+ /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -260,7 +260,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -279,7 +279,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a deviceEnrollmentLimitConfiguration object.
+ /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
///
/// A
/// The request body
@@ -300,7 +300,7 @@ public RequestInformation ToPatchRequestInformation(DeviceEnrollmentConfiguratio
return requestInfo;
}
///
- /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object.
///
public class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/generated/DeviceManagement/DeviceManagementRequestBuilder.cs
index 8f03686718..4651cc6de0 100644
--- a/src/generated/DeviceManagement/DeviceManagementRequestBuilder.cs
+++ b/src/generated/DeviceManagement/DeviceManagementRequestBuilder.cs
@@ -438,13 +438,13 @@ public Command BuildExchangeConnectorsNavCommand()
}
///
/// Read properties and relationships of the deviceManagement object.
- /// Find more info here
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Read properties and relationships of the deviceManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-remoteassistance-devicemanagement-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the deviceManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-gpanalyticsservice-devicemanagement-get?view=graph-rest-1.0";
var selectOption = new Option("--select", description: "Select properties to be returned") {
Arity = ArgumentArity.ZeroOrMore
};
@@ -682,13 +682,13 @@ public Command BuildNotificationMessageTemplatesNavCommand()
}
///
/// Update the properties of a deviceManagement object.
- /// Find more info here
+ /// Find more info here
///
/// A
public Command BuildPatchCommand()
{
var command = new Command("patch");
- command.Description = "Update the properties of a deviceManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-onboarding-devicemanagement-update?view=graph-rest-1.0";
+ command.Description = "Update the properties of a deviceManagement object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-rbac-devicemanagement-update?view=graph-rest-1.0";
var bodyOption = new Option("--body", description: "The request body") {
};
bodyOption.IsRequired = true;
diff --git a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs
index 2c36b547ac..2830bf6c92 100644
--- a/src/generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs
+++ b/src/generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs
@@ -59,14 +59,14 @@ public Command BuildDeleteCommand()
return command;
}
///
- /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
- /// Find more info here
+ /// Read properties and relationships of the roleDefinition object.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Read properties and relationships of the deviceAndAppManagementRoleDefinition object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-get?view=graph-rest-1.0";
+ command.Description = "Read properties and relationships of the roleDefinition object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-get?view=graph-rest-1.0";
var roleDefinitionIdOption = new Option("--role-definition-id", description: "The unique identifier of roleDefinition") {
};
roleDefinitionIdOption.IsRequired = true;
@@ -224,7 +224,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
+ /// Read properties and relationships of the roleDefinition object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -264,7 +264,7 @@ public RequestInformation ToPatchRequestInformation(ApiSdk.Models.RoleDefinition
return requestInfo;
}
///
- /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
+ /// Read properties and relationships of the roleDefinition object.
///
public class RoleDefinitionItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs
index 5259428952..7ac24bd916 100644
--- a/src/generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs
+++ b/src/generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs
@@ -102,14 +102,14 @@ public Command BuildCreateCommand()
return command;
}
///
- /// List properties and relationships of the roleDefinition objects.
- /// Find more info here
+ /// List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
+ /// Find more info here
///
/// A
public Command BuildListCommand()
{
var command = new Command("list");
- command.Description = "List properties and relationships of the roleDefinition objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-rbac-roledefinition-list?view=graph-rest-1.0";
+ command.Description = "List properties and relationships of the deviceAndAppManagementRoleDefinition objects.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/intune-rbac-deviceandappmanagementroledefinition-list?view=graph-rest-1.0";
var topOption = new Option("--top", description: "Show only the first n items") {
};
topOption.IsRequired = false;
@@ -213,7 +213,7 @@ public RoleDefinitionsRequestBuilder(string rawUrl) : base("{+baseurl}/deviceMan
{
}
///
- /// List properties and relationships of the roleDefinition objects.
+ /// List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -253,7 +253,7 @@ public RequestInformation ToPostRequestInformation(ApiSdk.Models.RoleDefinition
return requestInfo;
}
///
- /// List properties and relationships of the roleDefinition objects.
+ /// List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
///
public class RoleDefinitionsRequestBuilderGetQueryParameters
{
diff --git a/src/generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs
index a78e50ea55..28828eb035 100644
--- a/src/generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs
+++ b/src/generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs
@@ -122,14 +122,14 @@ public Command BuildGetCommand()
return command;
}
///
- /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
- /// Find more info here
+ /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
+ /// Find more info here
///
/// A
public Command BuildPatchCommand()
{
var command = new Command("patch");
- command.Description = "Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-lockorunlockrecord?view=graph-rest-1.0";
+ command.Description = "Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0";
var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") {
};
driveIdOption.IsRequired = true;
@@ -232,7 +232,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
+ /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
///
/// A
/// The request body
diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs
index 9c68a88d84..ebe90b80c6 100644
--- a/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs
+++ b/src/generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs
@@ -22,14 +22,14 @@ namespace ApiSdk.Drives.Item.Items.Item.Workbook.Names.Item.RangeNamespace
public class RangeRequestBuilder : BaseCliRequestBuilder
{
///
- /// Retrieve the properties and relationships of range object.
- /// Find more info here
+ /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Retrieve the properties and relationships of range object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0";
+ command.Description = "Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0";
var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") {
};
driveIdOption.IsRequired = true;
@@ -87,7 +87,7 @@ public RangeRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}
{
}
///
- /// Retrieve the properties and relationships of range object.
+ /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs
index 97d6c9a23b..570aca59eb 100644
--- a/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs
+++ b/src/generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs
@@ -22,14 +22,14 @@ namespace ApiSdk.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.Rang
public class RangeRequestBuilder : BaseCliRequestBuilder
{
///
- /// Retrieve the properties and relationships of range object.
- /// Find more info here
+ /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Retrieve the properties and relationships of range object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/range-get?view=graph-rest-1.0";
+ command.Description = "Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/nameditem-range?view=graph-rest-1.0";
var driveIdOption = new Option("--drive-id", description: "The unique identifier of drive") {
};
driveIdOption.IsRequired = true;
@@ -93,7 +93,7 @@ public RangeRequestBuilder(string rawUrl) : base("{+baseurl}/drives/{drive%2Did}
{
}
///
- /// Retrieve the properties and relationships of range object.
+ /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs
index b4d36d1cca..002f4ee8e2 100644
--- a/src/generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs
+++ b/src/generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs
@@ -66,14 +66,14 @@ public Command BuildCountNavCommand()
return command;
}
///
- /// Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication.
+ /// Create a new assignment. Only teachers in a class can create an assignment. Assignments start in draft status, which means that students can't see the assignment until it's published.
/// Find more info here
///
/// A
public Command BuildCreateCommand()
{
var command = new Command("create");
- command.Description = "Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationclass-post-assignment?view=graph-rest-1.0";
+ command.Description = "Create a new assignment. Only teachers in a class can create an assignment. Assignments start in draft status, which means that students can't see the assignment until it's published.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationclass-post-assignment?view=graph-rest-1.0";
var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") {
};
educationClassIdOption.IsRequired = true;
@@ -271,7 +271,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication.
+ /// Create a new assignment. Only teachers in a class can create an assignment. Assignments start in draft status, which means that students can't see the assignment until it's published.
///
/// A
/// The request body
diff --git a/src/generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs b/src/generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs
index e4c393cf0a..93390953b7 100644
--- a/src/generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs
+++ b/src/generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs
@@ -22,14 +22,14 @@ namespace ApiSdk.Education.Classes.Item.Assignments.Item.Publish
public class PublishRequestBuilder : BaseCliRequestBuilder
{
///
- /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
+ /// Publish an education assignment. Change the status of an educationAssignment from its original draft status to the published status. You can change the status from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The status of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
/// Find more info here
///
/// A
public Command BuildPostCommand()
{
var command = new Command("post");
- command.Description = "Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0";
+ command.Description = "Publish an education assignment. Change the status of an educationAssignment from its original draft status to the published status. You can change the status from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The status of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0";
var educationClassIdOption = new Option("--education-class-id", description: "The unique identifier of educationClass") {
};
educationClassIdOption.IsRequired = true;
@@ -81,7 +81,7 @@ public PublishRequestBuilder(string rawUrl) : base("{+baseurl}/education/classes
{
}
///
- /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
+ /// Publish an education assignment. Change the status of an educationAssignment from its original draft status to the published status. You can change the status from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The status of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs b/src/generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs
index 440b40e8a8..0687641a10 100644
--- a/src/generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs
+++ b/src/generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs
@@ -22,14 +22,14 @@ namespace ApiSdk.Education.Me.Assignments.Item.Publish
public class PublishRequestBuilder : BaseCliRequestBuilder
{
///
- /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
+ /// Publish an education assignment. Change the status of an educationAssignment from its original draft status to the published status. You can change the status from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The status of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
/// Find more info here
///
/// A
public Command BuildPostCommand()
{
var command = new Command("post");
- command.Description = "Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0";
+ command.Description = "Publish an education assignment. Change the status of an educationAssignment from its original draft status to the published status. You can change the status from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The status of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0";
var educationAssignmentIdOption = new Option("--education-assignment-id", description: "The unique identifier of educationAssignment") {
};
educationAssignmentIdOption.IsRequired = true;
@@ -75,7 +75,7 @@ public PublishRequestBuilder(string rawUrl) : base("{+baseurl}/education/me/assi
{
}
///
- /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
+ /// Publish an education assignment. Change the status of an educationAssignment from its original draft status to the published status. You can change the status from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The status of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs b/src/generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs
index bcc5cfe7ad..160e607380 100644
--- a/src/generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs
+++ b/src/generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs
@@ -22,14 +22,14 @@ namespace ApiSdk.Education.Users.Item.Assignments.Item.Publish
public class PublishRequestBuilder : BaseCliRequestBuilder
{
///
- /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
+ /// Publish an education assignment. Change the status of an educationAssignment from its original draft status to the published status. You can change the status from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The status of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
/// Find more info here
///
/// A
public Command BuildPostCommand()
{
var command = new Command("post");
- command.Description = "Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0";
+ command.Description = "Publish an education assignment. Change the status of an educationAssignment from its original draft status to the published status. You can change the status from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The status of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/educationassignment-publish?view=graph-rest-1.0";
var educationUserIdOption = new Option("--education-user-id", description: "The unique identifier of educationUser") {
};
educationUserIdOption.IsRequired = true;
@@ -81,7 +81,7 @@ public PublishRequestBuilder(string rawUrl) : base("{+baseurl}/education/users/{
{
}
///
- /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
+ /// Publish an education assignment. Change the status of an educationAssignment from its original draft status to the published status. You can change the status from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The status of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/generated/GraphClient.cs b/src/generated/GraphClient.cs
index 7b48e656f4..9d0ace4b76 100644
--- a/src/generated/GraphClient.cs
+++ b/src/generated/GraphClient.cs
@@ -65,6 +65,7 @@
using ApiSdk.Shares;
using ApiSdk.Sites;
using ApiSdk.Solutions;
+using ApiSdk.Storage;
using ApiSdk.SubscribedSkus;
using ApiSdk.Subscriptions;
using ApiSdk.Teams;
@@ -1291,6 +1292,7 @@ public Command BuildIdentityNavCommand()
var nonExecCommands = new List();
nonExecCommands.Add(builder.BuildApiConnectorsNavCommand());
nonExecCommands.Add(builder.BuildAuthenticationEventListenersNavCommand());
+ nonExecCommands.Add(builder.BuildAuthenticationEventsFlowsNavCommand());
nonExecCommands.Add(builder.BuildB2xUserFlowsNavCommand());
nonExecCommands.Add(builder.BuildConditionalAccessNavCommand());
nonExecCommands.Add(builder.BuildCustomAuthenticationExtensionsNavCommand());
@@ -1878,6 +1880,7 @@ public Command BuildRootCommand()
command.AddCommand(BuildSharesNavCommand());
command.AddCommand(BuildSitesNavCommand());
command.AddCommand(BuildSolutionsNavCommand());
+ command.AddCommand(BuildStorageNavCommand());
command.AddCommand(BuildSubscribedSkusNavCommand());
command.AddCommand(BuildSubscriptionsNavCommand());
command.AddCommand(BuildTeamsNavCommand());
@@ -2139,6 +2142,30 @@ public Command BuildSolutionsNavCommand()
return command;
}
///
+ /// Provides operations to manage the storage singleton.
+ ///
+ /// A
+ public Command BuildStorageNavCommand()
+ {
+ var command = new Command("storage");
+ command.Description = "Provides operations to manage the storage singleton.";
+ var builder = new StorageRequestBuilder(PathParameters);
+ var execCommands = new List();
+ var nonExecCommands = new List();
+ nonExecCommands.Add(builder.BuildFileStorageNavCommand());
+ execCommands.Add(builder.BuildGetCommand());
+ execCommands.Add(builder.BuildPatchCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ foreach (var cmd in nonExecCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
/// Provides operations to manage the collection of subscribedSku entities.
///
/// A
diff --git a/src/generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs
index 084cac2d1d..d00e91e52d 100644
--- a/src/generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs
+++ b/src/generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs
@@ -55,14 +55,14 @@ public Command BuildCountNavCommand()
return command;
}
///
- /// Use reply thread or reply post to further post to that conversation.
- /// Find more info here
+ /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ /// Find more info here
///
/// A
public Command BuildCreateCommand()
{
var command = new Command("create");
- command.Description = "Use reply thread or reply post to further post to that conversation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-post-conversations?view=graph-rest-1.0";
+ command.Description = "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-1.0";
var groupIdOption = new Option("--group-id", description: "The unique identifier of group") {
};
groupIdOption.IsRequired = true;
@@ -236,7 +236,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Use reply thread or reply post to further post to that conversation.
+ /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
///
/// A
/// The request body
diff --git a/src/generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs
index 1573f9449f..7bab9cc665 100644
--- a/src/generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs
+++ b/src/generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs
@@ -24,13 +24,13 @@ public class ConversationItemRequestBuilder : BaseCliRequestBuilder
{
///
/// Delete conversation.
- /// Find more info here
+ /// Find more info here
///
/// A
public Command BuildDeleteCommand()
{
var command = new Command("delete");
- command.Description = "Delete conversation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-delete-conversation?view=graph-rest-1.0";
+ command.Description = "Delete conversation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversation-delete?view=graph-rest-1.0";
var groupIdOption = new Option("--group-id", description: "The unique identifier of group") {
};
groupIdOption.IsRequired = true;
@@ -65,14 +65,14 @@ public Command BuildDeleteCommand()
return command;
}
///
- /// Retrieve the properties and relationships of conversation object.
- /// Find more info here
+ /// The group's conversations.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Retrieve the properties and relationships of conversation object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-1.0";
+ command.Description = "The group's conversations.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-get-conversation?view=graph-rest-1.0";
var groupIdOption = new Option("--group-id", description: "The unique identifier of group") {
};
groupIdOption.IsRequired = true;
@@ -177,7 +177,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Retrieve the properties and relationships of conversation object.
+ /// The group's conversations.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -196,7 +196,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Retrieve the properties and relationships of conversation object.
+ /// The group's conversations.
///
public class ConversationItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs
index 5e454817ed..4cd32b55c8 100644
--- a/src/generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs
+++ b/src/generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs
@@ -25,13 +25,13 @@ public class ConversationThreadItemRequestBuilder : BaseCliRequestBuilder
{
///
/// Delete conversationThread.
- /// Find more info here
+ /// Find more info here
///
/// A
public Command BuildDeleteCommand()
{
var command = new Command("delete");
- command.Description = "Delete conversationThread.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-1.0";
+ command.Description = "Delete conversationThread.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversationthread-delete?view=graph-rest-1.0";
var groupIdOption = new Option("--group-id", description: "The unique identifier of group") {
};
groupIdOption.IsRequired = true;
@@ -66,14 +66,14 @@ public Command BuildDeleteCommand()
return command;
}
///
- /// Get a thread object.
- /// Find more info here
+ /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
+ /// Find more info here
///
/// A
public Command BuildGetCommand()
{
var command = new Command("get");
- command.Description = "Get a thread object.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/group-get-thread?view=graph-rest-1.0";
+ command.Description = "Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. \n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversationthread-get?view=graph-rest-1.0";
var groupIdOption = new Option("--group-id", description: "The unique identifier of group") {
};
groupIdOption.IsRequired = true;
@@ -252,7 +252,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get a thread object.
+ /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -292,7 +292,7 @@ public RequestInformation ToPatchRequestInformation(ConversationThread body, Act
return requestInfo;
}
///
- /// Get a thread object.
+ /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation.
///
public class ConversationThreadItemRequestBuilderGetQueryParameters
{
diff --git a/src/generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs b/src/generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs
index 476839898f..c0e674cdde 100644
--- a/src/generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs
+++ b/src/generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs
@@ -58,14 +58,14 @@ public Command BuildCountNavCommand()
return command;
}
///
- /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.
- /// Find more info here
+ /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation.
+ /// Find more info here
///
/// A
public Command BuildListCommand()
{
var command = new Command("list");
- command.Description = "Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/post-get?view=graph-rest-1.0";
+ command.Description = "Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/conversationthread-list-posts?view=graph-rest-1.0";
var groupIdOption = new Option("--group-id", description: "The unique identifier of group") {
};
groupIdOption.IsRequired = true;
@@ -181,7 +181,7 @@ public PostsRequestBuilder(string rawUrl) : base("{+baseurl}/groups/{group%2Did}
{
}
///
- /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.
+ /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -200,7 +200,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance.
+ /// Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation.
///
public class PostsRequestBuilderGetQueryParameters
{
diff --git a/src/generated/Identity/AuthenticationEventsFlows/AuthenticationEventsFlowsRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/AuthenticationEventsFlowsRequestBuilder.cs
new file mode 100644
index 0000000000..79806cbe07
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/AuthenticationEventsFlowsRequestBuilder.cs
@@ -0,0 +1,346 @@
+//
+using ApiSdk.Identity.AuthenticationEventsFlows.Count;
+using ApiSdk.Identity.AuthenticationEventsFlows.GraphExternalUsersSelfServiceSignUpEventsFlow;
+using ApiSdk.Identity.AuthenticationEventsFlows.Item;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows
+{
+ ///
+ /// Provides operations to manage the authenticationEventsFlows property of the microsoft.graph.identityContainer entity.
+ ///
+ public class AuthenticationEventsFlowsRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// Provides operations to manage the authenticationEventsFlows property of the microsoft.graph.identityContainer entity.
+ ///
+ /// A Tuple<List<Command>, List<Command>>
+ public Tuple, List> BuildCommand()
+ {
+ var executables = new List();
+ var commands = new List();
+ var builder = new AuthenticationEventsFlowItemRequestBuilder(PathParameters);
+ commands.Add(builder.BuildConditionsNavCommand());
+ executables.Add(builder.BuildDeleteCommand());
+ executables.Add(builder.BuildGetCommand());
+ commands.Add(builder.BuildGraphExternalUsersSelfServiceSignUpEventsFlowByIdNavCommand());
+ executables.Add(builder.BuildPatchCommand());
+ return new(executables, commands);
+ }
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ /// A
+ public Command BuildCountNavCommand()
+ {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Create a new authenticationEventsFlow object that is of the type specified in the request body. The following derived subtypes are supported:- externalUsersSelfServiceSignupEventsFlow object type.
+ /// Find more info here
+ ///
+ /// A
+ public Command BuildCreateCommand()
+ {
+ var command = new Command("create");
+ command.Description = "Create a new authenticationEventsFlow object that is of the type specified in the request body. The following derived subtypes are supported:- externalUsersSelfServiceSignupEventsFlow object type.\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitycontainer-post-authenticationeventsflows?view=graph-rest-1.0";
+ var bodyOption = new Option("--body", description: "The request body") {
+ };
+ bodyOption.IsRequired = true;
+ command.AddOption(bodyOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ command.SetHandler(async (invocationContext) => {
+ var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty;
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body));
+ var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream);
+ var model = parseNode.GetObjectValue(AuthenticationEventsFlow.CreateFromDiscriminatorValue);
+ if (model is null) {
+ Console.Error.WriteLine("No model data to send.");
+ return;
+ }
+ var requestInfo = ToPostRequestInformation(model, q => {
+ });
+ requestInfo.SetContentFromParsable(reqAdapter, "application/json", model);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ var formatter = outputFormatterFactory.GetFormatter(output);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Casts the previous resource to externalUsersSelfServiceSignUpEventsFlow.
+ ///
+ /// A
+ public Command BuildGraphExternalUsersSelfServiceSignUpEventsFlowNavCommand()
+ {
+ var command = new Command("graph-external-users-self-service-sign-up-events-flow");
+ command.Description = "Casts the previous resource to externalUsersSelfServiceSignUpEventsFlow.";
+ var builder = new GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder(PathParameters);
+ var execCommands = new List();
+ var nonExecCommands = new List();
+ nonExecCommands.Add(builder.BuildCountNavCommand());
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ foreach (var cmd in nonExecCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get a collection of authentication events policies that are derived from authenticationEventsFlow. The following derived subtypes are supported: - externalUsersSelfServiceSignupEventsFlow
+ /// Find more info here
+ ///
+ /// A
+ public Command BuildListCommand()
+ {
+ var command = new Command("list");
+ command.Description = "Get a collection of authentication events policies that are derived from authenticationEventsFlow. The following derived subtypes are supported: - externalUsersSelfServiceSignupEventsFlow\n\nFind more info here:\n https://learn.microsoft.com/graph/api/identitycontainer-list-authenticationeventsflows?view=graph-rest-1.0";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+#nullable enable
+ IOutputFormatter? formatter = null;
+#nullable restore
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public AuthenticationEventsFlowsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public AuthenticationEventsFlowsRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventsFlows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get a collection of authentication events policies that are derived from authenticationEventsFlow. The following derived subtypes are supported: - externalUsersSelfServiceSignupEventsFlow
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Create a new authenticationEventsFlow object that is of the type specified in the request body. The following derived subtypes are supported:- externalUsersSelfServiceSignupEventsFlow object type.
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(AuthenticationEventsFlow body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(AuthenticationEventsFlow body, Action> requestConfiguration = default)
+ {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Get a collection of authentication events policies that are derived from authenticationEventsFlow. The following derived subtypes are supported: - externalUsersSelfServiceSignupEventsFlow
+ ///
+ public class AuthenticationEventsFlowsRequestBuilderGetQueryParameters
+ {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/Identity/AuthenticationEventsFlows/Count/CountRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/Count/CountRequestBuilder.cs
new file mode 100644
index 0000000000..bc9e19999c
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ public Command BuildGetCommand()
+ {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventsFlows/$count{?%24filter,%24search}", rawUrl)
+ {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters
+ {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/Identity/AuthenticationEventsFlows/GraphExternalUsersSelfServiceSignUpEventsFlow/Count/CountRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/GraphExternalUsersSelfServiceSignUpEventsFlow/Count/CountRequestBuilder.cs
new file mode 100644
index 0000000000..5a2e430584
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/GraphExternalUsersSelfServiceSignUpEventsFlow/Count/CountRequestBuilder.cs
@@ -0,0 +1,119 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows.GraphExternalUsersSelfServiceSignUpEventsFlow.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ public Command BuildGetCommand()
+ {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows/graph.externalUsersSelfServiceSignUpEventsFlow/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventsFlows/graph.externalUsersSelfServiceSignUpEventsFlow/$count{?%24filter,%24search}", rawUrl)
+ {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters
+ {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/Identity/AuthenticationEventsFlows/GraphExternalUsersSelfServiceSignUpEventsFlow/GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/GraphExternalUsersSelfServiceSignUpEventsFlow/GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder.cs
new file mode 100644
index 0000000000..d603a36847
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/GraphExternalUsersSelfServiceSignUpEventsFlow/GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder.cs
@@ -0,0 +1,237 @@
+//
+using ApiSdk.Identity.AuthenticationEventsFlows.GraphExternalUsersSelfServiceSignUpEventsFlow.Count;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows.GraphExternalUsersSelfServiceSignUpEventsFlow
+{
+ ///
+ /// Casts the previous resource to externalUsersSelfServiceSignUpEventsFlow.
+ ///
+ public class GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ /// A
+ public Command BuildCountNavCommand()
+ {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Get the items of type microsoft.graph.externalUsersSelfServiceSignUpEventsFlow in the microsoft.graph.authenticationEventsFlow collection
+ ///
+ /// A
+ public Command BuildGetCommand()
+ {
+ var command = new Command("get");
+ command.Description = "Get the items of type microsoft.graph.externalUsersSelfServiceSignUpEventsFlow in the microsoft.graph.authenticationEventsFlow collection";
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+#nullable enable
+ IOutputFormatter? formatter = null;
+#nullable restore
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows/graph.externalUsersSelfServiceSignUpEventsFlow{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventsFlows/graph.externalUsersSelfServiceSignUpEventsFlow{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get the items of type microsoft.graph.externalUsersSelfServiceSignUpEventsFlow in the microsoft.graph.authenticationEventsFlow collection
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Get the items of type microsoft.graph.externalUsersSelfServiceSignUpEventsFlow in the microsoft.graph.authenticationEventsFlow collection
+ ///
+ public class GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilderGetQueryParameters
+ {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/Identity/AuthenticationEventsFlows/Item/AuthenticationEventsFlowItemRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/Item/AuthenticationEventsFlowItemRequestBuilder.cs
new file mode 100644
index 0000000000..25a6ef01ef
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/Item/AuthenticationEventsFlowItemRequestBuilder.cs
@@ -0,0 +1,315 @@
+//
+using ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions;
+using ApiSdk.Identity.AuthenticationEventsFlows.Item.GraphExternalUsersSelfServiceSignUpEventsFlow;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows.Item
+{
+ ///
+ /// Provides operations to manage the authenticationEventsFlows property of the microsoft.graph.identityContainer entity.
+ ///
+ public class AuthenticationEventsFlowItemRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// The conditions property
+ ///
+ /// A
+ public Command BuildConditionsNavCommand()
+ {
+ var command = new Command("conditions");
+ command.Description = "The conditions property";
+ var builder = new ConditionsRequestBuilder(PathParameters);
+ var execCommands = new List();
+ var nonExecCommands = new List();
+ nonExecCommands.Add(builder.BuildApplicationsNavCommand());
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ foreach (var cmd in nonExecCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Delete a specific authenticationEventsFlow resource by ID. This operation also removes or unlinks all applications from the flow, which disables the customized authentication experience defined for the application. The following derived subtypes are supported:- externalUsersSelfServiceSignupEventsFlow
+ /// Find more info here
+ ///
+ /// A
+ public Command BuildDeleteCommand()
+ {
+ var command = new Command("delete");
+ command.Description = "Delete a specific authenticationEventsFlow resource by ID. This operation also removes or unlinks all applications from the flow, which disables the customized authentication experience defined for the application. The following derived subtypes are supported:- externalUsersSelfServiceSignupEventsFlow\n\nFind more info here:\n https://learn.microsoft.com/graph/api/authenticationeventsflow-delete?view=graph-rest-1.0";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var ifMatchOption = new Option("--if-match", description: "ETag") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ ifMatchOption.IsRequired = false;
+ command.AddOption(ifMatchOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption);
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToDeleteRequestInformation(q => {
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken);
+ Console.WriteLine("Success");
+ });
+ return command;
+ }
+ ///
+ /// Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. The @odata.type property in the response object indicates the type of the object, which can be one of the following derived subtypes:- externalUsersSelfServiceSignupEventsFlow
+ /// Find more info here
+ ///
+ /// A
+ public Command BuildGetCommand()
+ {
+ var command = new Command("get");
+ command.Description = "Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. The @odata.type property in the response object indicates the type of the object, which can be one of the following derived subtypes:- externalUsersSelfServiceSignupEventsFlow\n\nFind more info here:\n https://learn.microsoft.com/graph/api/authenticationeventsflow-get?view=graph-rest-1.0";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ var formatter = outputFormatterFactory.GetFormatter(output);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Casts the previous resource to externalUsersSelfServiceSignUpEventsFlow.
+ ///
+ /// A
+ public Command BuildGraphExternalUsersSelfServiceSignUpEventsFlowByIdNavCommand()
+ {
+ var command = new Command("graph-external-users-self-service-sign-up-events-flow-by-id");
+ command.Description = "Casts the previous resource to externalUsersSelfServiceSignUpEventsFlow.";
+ var builder = new GraphExternalUsersSelfServiceSignUpEventsFlowRequestBuilder(PathParameters);
+ var execCommands = new List();
+ var nonExecCommands = new List();
+ nonExecCommands.Add(builder.BuildConditionsNavCommand());
+ execCommands.Add(builder.BuildGetCommand());
+ nonExecCommands.Add(builder.BuildOnAttributeCollectionNavCommand());
+ nonExecCommands.Add(builder.BuildOnAuthenticationMethodLoadStartNavCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ foreach (var cmd in nonExecCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Update the properties of an authenticationEventsFlow object by ID. You must specify the @odata.type property and the value of the authenticationEventsFlow object type to update. The following derived subtypes are supported:- externalUsersSelfServiceSignupEventsFlow
+ /// Find more info here
+ ///
+ /// A
+ public Command BuildPatchCommand()
+ {
+ var command = new Command("patch");
+ command.Description = "Update the properties of an authenticationEventsFlow object by ID. You must specify the @odata.type property and the value of the authenticationEventsFlow object type to update. The following derived subtypes are supported:- externalUsersSelfServiceSignupEventsFlow\n\nFind more info here:\n https://learn.microsoft.com/graph/api/authenticationeventsflow-update?view=graph-rest-1.0";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var bodyOption = new Option("--body", description: "The request body") {
+ };
+ bodyOption.IsRequired = true;
+ command.AddOption(bodyOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty;
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body));
+ var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream);
+ var model = parseNode.GetObjectValue(AuthenticationEventsFlow.CreateFromDiscriminatorValue);
+ if (model is null) {
+ Console.Error.WriteLine("No model data to send.");
+ return;
+ }
+ var requestInfo = ToPatchRequestInformation(model, q => {
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ requestInfo.SetContentFromParsable(reqAdapter, "application/json", model);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ var formatter = outputFormatterFactory.GetFormatter(output);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public AuthenticationEventsFlowItemRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}{?%24expand,%24select}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public AuthenticationEventsFlowItemRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete a specific authenticationEventsFlow resource by ID. This operation also removes or unlinks all applications from the flow, which disables the customized authentication experience defined for the application. The following derived subtypes are supported:- externalUsersSelfServiceSignupEventsFlow
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. The @odata.type property in the response object indicates the type of the object, which can be one of the following derived subtypes:- externalUsersSelfServiceSignupEventsFlow
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Update the properties of an authenticationEventsFlow object by ID. You must specify the @odata.type property and the value of the authenticationEventsFlow object type to update. The following derived subtypes are supported:- externalUsersSelfServiceSignupEventsFlow
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(AuthenticationEventsFlow body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(AuthenticationEventsFlow body, Action> requestConfiguration = default)
+ {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Retrieve the properties and relationships of a specific authenticationEventsFlow object by ID. The @odata.type property in the response object indicates the type of the object, which can be one of the following derived subtypes:- externalUsersSelfServiceSignupEventsFlow
+ ///
+ public class AuthenticationEventsFlowItemRequestBuilderGetQueryParameters
+ {
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/ApplicationsRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/ApplicationsRequestBuilder.cs
new file mode 100644
index 0000000000..1f49adc0f2
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/ApplicationsRequestBuilder.cs
@@ -0,0 +1,62 @@
+//
+using ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions.Applications.IncludeApplications;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions.Applications
+{
+ ///
+ /// Builds and executes requests for operations under \identity\authenticationEventsFlows\{authenticationEventsFlow-id}\conditions\applications
+ ///
+ public class ApplicationsRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity.
+ ///
+ /// A
+ public Command BuildIncludeApplicationsNavCommand()
+ {
+ var command = new Command("include-applications");
+ command.Description = "Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity.";
+ var builder = new IncludeApplicationsRequestBuilder(PathParameters);
+ var execCommands = new List();
+ var nonExecCommands = new List();
+ nonExecCommands.Add(builder.BuildCountNavCommand());
+ execCommands.Add(builder.BuildCreateCommand());
+ execCommands.Add(builder.BuildListCommand());
+ var cmds = builder.BuildCommand();
+ execCommands.AddRange(cmds.Item1);
+ nonExecCommands.AddRange(cmds.Item2);
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ foreach (var cmd in nonExecCommands.OrderBy(static c => c.Name, StringComparer.Ordinal))
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public ApplicationsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public ApplicationsRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications", rawUrl)
+ {
+ }
+ }
+}
diff --git a/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Count/CountRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Count/CountRequestBuilder.cs
new file mode 100644
index 0000000000..1523b1f834
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Count/CountRequestBuilder.cs
@@ -0,0 +1,125 @@
+//
+using ApiSdk.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions.Applications.IncludeApplications.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ public Command BuildGetCommand()
+ {
+ var command = new Command("get");
+ command.Description = "Get the number of the resource";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ var formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public CountRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public CountRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/$count{?%24filter,%24search}", rawUrl)
+ {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters
+ {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilder.cs
new file mode 100644
index 0000000000..e159673096
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/IncludeApplicationsRequestBuilder.cs
@@ -0,0 +1,329 @@
+//
+using ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions.Applications.IncludeApplications.Count;
+using ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions.Applications.IncludeApplications.Item;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions.Applications.IncludeApplications
+{
+ ///
+ /// Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity.
+ ///
+ public class IncludeApplicationsRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity.
+ ///
+ /// A Tuple<List<Command>, List<Command>>
+ public Tuple, List> BuildCommand()
+ {
+ var executables = new List();
+ var builder = new AuthenticationConditionApplicationAppItemRequestBuilder(PathParameters);
+ executables.Add(builder.BuildDeleteCommand());
+ executables.Add(builder.BuildGetCommand());
+ executables.Add(builder.BuildPatchCommand());
+ return new(executables, new(0));
+ }
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ /// A
+ public Command BuildCountNavCommand()
+ {
+ var command = new Command("count");
+ command.Description = "Provides operations to count the resources in the collection.";
+ var builder = new CountRequestBuilder(PathParameters);
+ var execCommands = new List();
+ execCommands.Add(builder.BuildGetCommand());
+ foreach (var cmd in execCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// Create new navigation property to includeApplications for identity
+ ///
+ /// A
+ public Command BuildCreateCommand()
+ {
+ var command = new Command("create");
+ command.Description = "Create new navigation property to includeApplications for identity";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var bodyOption = new Option("--body", description: "The request body") {
+ };
+ bodyOption.IsRequired = true;
+ command.AddOption(bodyOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty;
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body));
+ var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream);
+ var model = parseNode.GetObjectValue(AuthenticationConditionApplication.CreateFromDiscriminatorValue);
+ if (model is null) {
+ Console.Error.WriteLine("No model data to send.");
+ return;
+ }
+ var requestInfo = ToPostRequestInformation(model, q => {
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ requestInfo.SetContentFromParsable(reqAdapter, "application/json", model);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ var formatter = outputFormatterFactory.GetFormatter(output);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Get includeApplications from identity
+ ///
+ /// A
+ public Command BuildListCommand()
+ {
+ var command = new Command("list");
+ command.Description = "Get includeApplications from identity";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var topOption = new Option("--top", description: "Show only the first n items") {
+ };
+ topOption.IsRequired = false;
+ command.AddOption(topOption);
+ var skipOption = new Option("--skip", description: "Skip the first n items") {
+ };
+ skipOption.IsRequired = false;
+ command.AddOption(skipOption);
+ var searchOption = new Option("--search", description: "Search items by search phrases") {
+ };
+ searchOption.IsRequired = false;
+ command.AddOption(searchOption);
+ var filterOption = new Option("--filter", description: "Filter items by property values") {
+ };
+ filterOption.IsRequired = false;
+ command.AddOption(filterOption);
+ var countOption = new Option("--count", description: "Include count of items") {
+ };
+ countOption.IsRequired = false;
+ command.AddOption(countOption);
+ var orderbyOption = new Option("--orderby", description: "Order items by property values") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ orderbyOption.IsRequired = false;
+ command.AddOption(orderbyOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ var allOption = new Option("--all");
+ command.AddOption(allOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var top = invocationContext.ParseResult.GetValueForOption(topOption);
+ var skip = invocationContext.ParseResult.GetValueForOption(skipOption);
+ var search = invocationContext.ParseResult.GetValueForOption(searchOption);
+ var filter = invocationContext.ParseResult.GetValueForOption(filterOption);
+ var count = invocationContext.ParseResult.GetValueForOption(countOption);
+ var orderby = invocationContext.ParseResult.GetValueForOption(orderbyOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ var all = invocationContext.ParseResult.GetValueForOption(allOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ IPagingService pagingService = invocationContext.BindingContext.GetService(typeof(IPagingService)) as IPagingService ?? throw new ArgumentNullException("pagingService");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Top = top;
+ q.QueryParameters.Skip = skip;
+ if (!string.IsNullOrEmpty(search)) q.QueryParameters.Search = search;
+ if (!string.IsNullOrEmpty(filter)) q.QueryParameters.Filter = filter;
+ q.QueryParameters.Count = count;
+ q.QueryParameters.Orderby = orderby;
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var pagingData = new PageLinkData(requestInfo, null, itemName: "value", nextLinkName: "@odata.nextLink");
+ var pageResponse = await pagingService.GetPagedDataAsync((info, token) => reqAdapter.SendNoContentAsync(info, cancellationToken: token), pagingData, all, cancellationToken);
+ var response = pageResponse?.Response;
+#nullable enable
+ IOutputFormatter? formatter = null;
+#nullable restore
+ if (pageResponse?.StatusCode >= 200 && pageResponse?.StatusCode < 300) {
+ formatter = outputFormatterFactory.GetFormatter(output);
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ } else {
+ formatter = outputFormatterFactory.GetFormatter(FormatterType.TEXT);
+ }
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public IncludeApplicationsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public IncludeApplicationsRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get includeApplications from identity
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Create new navigation property to includeApplications for identity
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(AuthenticationConditionApplication body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(AuthenticationConditionApplication body, Action> requestConfiguration = default)
+ {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Get includeApplications from identity
+ ///
+ public class IncludeApplicationsRequestBuilderGetQueryParameters
+ {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ }
+}
diff --git a/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Item/AuthenticationConditionApplicationAppItemRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Item/AuthenticationConditionApplicationAppItemRequestBuilder.cs
new file mode 100644
index 0000000000..508524e6af
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/Applications/IncludeApplications/Item/AuthenticationConditionApplicationAppItemRequestBuilder.cs
@@ -0,0 +1,280 @@
+//
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions.Applications.IncludeApplications.Item
+{
+ ///
+ /// Provides operations to manage the includeApplications property of the microsoft.graph.authenticationConditionsApplications entity.
+ ///
+ public class AuthenticationConditionApplicationAppItemRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// Delete navigation property includeApplications for identity
+ ///
+ /// A
+ public Command BuildDeleteCommand()
+ {
+ var command = new Command("delete");
+ command.Description = "Delete navigation property includeApplications for identity";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var authenticationConditionApplicationAppIdOption = new Option("--authentication-condition-application-app-id", description: "The unique identifier of authenticationConditionApplication") {
+ };
+ authenticationConditionApplicationAppIdOption.IsRequired = true;
+ command.AddOption(authenticationConditionApplicationAppIdOption);
+ var ifMatchOption = new Option("--if-match", description: "ETag") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ ifMatchOption.IsRequired = false;
+ command.AddOption(ifMatchOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var authenticationConditionApplicationAppId = invocationContext.ParseResult.GetValueForOption(authenticationConditionApplicationAppIdOption);
+ var ifMatch = invocationContext.ParseResult.GetValueForOption(ifMatchOption);
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToDeleteRequestInformation(q => {
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ if (authenticationConditionApplicationAppId is not null) requestInfo.PathParameters.Add("authenticationConditionApplication%2DappId", authenticationConditionApplicationAppId);
+ if (ifMatch is not null) requestInfo.Headers.Add("If-Match", ifMatch);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await reqAdapter.SendNoContentAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken);
+ Console.WriteLine("Success");
+ });
+ return command;
+ }
+ ///
+ /// Get includeApplications from identity
+ ///
+ /// A
+ public Command BuildGetCommand()
+ {
+ var command = new Command("get");
+ command.Description = "Get includeApplications from identity";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var authenticationConditionApplicationAppIdOption = new Option("--authentication-condition-application-app-id", description: "The unique identifier of authenticationConditionApplication") {
+ };
+ authenticationConditionApplicationAppIdOption.IsRequired = true;
+ command.AddOption(authenticationConditionApplicationAppIdOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var authenticationConditionApplicationAppId = invocationContext.ParseResult.GetValueForOption(authenticationConditionApplicationAppIdOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ if (authenticationConditionApplicationAppId is not null) requestInfo.PathParameters.Add("authenticationConditionApplication%2DappId", authenticationConditionApplicationAppId);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ var formatter = outputFormatterFactory.GetFormatter(output);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Update the navigation property includeApplications in identity
+ ///
+ /// A
+ public Command BuildPatchCommand()
+ {
+ var command = new Command("patch");
+ command.Description = "Update the navigation property includeApplications in identity";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var authenticationConditionApplicationAppIdOption = new Option("--authentication-condition-application-app-id", description: "The unique identifier of authenticationConditionApplication") {
+ };
+ authenticationConditionApplicationAppIdOption.IsRequired = true;
+ command.AddOption(authenticationConditionApplicationAppIdOption);
+ var bodyOption = new Option("--body", description: "The request body") {
+ };
+ bodyOption.IsRequired = true;
+ command.AddOption(bodyOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var authenticationConditionApplicationAppId = invocationContext.ParseResult.GetValueForOption(authenticationConditionApplicationAppIdOption);
+ var body = invocationContext.ParseResult.GetValueForOption(bodyOption) ?? string.Empty;
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ using var stream = new MemoryStream(Encoding.UTF8.GetBytes(body));
+ var parseNode = ParseNodeFactoryRegistry.DefaultInstance.GetRootParseNode("application/json", stream);
+ var model = parseNode.GetObjectValue(AuthenticationConditionApplication.CreateFromDiscriminatorValue);
+ if (model is null) {
+ Console.Error.WriteLine("No model data to send.");
+ return;
+ }
+ var requestInfo = ToPatchRequestInformation(model, q => {
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ if (authenticationConditionApplicationAppId is not null) requestInfo.PathParameters.Add("authenticationConditionApplication%2DappId", authenticationConditionApplicationAppId);
+ requestInfo.SetContentFromParsable(reqAdapter, "application/json", model);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ var formatter = outputFormatterFactory.GetFormatter(output);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public AuthenticationConditionApplicationAppItemRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}{?%24expand,%24select}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ public AuthenticationConditionApplicationAppItemRequestBuilder(string rawUrl) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property includeApplications for identity
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Get includeApplications from identity
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Update the navigation property includeApplications in identity
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(AuthenticationConditionApplication body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(AuthenticationConditionApplication body, Action> requestConfiguration = default)
+ {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Get includeApplications from identity
+ ///
+ public class AuthenticationConditionApplicationAppItemRequestBuilderGetQueryParameters
+ {
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ }
+ }
+}
diff --git a/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/ConditionsRequestBuilder.cs b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/ConditionsRequestBuilder.cs
new file mode 100644
index 0000000000..231451dee0
--- /dev/null
+++ b/src/generated/Identity/AuthenticationEventsFlows/Item/Conditions/ConditionsRequestBuilder.cs
@@ -0,0 +1,154 @@
+//
+using ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions.Applications;
+using ApiSdk.Models.ODataErrors;
+using ApiSdk.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using Microsoft.Kiota.Cli.Commons.Extensions;
+using Microsoft.Kiota.Cli.Commons.IO;
+using Microsoft.Kiota.Cli.Commons;
+using System.Collections.Generic;
+using System.CommandLine;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace ApiSdk.Identity.AuthenticationEventsFlows.Item.Conditions
+{
+ ///
+ /// Builds and executes requests for operations under \identity\authenticationEventsFlows\{authenticationEventsFlow-id}\conditions
+ ///
+ public class ConditionsRequestBuilder : BaseCliRequestBuilder
+ {
+ ///
+ /// The applications property
+ ///
+ /// A
+ public Command BuildApplicationsNavCommand()
+ {
+ var command = new Command("applications");
+ command.Description = "The applications property";
+ var builder = new ApplicationsRequestBuilder(PathParameters);
+ var nonExecCommands = new List();
+ nonExecCommands.Add(builder.BuildIncludeApplicationsNavCommand());
+ foreach (var cmd in nonExecCommands)
+ {
+ command.AddCommand(cmd);
+ }
+ return command;
+ }
+ ///
+ /// The conditions representing the context of the authentication request that's used to decide whether the events policy is invoked.
+ ///
+ /// A
+ public Command BuildGetCommand()
+ {
+ var command = new Command("get");
+ command.Description = "The conditions representing the context of the authentication request that's used to decide whether the events policy is invoked.";
+ var authenticationEventsFlowIdOption = new Option("--authentication-events-flow-id", description: "The unique identifier of authenticationEventsFlow") {
+ };
+ authenticationEventsFlowIdOption.IsRequired = true;
+ command.AddOption(authenticationEventsFlowIdOption);
+ var selectOption = new Option("--select", description: "Select properties to be returned") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ selectOption.IsRequired = false;
+ command.AddOption(selectOption);
+ var expandOption = new Option("--expand", description: "Expand related entities") {
+ Arity = ArgumentArity.ZeroOrMore
+ };
+ expandOption.IsRequired = false;
+ command.AddOption(expandOption);
+ var outputOption = new Option("--output", () => FormatterType.JSON);
+ command.AddOption(outputOption);
+ var queryOption = new Option("--query");
+ command.AddOption(queryOption);
+ command.SetHandler(async (invocationContext) => {
+ var authenticationEventsFlowId = invocationContext.ParseResult.GetValueForOption(authenticationEventsFlowIdOption);
+ var select = invocationContext.ParseResult.GetValueForOption(selectOption);
+ var expand = invocationContext.ParseResult.GetValueForOption(expandOption);
+ var output = invocationContext.ParseResult.GetValueForOption(outputOption);
+ var query = invocationContext.ParseResult.GetValueForOption(queryOption);
+ IOutputFilter outputFilter = invocationContext.BindingContext.GetService(typeof(IOutputFilter)) as IOutputFilter ?? throw new ArgumentNullException("outputFilter");
+ IOutputFormatterFactory outputFormatterFactory = invocationContext.BindingContext.GetService(typeof(IOutputFormatterFactory)) as IOutputFormatterFactory ?? throw new ArgumentNullException("outputFormatterFactory");
+ var cancellationToken = invocationContext.GetCancellationToken();
+ var reqAdapter = invocationContext.GetRequestAdapter();
+ var requestInfo = ToGetRequestInformation(q => {
+ q.QueryParameters.Select = select;
+ q.QueryParameters.Expand = expand;
+ });
+ if (authenticationEventsFlowId is not null) requestInfo.PathParameters.Add("authenticationEventsFlow%2Did", authenticationEventsFlowId);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ var response = await reqAdapter.SendPrimitiveAsync(requestInfo, errorMapping: errorMapping, cancellationToken: cancellationToken) ?? Stream.Null;
+ response = (response != Stream.Null) ? await outputFilter.FilterOutputAsync(response, query, cancellationToken) : response;
+ var formatter = outputFormatterFactory.GetFormatter(output);
+ await formatter.WriteOutputAsync(response, cancellationToken);
+ });
+ return command;
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ public ConditionsRequestBuilder(Dictionary pathParameters) : base("{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions{?%24expand,%24select}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new