diff --git a/src/Microsoft.Graph/Generated/AccessReviews/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AccessReviews/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs
index c499e8a00282..296a67fb18f4 100644
--- a/src/Microsoft.Graph/Generated/AccessReviews/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/AccessReviews/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs
@@ -34,7 +34,7 @@ public ApplyDecisionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
}
///
- /// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
+ /// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights don't appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -57,7 +57,7 @@ public async Task PostAsync(Action>
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
+ /// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights don't appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/AccessReviews/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AccessReviews/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs
index 510e2c1bd66c..4036ef0b9c11 100644
--- a/src/Microsoft.Graph/Generated/AccessReviews/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/AccessReviews/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs
@@ -34,7 +34,7 @@ public ApplyDecisionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
}
///
- /// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
+ /// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights don't appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -56,7 +56,7 @@ public async Task PostAsync(Action>
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights do not appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
+ /// In the Microsoft Entra access reviews feature, apply the decisions of a completed accessReview. The target object can be either a one-time access review, or an instance of a recurring access review. After an access review is finished, either because it reached the end date or an administrator stopped it manually, and auto-apply wasn't configured for the review, you can call Apply to apply the changes. Until apply occurs, the decisions to remove access rights don't appear on the source resource, the users for instance retain their group memberships. By calling apply, the outcome of the review is implemented by updating the group or application. If a user's access was denied in the review, when an administrator calls this API, Microsoft Entra ID removes their membership or application assignment. After an access review is finished, and auto-apply was configured, then the status of the review will change from Completed through intermediate states and finally will change to state Applied. You should expect to see denied users, if any, being removed from the resource group membership or app assignment in a few minutes. A configured auto applying review, or selecting Apply doesn't have an effect on a group that originates in an on-premises directory or a dynamic group. If you want to change a group that originates on-premises, download the results and apply those changes to the representation of the group in that directory.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.cs
index 7ee3a04d61b1..b6fd888c9e73 100644
--- a/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/Item/ProfilePropertySettingItemRequestBuilder.cs
@@ -35,7 +35,7 @@ public ProfilePropertySettingItemRequestBuilder(string rawUrl, IRequestAdapter r
{
}
///
- /// Delete a profilePropertySetting object.
+ /// Delete a profilePropertySetting object. You shouldn't delete a profilePropertySetting that includes a source precedence configuration. Instead, patch it to a default state that contains only the Microsoft Entra ID source reference. This delete operation is supported but fails unless the prioritizedSourceUrls property contains only the Entra ID source reference.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ProfilePropertySetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Delete a profilePropertySetting object.
+ /// Delete a profilePropertySetting object. You shouldn't delete a profilePropertySetting that includes a source precedence configuration. Instead, patch it to a default state that contains only the Microsoft Entra ID source reference. This delete operation is supported but fails unless the prioritizedSourceUrls property contains only the Entra ID source reference.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.cs
index 185fb1687b1d..0f752d9293c2 100644
--- a/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/People/ProfilePropertySettings/ProfilePropertySettingsRequestBuilder.cs
@@ -54,7 +54,7 @@ public ProfilePropertySettingsRequestBuilder(string rawUrl, IRequestAdapter requ
{
}
///
- /// Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely.
+ /// Get a collection of profilePropertySetting objects that define the configuration for user profile property settings in an organization. The id property identifies each resource object uniquely.
/// Find more info here
///
/// A
@@ -104,7 +104,7 @@ public ProfilePropertySettingsRequestBuilder(string rawUrl, IRequestAdapter requ
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ProfilePropertySetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely.
+ /// Get a collection of profilePropertySetting objects that define the configuration for user profile property settings in an organization. The id property identifies each resource object uniquely.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -154,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.Admin.People.ProfilePropertySettings.ProfilePropertySettingsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get a collection of profilePropertySetting objects that define the configuration for user profile properties in an organization. The id property identifies each resource object uniquely.
+ /// Get a collection of profilePropertySetting objects that define the configuration for user profile property settings in an organization. The id property identifies each resource object uniquely.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ProfilePropertySettingsRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs
index 3879027230b0..4111e803eeef 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs
@@ -34,7 +34,7 @@ public IncidentReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
}
///
- /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
/// Find more info here
///
/// A
@@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs
index 2c20da0ef1db..4213df0afe50 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs
@@ -34,7 +34,7 @@ public IncidentReportRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
}
///
- /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
/// Find more info here
///
/// A
@@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document does not exist for the issue.
+ /// Provide the Post-Incident Review (PIR) document of a specified service issue for tenant. An issue only with status of PostIncidentReviewPublished indicates that the PIR document exists for the issue. The operation returns an error if the specified issue doesn't exist for the tenant or if PIR document doesn't exist for the issue.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs
index 5e307619868d..8a3b0e3d421d 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs
@@ -63,7 +63,7 @@ public async Task DeleteAsync(Action
- /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
+ /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
/// Find more info here
///
/// A
@@ -131,7 +131,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
+ /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -189,7 +189,7 @@ public partial class ServiceHealthIssueItemRequestBuilderDeleteRequestConfigurat
{
}
///
- /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant.
+ /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue doesn't exist for the tenant.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ServiceHealthIssueItemRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs
index 465f4573c053..9eacfb65bcbd 100644
--- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs
@@ -69,7 +69,7 @@ public async Task DeleteAsync(Action
- /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
+ /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
/// Find more info here
///
/// A
@@ -137,7 +137,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
+ /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -195,7 +195,7 @@ public partial class ServiceUpdateMessageItemRequestBuilderDeleteRequestConfigur
{
}
///
- /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant.
+ /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message doesn't exist for the tenant.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ServiceUpdateMessageItemRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
index 0561c673bffe..1a9422ca749e 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(string rawUrl, IRequ
{
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.D
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
index 4e5c03945280..34db3bec2ff1 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(string rawUrl, IRequ
{
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.D
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs
index a20ccac8a37e..e3491fb1dc58 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/DeploymentAudiences/Item/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder(string rawUr
{
}
///
- /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
+ /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it doesn't already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.D
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
+ /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it doesn't already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
index b1e7a388b0cb..a13d7c4b323b 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(string rawUrl, IRequ
{
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.D
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
index 4416d12b2282..c9585a37f7f5 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(string rawUrl, IRequ
{
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.D
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs
index bf59c2ec70de..7c6b588bed6b 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/Deployments/Item/Audience/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder(string rawUr
{
}
///
- /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
+ /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it doesn't already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.D
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
+ /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it doesn't already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
index 6738a5c91112..59f00cd78420 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(string rawUrl, IRequ
{
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.U
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/MicrosoftGraphWindowsUpdatesEnrollAssets/MicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/MicrosoftGraphWindowsUpdatesEnrollAssets/MicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder.cs
index 0a389fa64226..8c14002e69bb 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/MicrosoftGraphWindowsUpdatesEnrollAssets/MicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/MicrosoftGraphWindowsUpdatesEnrollAssets/MicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesEnrollAssetsRequestBuilder(string rawUrl, IRe
{
}
///
- /// Enroll updatableAsset resources in update management by Windows Autopatch. You can enroll an azureADDevice resource in update management, but may not enroll an updatableAssetGroup in update management. Enrolling a Microsoft Entra device in update management automatically creates an azureADDevice object if it does not already exist. You can also use the method enrollAssetsById to enroll assets.
+ /// Enroll updatableAsset resources in update management by Windows Autopatch. You can enroll an azureADDevice resource in update management, but may not enroll an updatableAssetGroup in update management. Enrolling a Microsoft Entra device in update management automatically creates an azureADDevice object if it doesn't already exist. You can also use the method enrollAssetsById to enroll assets.
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -58,7 +58,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.U
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Enroll updatableAsset resources in update management by Windows Autopatch. You can enroll an azureADDevice resource in update management, but may not enroll an updatableAssetGroup in update management. Enrolling a Microsoft Entra device in update management automatically creates an azureADDevice object if it does not already exist. You can also use the method enrollAssetsById to enroll assets.
+ /// Enroll updatableAsset resources in update management by Windows Autopatch. You can enroll an azureADDevice resource in update management, but may not enroll an updatableAssetGroup in update management. Enrolling a Microsoft Entra device in update management automatically creates an azureADDevice object if it doesn't already exist. You can also use the method enrollAssetsById to enroll assets.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
index 2478ec92d477..eca1e89ac127 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/Exclusions/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(string rawUrl, IRequ
{
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.U
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
index aae79d7641a9..771ca7448e15 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/Members/Item/MicrosoftGraphWindowsUpdatesAddMembers/MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesAddMembersRequestBuilder(string rawUrl, IRequ
{
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.U
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it does not already exist. You can also use the method addMembersById to add members.
+ /// Add members to an updatableAssetGroup. You can add azureADDevice resources as members, but may not add updatableAssetGroup resources as members. Adding a Microsoft Entra device as a member of an updatable asset group automatically creates an azureADDevice object, if it doesn't already exist. You can also use the method addMembersById to add members.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs
index 0ca82bd70808..a0f7fef4e485 100644
--- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/Audience/MicrosoftGraphWindowsUpdatesUpdateAudienceById/MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder.cs
@@ -34,7 +34,7 @@ public MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder(string rawUr
{
}
///
- /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
+ /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it doesn't already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
/// Find more info here
///
/// The request body
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Windows.Updates.U
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it does not already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
+ /// Update the members and exclusions collections of a deploymentAudience with updatableAsset resources of the same type. Adding an azureADDevice to the members or exclusions collections of a deployment audience automatically creates a Microsoft Entra device object if it doesn't already exist. If the same updatableAsset gets included in the exclusions and members collections of a deploymentAudience, deployment will not apply to that asset. You can also use the method updateAudience to update the deploymentAudience.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyPostRequestBody.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyPostRequestBody.cs
new file mode 100644
index 000000000000..d7ec9427f8c7
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyPostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class AdmitAllFromLobbyPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The clientContext property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#nullable restore
+#else
+ public string ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AdmitAllFromLobbyPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "clientContext", n => { ClientContext = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("clientContext", ClientContext);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyRequestBuilder.cs
new file mode 100644
index 000000000000..0dcaf722df9c
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby
+{
+ ///
+ /// Provides operations to call the admitAllFromLobby method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AdmitAllFromLobbyRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public AdmitAllFromLobbyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/admitAllFromLobby", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public AdmitAllFromLobbyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/admitAllFromLobby", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action admitAllFromLobby
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AdmitAllFromLobbyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action admitAllFromLobby
+ ///
+ /// 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(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AdmitAllFromLobbyRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyPostRequestBody.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyPostRequestBody.cs
new file mode 100644
index 000000000000..232e058792f1
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyPostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class AdmitFromLobbyPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The clientContext property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#nullable restore
+#else
+ public string ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AdmitFromLobbyPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "clientContext", n => { ClientContext = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("clientContext", ClientContext);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyRequestBuilder.cs
new file mode 100644
index 000000000000..0a685b28f7bd
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby
+{
+ ///
+ /// Provides operations to call the admitFromLobby method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AdmitFromLobbyRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public AdmitFromLobbyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/{participant%2Did}/admitFromLobby", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public AdmitFromLobbyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/{participant%2Did}/admitFromLobby", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action admitFromLobby
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AdmitFromLobbyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action admitFromLobby
+ ///
+ /// 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(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AdmitFromLobbyRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs
index 685316b4d08d..d31c52cb72f7 100644
--- a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs
@@ -1,6 +1,8 @@
//
#pragma warning disable CS0618
+using Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby;
using Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.Mute;
+using Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby;
using Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.StartHoldMusic;
using Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.StopHoldMusic;
using Microsoft.Graph.Beta.Models.ODataErrors;
@@ -21,11 +23,21 @@ namespace Microsoft.Graph.Beta.App.Calls.Item.Participants.Item
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ParticipantItemRequestBuilder : BaseRequestBuilder
{
+ /// Provides operations to call the admitFromLobby method.
+ public global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyRequestBuilder AdmitFromLobby
+ {
+ get => new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the mute method.
public global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.Mute.MuteRequestBuilder Mute
{
get => new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.Mute.MuteRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the removeFromLobby method.
+ public global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyRequestBuilder RemoveFromLobby
+ {
+ get => new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the startHoldMusic method.
public global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.StartHoldMusic.StartHoldMusicRequestBuilder StartHoldMusic
{
diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyPostRequestBody.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyPostRequestBody.cs
new file mode 100644
index 000000000000..3209ad9e7a0f
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyPostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class RemoveFromLobbyPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The clientContext property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#nullable restore
+#else
+ public string ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public RemoveFromLobbyPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "clientContext", n => { ClientContext = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("clientContext", ClientContext);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyRequestBuilder.cs
new file mode 100644
index 000000000000..1d8dbcae5cc7
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby
+{
+ ///
+ /// Provides operations to call the removeFromLobby method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RemoveFromLobbyRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RemoveFromLobbyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/{participant%2Did}/removeFromLobby", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public RemoveFromLobbyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/{participant%2Did}/removeFromLobby", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action removeFromLobby
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RemoveFromLobbyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action removeFromLobby
+ ///
+ /// 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(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RemoveFromLobbyRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/ParticipantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/ParticipantsRequestBuilder.cs
index fff52c53759e..ff3ea5b3c4fc 100644
--- a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/ParticipantsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/ParticipantsRequestBuilder.cs
@@ -1,5 +1,6 @@
//
#pragma warning disable CS0618
+using Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby;
using Microsoft.Graph.Beta.App.Calls.Item.Participants.Count;
using Microsoft.Graph.Beta.App.Calls.Item.Participants.Invite;
using Microsoft.Graph.Beta.App.Calls.Item.Participants.Item;
@@ -22,6 +23,11 @@ namespace Microsoft.Graph.Beta.App.Calls.Item.Participants
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ParticipantsRequestBuilder : BaseRequestBuilder
{
+ /// Provides operations to call the admitAllFromLobby method.
+ public global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyRequestBuilder AdmitAllFromLobby
+ {
+ get => new global::Microsoft.Graph.Beta.App.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to count the resources in the collection.
public global::Microsoft.Graph.Beta.App.Calls.Item.Participants.Count.CountRequestBuilder Count
{
diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs
index d90a26db88e5..ad6fe6e3593a 100644
--- a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs
@@ -1,5 +1,6 @@
//
#pragma warning disable CS0618
+using Microsoft.Graph.Beta.ApplicationTemplates.Categories;
using Microsoft.Graph.Beta.ApplicationTemplates.Count;
using Microsoft.Graph.Beta.ApplicationTemplates.Item;
using Microsoft.Graph.Beta.Models.ODataErrors;
@@ -20,6 +21,11 @@ namespace Microsoft.Graph.Beta.ApplicationTemplates
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ApplicationTemplatesRequestBuilder : BaseRequestBuilder
{
+ /// Provides operations to call the categories method.
+ public global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesRequestBuilder Categories
+ {
+ get => new global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to count the resources in the collection.
public global::Microsoft.Graph.Beta.ApplicationTemplates.Count.CountRequestBuilder Count
{
diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/Categories/CategoriesGetResponse.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Categories/CategoriesGetResponse.cs
new file mode 100644
index 000000000000..b853b96394ca
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Categories/CategoriesGetResponse.cs
@@ -0,0 +1,65 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.ApplicationTemplates.Categories
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class CategoriesGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable
+ #pragma warning restore CS1591
+ {
+ /// The value property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Value
+ {
+ get { return BackingStore?.Get?>("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#nullable restore
+#else
+ public List Value
+ {
+ get { return BackingStore?.Get>("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#endif
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesGetResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesGetResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ApplicationTemplateCategory.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public override void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ base.Serialize(writer);
+ writer.WriteCollectionOfObjectValues("value", Value);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/Categories/CategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Categories/CategoriesRequestBuilder.cs
new file mode 100644
index 000000000000..42ad23a4ecae
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Categories/CategoriesRequestBuilder.cs
@@ -0,0 +1,157 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.ApplicationTemplates.Categories
+{
+ ///
+ /// Provides operations to call the categories method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CategoriesRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CategoriesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applicationTemplates/categories(){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CategoriesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applicationTemplates/categories(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Invoke function categories
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsCategoriesGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsCategoriesGetResponseAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke function categories
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("This method is obsolete. Use GetAsCategoriesGetResponseAsync instead.")]
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke function categories
+ ///
+ /// 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;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Invoke function categories
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CategoriesRequestBuilderGetQueryParameters
+ {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// 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
+ /// 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; }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CategoriesRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/Categories/CategoriesResponse.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Categories/CategoriesResponse.cs
new file mode 100644
index 000000000000..b7067882f962
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Categories/CategoriesResponse.cs
@@ -0,0 +1,28 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.ApplicationTemplates.Categories
+{
+ [Obsolete("This class is obsolete. Use CategoriesGetResponse instead.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class CategoriesResponse : global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesGetResponse, IParsable
+ #pragma warning restore CS1591
+ {
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.ApplicationTemplates.Categories.CategoriesResponse();
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyPostRequestBody.cs
new file mode 100644
index 000000000000..7e64df960af3
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyPostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class AdmitAllFromLobbyPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The clientContext property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#nullable restore
+#else
+ public string ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AdmitAllFromLobbyPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "clientContext", n => { ClientContext = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("clientContext", ClientContext);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyRequestBuilder.cs
new file mode 100644
index 000000000000..f6a82495e145
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/AdmitAllFromLobby/AdmitAllFromLobbyRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby
+{
+ ///
+ /// Provides operations to call the admitAllFromLobby method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AdmitAllFromLobbyRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public AdmitAllFromLobbyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/admitAllFromLobby", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public AdmitAllFromLobbyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/admitAllFromLobby", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action admitAllFromLobby
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AdmitAllFromLobbyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action admitAllFromLobby
+ ///
+ /// 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(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AdmitAllFromLobbyRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyPostRequestBody.cs
new file mode 100644
index 000000000000..31859552e839
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyPostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class AdmitFromLobbyPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The clientContext property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#nullable restore
+#else
+ public string ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AdmitFromLobbyPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "clientContext", n => { ClientContext = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("clientContext", ClientContext);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyRequestBuilder.cs
new file mode 100644
index 000000000000..a5bacb85fdda
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/AdmitFromLobby/AdmitFromLobbyRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby
+{
+ ///
+ /// Provides operations to call the admitFromLobby method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AdmitFromLobbyRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public AdmitFromLobbyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/admitFromLobby", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public AdmitFromLobbyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/admitFromLobby", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action admitFromLobby
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AdmitFromLobbyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action admitFromLobby
+ ///
+ /// 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(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AdmitFromLobbyRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs
index 425c4712dc88..30b2775b4879 100644
--- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs
@@ -1,6 +1,8 @@
//
#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby;
using Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.Mute;
+using Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby;
using Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.StartHoldMusic;
using Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.StopHoldMusic;
using Microsoft.Graph.Beta.Models.ODataErrors;
@@ -21,11 +23,21 @@ namespace Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ParticipantItemRequestBuilder : BaseRequestBuilder
{
+ /// Provides operations to call the admitFromLobby method.
+ public global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyRequestBuilder AdmitFromLobby
+ {
+ get => new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.AdmitFromLobby.AdmitFromLobbyRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the mute method.
public global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.Mute.MuteRequestBuilder Mute
{
get => new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.Mute.MuteRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the removeFromLobby method.
+ public global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyRequestBuilder RemoveFromLobby
+ {
+ get => new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the startHoldMusic method.
public global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.StartHoldMusic.StartHoldMusicRequestBuilder StartHoldMusic
{
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyPostRequestBody.cs
new file mode 100644
index 000000000000..5ecb0b3a53cb
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyPostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class RemoveFromLobbyPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The clientContext property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#nullable restore
+#else
+ public string ClientContext
+ {
+ get { return BackingStore?.Get("clientContext"); }
+ set { BackingStore?.Set("clientContext", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public RemoveFromLobbyPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "clientContext", n => { ClientContext = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("clientContext", ClientContext);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyRequestBuilder.cs
new file mode 100644
index 000000000000..3b34d8b12f89
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/RemoveFromLobby/RemoveFromLobbyRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby
+{
+ ///
+ /// Provides operations to call the removeFromLobby method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RemoveFromLobbyRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RemoveFromLobbyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/removeFromLobby", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public RemoveFromLobbyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/{participant%2Did}/removeFromLobby", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action removeFromLobby
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RemoveFromLobbyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action removeFromLobby
+ ///
+ /// 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(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item.RemoveFromLobby.RemoveFromLobbyRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RemoveFromLobbyRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs
index debe8ae2c6b3..9fda1b0516a7 100644
--- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs
@@ -1,5 +1,6 @@
//
#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby;
using Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Count;
using Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Invite;
using Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Item;
@@ -22,6 +23,11 @@ namespace Microsoft.Graph.Beta.Communications.Calls.Item.Participants
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ParticipantsRequestBuilder : BaseRequestBuilder
{
+ /// Provides operations to call the admitAllFromLobby method.
+ public global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyRequestBuilder AdmitAllFromLobby
+ {
+ get => new global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.AdmitAllFromLobby.AdmitAllFromLobbyRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to count the resources in the collection.
public global::Microsoft.Graph.Beta.Communications.Calls.Item.Participants.Count.CountRequestBuilder Count
{
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs
index a8cea9819fb4..f8d6078406fa 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs
@@ -531,7 +531,7 @@ public async Task DeleteAsync(Action
- /// Get reports from deviceManagement
+ /// Reports singleton
///
/// A
/// Cancellation token to use when cancelling requests
@@ -598,7 +598,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get reports from deviceManagement
+ /// Reports singleton
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -656,7 +656,7 @@ public partial class ReportsRequestBuilderDeleteRequestConfiguration : RequestCo
{
}
///
- /// Get reports from deviceManagement
+ /// Reports singleton
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ReportsRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Apply/ApplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Apply/ApplyPostRequestBody.cs
index 8034c98a3bda..6432a6385dc4 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Apply/ApplyPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Apply/ApplyPostRequestBody.cs
@@ -22,6 +22,12 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The isForceUserLogoffEnabled property
+ public bool? IsForceUserLogoffEnabled
+ {
+ get { return BackingStore?.Get("isForceUserLogoffEnabled"); }
+ set { BackingStore?.Set("isForceUserLogoffEnabled", value); }
+ }
/// The policySettings property
public global::Microsoft.Graph.Beta.Models.CloudPcPolicySettingType? PolicySettings
{
@@ -41,6 +47,7 @@ public ApplyPostRequestBody()
{
BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
AdditionalData = new Dictionary();
+ IsForceUserLogoffEnabled = false;
}
///
/// Creates a new instance of the appropriate class based on discriminator value
@@ -60,6 +67,7 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "isForceUserLogoffEnabled", n => { IsForceUserLogoffEnabled = n.GetBoolValue(); } },
{ "policySettings", n => { PolicySettings = n.GetEnumValue(); } },
{ "reservePercentage", n => { ReservePercentage = n.GetIntValue(); } },
};
@@ -71,6 +79,7 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteBoolValue("isForceUserLogoffEnabled", IsForceUserLogoffEnabled);
writer.WriteEnumValue("policySettings", PolicySettings);
writer.WriteIntValue("reservePercentage", ReservePercentage);
writer.WriteAdditionalData(AdditionalData);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs
index 8cdb2831c125..5ba58361400c 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/CloudPcProvisioningPolicyItemRequestBuilder.cs
@@ -5,6 +5,7 @@
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplyActionResult;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyUpdateStatusResult;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Retry;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.SchedulePolicyApplyTask;
using Microsoft.Graph.Beta.Models.ODataErrors;
@@ -50,6 +51,11 @@ public partial class CloudPcProvisioningPolicyItemRequestBuilder : BaseRequestBu
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyApplySchedule.RetrievePolicyApplyScheduleRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the retrievePolicyUpdateStatusResult method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyUpdateStatusResult.RetrievePolicyUpdateStatusResultRequestBuilder RetrievePolicyUpdateStatusResult
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyUpdateStatusResult.RetrievePolicyUpdateStatusResultRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the retry method.
public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Retry.RetryRequestBuilder Retry
{
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/RetrievePolicyUpdateStatusResult/RetrievePolicyUpdateStatusResultRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/RetrievePolicyUpdateStatusResult/RetrievePolicyUpdateStatusResultRequestBuilder.cs
new file mode 100644
index 000000000000..e6648e5cd8d9
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/RetrievePolicyUpdateStatusResult/RetrievePolicyUpdateStatusResultRequestBuilder.cs
@@ -0,0 +1,99 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyUpdateStatusResult
+{
+ ///
+ /// Provides operations to call the retrievePolicyUpdateStatusResult method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RetrievePolicyUpdateStatusResultRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RetrievePolicyUpdateStatusResultRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/retrievePolicyUpdateStatusResult()", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public RetrievePolicyUpdateStatusResultRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/retrievePolicyUpdateStatusResult()", rawUrl)
+ {
+ }
+ ///
+ /// Retrieve the pending apply status of a provisioning policy to determine whether unapplied changes exist for Cloud PCs.
+ /// Find more info here
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcPolicyPendingApplyStatusResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Retrieve the pending apply status of a provisioning policy to determine whether unapplied changes exist for Cloud PCs.
+ ///
+ /// 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;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyUpdateStatusResult.RetrievePolicyUpdateStatusResultRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.RetrievePolicyUpdateStatusResult.RetrievePolicyUpdateStatusResultRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RetrievePolicyUpdateStatusResultRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Education/Classes/ClassesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/ClassesRequestBuilder.cs
index ffc586aaea42..e8e67cdcc274 100644
--- a/src/Microsoft.Graph/Generated/Education/Classes/ClassesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Classes/ClassesRequestBuilder.cs
@@ -84,7 +84,7 @@ public ClassesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and does not create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API.
+ /// Create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and doesn't create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API.
/// Find more info here
///
/// A
@@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and does not create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API.
+ /// Create a new class. This will also create a universal group. When you use this API to create a class, it will add special properties to the group, which willadd features such as assignments and special handling within Microsoft Teams when teams are created using the group. Please note that this API only creates the universal group and doesn't create a team. Microsoft Teams provides a user interface for teachers to create teams for their own classes using the groups created by this API.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs
index 142570c2a64e..576d11032534 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs
@@ -60,7 +60,7 @@ public AcceptedSendersRequestBuilder(string rawUrl, IRequestAdapter requestAdapt
{
}
///
- /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
+ /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
/// Find more info here
///
/// A
@@ -84,7 +84,7 @@ public AcceptedSendersRequestBuilder(string rawUrl, IRequestAdapter requestAdapt
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
+ /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -112,7 +112,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
+ /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class AcceptedSendersRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs
index 5ef0ed1b2cc9..12f2edb1f3b1 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs
@@ -58,7 +58,7 @@ public async Task DeleteAsync(Action
- /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
+ /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
/// Find more info here
///
/// A
@@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
+ /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -201,7 +201,7 @@ public partial class RefRequestBuilderDeleteRequestConfiguration : RequestConfig
{
}
///
- /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
+ /// Get a list of users or groups that are in the accepted-senders list for this group. Users in the accepted senders list can post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class RefRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..e7663590a95e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/historyItems/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/historyItems/$count{?%24filter,%24search}", rawUrl)
+ {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// 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;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Count.CountRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial 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
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs
new file mode 100644
index 000000000000..c981159308a0
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs
@@ -0,0 +1,238 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Count;
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems
+{
+ ///
+ /// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class HistoryItemsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
+ /// The unique identifier of plannerHistoryItem
+ /// A
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Item.PlannerHistoryItemItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("plannerHistoryItem%2Did", position);
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Item.PlannerHistoryItemItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public HistoryItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/historyItems{?%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.
+ /// The request adapter to use to execute the requests.
+ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/historyItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get historyItems from groups
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Create new navigation property to historyItems for groups
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get historyItems from groups
+ ///
+ /// 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 historyItems for groups
+ ///
+ /// 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(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get historyItems from groups
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class HistoryItemsRequestBuilderGetQueryParameters
+ {
+ /// 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; }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class HistoryItemsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class HistoryItemsRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs
new file mode 100644
index 000000000000..77198b71fb41
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs
@@ -0,0 +1,229 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Item
+{
+ ///
+ /// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerHistoryItemItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public PlannerHistoryItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/historyItems/{plannerHistoryItem%2Did}{?%24expand,%24select}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public PlannerHistoryItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/historyItems/{plannerHistoryItem%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property historyItems for groups
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToDeleteRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get historyItems from groups
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Update the navigation property historyItems in groups
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Delete navigation property historyItems for groups
+ ///
+ /// 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 historyItems from groups
+ ///
+ /// 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 historyItems in groups
+ ///
+ /// 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(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Item.PlannerHistoryItemItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.Item.PlannerHistoryItemItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerHistoryItemItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Get historyItems from groups
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerHistoryItemItemRequestBuilderGetQueryParameters
+ {
+ /// 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
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerHistoryItemItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerHistoryItemItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
index 661dd46aed54..25e39a805aea 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
@@ -4,6 +4,7 @@
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights;
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.MoveToContainer;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Unarchive;
@@ -45,6 +46,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder HistoryItems
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the moveToContainer method.
public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.MoveToContainer.MoveToContainerRequestBuilder MoveToContainer
{
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..5fe3f976ec97
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/historyItems/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/historyItems/$count{?%24filter,%24search}", rawUrl)
+ {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// 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;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Count.CountRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial 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
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs
new file mode 100644
index 000000000000..977f30452168
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/HistoryItemsRequestBuilder.cs
@@ -0,0 +1,238 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Count;
+using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems
+{
+ ///
+ /// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class HistoryItemsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
+ /// The unique identifier of plannerHistoryItem
+ /// A
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Item.PlannerHistoryItemItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("plannerHistoryItem%2Did", position);
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Item.PlannerHistoryItemItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public HistoryItemsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/historyItems{?%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.
+ /// The request adapter to use to execute the requests.
+ public HistoryItemsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/historyItems{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get historyItems from groups
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Create new navigation property to historyItems for groups
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get historyItems from groups
+ ///
+ /// 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 historyItems for groups
+ ///
+ /// 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(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get historyItems from groups
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class HistoryItemsRequestBuilderGetQueryParameters
+ {
+ /// 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; }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class HistoryItemsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class HistoryItemsRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs
new file mode 100644
index 000000000000..ccdf55b4603f
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/HistoryItems/Item/PlannerHistoryItemItemRequestBuilder.cs
@@ -0,0 +1,229 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.Item
+{
+ ///
+ /// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerHistoryItemItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public PlannerHistoryItemItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/historyItems/{plannerHistoryItem%2Did}{?%24expand,%24select}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public PlannerHistoryItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/historyItems/{plannerHistoryItem%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property historyItems for groups
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToDeleteRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get historyItems from groups
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Update the navigation property historyItems in groups
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.PlannerHistoryItem body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///