diff --git a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs
index abf51c4a45d..cb12b94d37a 100644
--- a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs
@@ -27,7 +27,7 @@ namespace Microsoft.Graph.Admin
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class AdminRequestBuilder : BaseRequestBuilder
{
- /// Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity.
+ /// The configurationManagement property
public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder ConfigurationManagement
{
get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder(PathParameters, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs
index 4e81390ff7a..26b6946d85c 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/ConfigurationDriftsRequestBuilder.cs
@@ -78,31 +78,6 @@ public ConfigurationDriftsRequestBuilder(string rawUrl, IRequestAdapter requestA
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationDriftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to configurationDrifts for admin
- ///
- /// 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.Models.ConfigurationDrift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationDrift 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get a list of the configurationDrift objects and their properties.
///
/// A
@@ -122,28 +97,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to configurationDrifts for admin
- ///
- /// 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.Models.ConfigurationDrift body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationDrift 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
@@ -226,14 +179,6 @@ public partial class ConfigurationDriftsRequestBuilderGetQueryParameters
public partial class ConfigurationDriftsRequestBuilderGetRequestConfiguration : 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 ConfigurationDriftsRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs
index 2cd6360cddd..8efdd54c21d 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationDrifts/Item/ConfigurationDriftItemRequestBuilder.cs
@@ -35,28 +35,6 @@ public ConfigurationDriftItemRequestBuilder(string rawUrl, IRequestAdapter reque
{
}
///
- /// Delete navigation property configurationDrifts for admin
- ///
- /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get the properties and relationships of a configurationDrift object.
/// Find more info here
///
@@ -81,50 +59,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property configurationDrifts in admin
- ///
- /// 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.Models.ConfigurationDrift body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationDrift 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationDrift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property configurationDrifts for admin
- ///
- /// 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 the properties and relationships of a configurationDrift object.
///
/// A
@@ -144,28 +78,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property configurationDrifts in admin
- ///
- /// 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.Models.ConfigurationDrift body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationDrift 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
@@ -175,14 +87,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationDrifts.Item.ConfigurationDriftItemRequestBuilder(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 ConfigurationDriftItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// Get the properties and relationships of a configurationDrift object.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -217,14 +121,6 @@ public partial class ConfigurationDriftItemRequestBuilderGetQueryParameters
public partial class ConfigurationDriftItemRequestBuilderGetRequestConfiguration : 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 ConfigurationDriftItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs
index 19103279207..5dd38d23d5b 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationManagementRequestBuilder.cs
@@ -5,20 +5,16 @@
using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors;
using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs;
using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots;
-using Microsoft.Graph.Models.ODataErrors;
-using Microsoft.Graph.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.Admin.ConfigurationManagement
{
///
- /// Provides operations to manage the configurationManagement property of the microsoft.graph.admin entity.
+ /// Builds and executes requests for operations under \admin\configurationManagement
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ConfigurationManagementRequestBuilder : BaseRequestBuilder
@@ -53,7 +49,7 @@ public partial class ConfigurationManagementRequestBuilder : BaseRequestBuilder
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ConfigurationManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", pathParameters)
+ public ConfigurationManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement", pathParameters)
{
}
///
@@ -61,197 +57,7 @@ public ConfigurationManagementRequestBuilder(Dictionary pathPara
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ConfigurationManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement{?%24expand,%24select}", rawUrl)
- {
- }
- ///
- /// Delete navigation property configurationManagement for admin
- ///
- /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// A container for Tenant Configuration Management (TCM) resources. Read-only.
- ///
- /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Update the navigation property configurationManagement in admin
- ///
- /// 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.Models.ConfigurationManagement body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationManagement 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property configurationManagement for admin
- ///
- /// 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;
- }
- ///
- /// A container for Tenant Configuration Management (TCM) resources. Read-only.
- ///
- /// 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 configurationManagement in admin
- ///
- /// 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.Models.ConfigurationManagement body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationManagement 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.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder WithUrl(string rawUrl)
- {
- return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationManagementRequestBuilder(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 ConfigurationManagementRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
- /// A container for Tenant Configuration Management (TCM) resources. Read-only.
- ///
- [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class ConfigurationManagementRequestBuilderGetQueryParameters
- {
- /// 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 ConfigurationManagementRequestBuilderGetRequestConfiguration : 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 ConfigurationManagementRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ public ConfigurationManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/configurationManagement", rawUrl)
{
}
}
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs
index 19f855baf54..c12b2786c42 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/ConfigurationMonitoringResultsRequestBuilder.cs
@@ -78,31 +78,6 @@ public ConfigurationMonitoringResultsRequestBuilder(string rawUrl, IRequestAdapt
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitoringResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to configurationMonitoringResults for admin
- ///
- /// 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.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationMonitoringResult 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get a list of the configurationMonitoringResult objects and their properties.
///
/// A
@@ -122,28 +97,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to configurationMonitoringResults for admin
- ///
- /// 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.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitoringResult 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
@@ -226,14 +179,6 @@ public partial class ConfigurationMonitoringResultsRequestBuilderGetQueryParamet
public partial class ConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration : 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 ConfigurationMonitoringResultsRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs
index ab33b39654d..29ac8e73551 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitoringResults/Item/ConfigurationMonitoringResultItemRequestBuilder.cs
@@ -35,28 +35,6 @@ public ConfigurationMonitoringResultItemRequestBuilder(string rawUrl, IRequestAd
{
}
///
- /// Delete navigation property configurationMonitoringResults for admin
- ///
- /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Read the properties and relationships of a configurationMonitoringResult object.
/// Find more info here
///
@@ -81,50 +59,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property configurationMonitoringResults in admin
- ///
- /// 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.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationMonitoringResult 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationMonitoringResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property configurationMonitoringResults for admin
- ///
- /// 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;
- }
- ///
/// Read the properties and relationships of a configurationMonitoringResult object.
///
/// A
@@ -144,28 +78,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property configurationMonitoringResults in admin
- ///
- /// 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.Models.ConfigurationMonitoringResult body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationMonitoringResult 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
@@ -175,14 +87,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitoringResults.Item.ConfigurationMonitoringResultItemRequestBuilder(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 ConfigurationMonitoringResultItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// Read the properties and relationships of a configurationMonitoringResult object.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -217,14 +121,6 @@ public partial class ConfigurationMonitoringResultItemRequestBuilderGetQueryPara
public partial class ConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration : 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 ConfigurationMonitoringResultItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs
index 4e31dd07dff..a955c3fae6a 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationMonitors/Item/Baseline/BaselineRequestBuilder.cs
@@ -35,28 +35,6 @@ public BaselineRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b
{
}
///
- /// Delete navigation property baseline for admin
- ///
- /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
/// Find more info here
///
@@ -81,50 +59,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property baseline in admin
- ///
- /// 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.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationBaseline 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property baseline for admin
- ///
- /// 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;
- }
- ///
/// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
///
/// A
@@ -144,28 +78,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property baseline in admin
- ///
- /// 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.Models.ConfigurationBaseline body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationBaseline 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
@@ -175,14 +87,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationMonitors.Item.Baseline.BaselineRequestBuilder(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 BaselineRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// Read the properties and relationships of a configurationBaseline object that is attached to a specific monitor.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -217,14 +121,6 @@ public partial class BaselineRequestBuilderGetQueryParameters
public partial class BaselineRequestBuilderGetRequestConfiguration : 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 BaselineRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs
index 40ff70627af..6d7f63871c2 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/ConfigurationSnapshotJobsRequestBuilder.cs
@@ -1,6 +1,5 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count;
using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Item;
using Microsoft.Graph.Models.ODataErrors;
using Microsoft.Graph.Models;
@@ -20,11 +19,6 @@ namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJob
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ConfigurationSnapshotJobsRequestBuilder : BaseRequestBuilder
{
- /// Provides operations to count the resources in the collection.
- public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder Count
- {
- get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshotJobs.Count.CountRequestBuilder(PathParameters, RequestAdapter);
- }
/// Provides operations to manage the configurationSnapshotJobs property of the microsoft.graph.configurationManagement entity.
/// The unique identifier of configurationSnapshotJob
/// A
@@ -78,31 +72,6 @@ public ConfigurationSnapshotJobsRequestBuilder(string rawUrl, IRequestAdapter re
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationSnapshotJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to configurationSnapshotJobs for admin
- ///
- /// 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.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationSnapshotJob 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get a list of the configurationSnapshotJob objects and their properties.
///
/// A
@@ -122,28 +91,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to configurationSnapshotJobs for admin
- ///
- /// 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.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationSnapshotJob 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
@@ -226,14 +173,6 @@ public partial class ConfigurationSnapshotJobsRequestBuilderGetQueryParameters
public partial class ConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration : 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 ConfigurationSnapshotJobsRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs
index 4070df4bfb6..b58530101df 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshotJobs/Item/ConfigurationSnapshotJobItemRequestBuilder.cs
@@ -82,31 +82,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property configurationSnapshotJobs in admin
- ///
- /// 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.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationSnapshotJob 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationSnapshotJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Delete a configurationSnapshotJob object.
///
/// A
@@ -145,28 +120,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property configurationSnapshotJobs in admin
- ///
- /// 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.Models.ConfigurationSnapshotJob body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationSnapshotJob 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
@@ -218,14 +171,6 @@ public partial class ConfigurationSnapshotJobItemRequestBuilderGetQueryParameter
public partial class ConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration : 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 ConfigurationSnapshotJobItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs
index e0baaa2dbb5..039af941bc1 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/ConfigurationSnapshotsRequestBuilder.cs
@@ -1,6 +1,5 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count;
using Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item;
using Microsoft.Graph.Models.ODataErrors;
using Microsoft.Graph.Models;
@@ -20,11 +19,6 @@ namespace Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ConfigurationSnapshotsRequestBuilder : BaseRequestBuilder
{
- /// Provides operations to count the resources in the collection.
- public global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder Count
- {
- get => new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Count.CountRequestBuilder(PathParameters, RequestAdapter);
- }
/// Provides operations to manage the configurationSnapshots property of the microsoft.graph.configurationManagement entity.
/// The unique identifier of configurationBaseline
/// A
@@ -78,31 +72,6 @@ public ConfigurationSnapshotsRequestBuilder(string rawUrl, IRequestAdapter reque
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaselineCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to configurationSnapshots for admin
- ///
- /// 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.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Models.ConfigurationBaseline 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get a list of configurationBaseline objects that represent configuration snapshots and their properties.
///
/// A
@@ -122,28 +91,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to configurationSnapshots for admin
- ///
- /// 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.Models.ConfigurationBaseline body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.ConfigurationBaseline 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
@@ -226,14 +173,6 @@ public partial class ConfigurationSnapshotsRequestBuilderGetQueryParameters
public partial class ConfigurationSnapshotsRequestBuilderGetRequestConfiguration : 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 ConfigurationSnapshotsRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs
index 874ba329e6a..86abee91bb3 100644
--- a/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ConfigurationManagement/ConfigurationSnapshots/Item/ConfigurationBaselineItemRequestBuilder.cs
@@ -35,28 +35,6 @@ public ConfigurationBaselineItemRequestBuilder(string rawUrl, IRequestAdapter re
{
}
///
- /// Delete navigation property configurationSnapshots for admin
- ///
- /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// A container for configuration snapshot baselines.
///
/// A
@@ -80,50 +58,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property configurationSnapshots in admin
- ///
- /// 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.Models.ConfigurationBaseline body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Models.ConfigurationBaseline 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.ConfigurationBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property configurationSnapshots for admin
- ///
- /// 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;
- }
- ///
/// A container for configuration snapshot baselines.
///
/// A
@@ -143,28 +77,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property configurationSnapshots in admin
- ///
- /// 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.Models.ConfigurationBaseline body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.ConfigurationBaseline 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
@@ -174,14 +86,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
return new global::Microsoft.Graph.Admin.ConfigurationManagement.ConfigurationSnapshots.Item.ConfigurationBaselineItemRequestBuilder(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 ConfigurationBaselineItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// A container for configuration snapshot baselines.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -216,14 +120,6 @@ public partial class ConfigurationBaselineItemRequestBuilderGetQueryParameters
public partial class ConfigurationBaselineItemRequestBuilderGetRequestConfiguration : 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 ConfigurationBaselineItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
index b54317481eb..4251f9a4513 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
@@ -159,7 +159,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
/// Find more info here
///
/// A
- /// The request body
+ /// Singleton entity that acts as a container for all device app management functionality.
/// 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
@@ -203,7 +203,7 @@ public RequestInformation ToGetRequestInformation(Action
/// A
- /// The request body
+ /// Singleton entity that acts as a container for all device app management functionality.
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Communities/CommunitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Communities/CommunitiesRequestBuilder.cs
index 7cb1702c9cc..356b3df63c6 100644
--- a/src/Microsoft.Graph/Generated/EmployeeExperience/Communities/CommunitiesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Communities/CommunitiesRequestBuilder.cs
@@ -1,6 +1,5 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.EmployeeExperience.Communities.Count;
using Microsoft.Graph.EmployeeExperience.Communities.Item;
using Microsoft.Graph.Models.ODataErrors;
using Microsoft.Graph.Models;
@@ -20,11 +19,6 @@ namespace Microsoft.Graph.EmployeeExperience.Communities
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class CommunitiesRequestBuilder : BaseRequestBuilder
{
- /// Provides operations to count the resources in the collection.
- public global::Microsoft.Graph.EmployeeExperience.Communities.Count.CountRequestBuilder Count
- {
- get => new global::Microsoft.Graph.EmployeeExperience.Communities.Count.CountRequestBuilder(PathParameters, RequestAdapter);
- }
/// Provides operations to manage the communities property of the microsoft.graph.employeeExperience entity.
/// The unique identifier of community
/// A
diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/EngagementAsyncOperations/EngagementAsyncOperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/EngagementAsyncOperations/EngagementAsyncOperationsRequestBuilder.cs
index 3e6b753c68f..5fc3c6e3598 100644
--- a/src/Microsoft.Graph/Generated/EmployeeExperience/EngagementAsyncOperations/EngagementAsyncOperationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/EmployeeExperience/EngagementAsyncOperations/EngagementAsyncOperationsRequestBuilder.cs
@@ -1,6 +1,5 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.EmployeeExperience.EngagementAsyncOperations.Count;
using Microsoft.Graph.EmployeeExperience.EngagementAsyncOperations.Item;
using Microsoft.Graph.Models.ODataErrors;
using Microsoft.Graph.Models;
@@ -20,11 +19,6 @@ namespace Microsoft.Graph.EmployeeExperience.EngagementAsyncOperations
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class EngagementAsyncOperationsRequestBuilder : BaseRequestBuilder
{
- /// Provides operations to count the resources in the collection.
- public global::Microsoft.Graph.EmployeeExperience.EngagementAsyncOperations.Count.CountRequestBuilder Count
- {
- get => new global::Microsoft.Graph.EmployeeExperience.EngagementAsyncOperations.Count.CountRequestBuilder(PathParameters, RequestAdapter);
- }
/// Provides operations to manage the engagementAsyncOperations property of the microsoft.graph.employeeExperience entity.
/// The unique identifier of engagementAsyncOperation
/// A
@@ -77,31 +71,6 @@ public EngagementAsyncOperationsRequestBuilder(string rawUrl, IRequestAdapter re
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to engagementAsyncOperations for employeeExperience
- ///
- /// 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.Models.EngagementAsyncOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Models.EngagementAsyncOperation 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get an engagementAsyncOperation to track a long-running operation request.
///
/// A
@@ -121,28 +90,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to engagementAsyncOperations for employeeExperience
- ///
- /// 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.Models.EngagementAsyncOperation body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.EngagementAsyncOperation 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
@@ -225,14 +172,6 @@ public partial class EngagementAsyncOperationsRequestBuilderGetQueryParameters
public partial class EngagementAsyncOperationsRequestBuilderGetRequestConfiguration : 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 EngagementAsyncOperationsRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/EngagementAsyncOperations/Item/EngagementAsyncOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/EngagementAsyncOperations/Item/EngagementAsyncOperationItemRequestBuilder.cs
index c621dfa6ce0..9574dde9812 100644
--- a/src/Microsoft.Graph/Generated/EmployeeExperience/EngagementAsyncOperations/Item/EngagementAsyncOperationItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/EmployeeExperience/EngagementAsyncOperations/Item/EngagementAsyncOperationItemRequestBuilder.cs
@@ -35,28 +35,6 @@ public EngagementAsyncOperationItemRequestBuilder(string rawUrl, IRequestAdapter
{
}
///
- /// Delete navigation property engagementAsyncOperations for employeeExperience
- ///
- /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get an engagementAsyncOperation to track a long-running operation request.
/// Find more info here
///
@@ -81,50 +59,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.EngagementAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property engagementAsyncOperations in employeeExperience
- ///
- /// 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.Models.EngagementAsyncOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Models.EngagementAsyncOperation 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property engagementAsyncOperations for employeeExperience
- ///
- /// 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 an engagementAsyncOperation to track a long-running operation request.
///
/// A
@@ -144,28 +78,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property engagementAsyncOperations in employeeExperience
- ///
- /// 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.Models.EngagementAsyncOperation body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.EngagementAsyncOperation 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
@@ -175,14 +87,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
return new global::Microsoft.Graph.EmployeeExperience.EngagementAsyncOperations.Item.EngagementAsyncOperationItemRequestBuilder(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 EngagementAsyncOperationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// Get an engagementAsyncOperation to track a long-running operation request.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -217,14 +121,6 @@ public partial class EngagementAsyncOperationItemRequestBuilderGetQueryParameter
public partial class EngagementAsyncOperationItemRequestBuilderGetRequestConfiguration : 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 EngagementAsyncOperationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilder.cs
index c67c266faf6..b864f935872 100644
--- a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/EngagementRoleItemRequestBuilder.cs
@@ -41,28 +41,6 @@ public EngagementRoleItemRequestBuilder(string rawUrl, IRequestAdapter requestAd
{
}
///
- /// Delete navigation property roles for employeeExperience
- ///
- /// 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// A collection of roles in Viva Engage.
///
/// A
@@ -86,50 +64,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property roles in employeeExperience
- ///
- /// 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.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Models.EngagementRole 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
- /// Delete navigation property roles for employeeExperience
- ///
- /// 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;
- }
- ///
/// A collection of roles in Viva Engage.
///
/// A
@@ -149,28 +83,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property roles in employeeExperience
- ///
- /// 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.Models.EngagementRole body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.EngagementRole 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
@@ -180,14 +92,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Mode
return new global::Microsoft.Graph.EmployeeExperience.Roles.Item.EngagementRoleItemRequestBuilder(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 EngagementRoleItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
- {
- }
- ///
/// A collection of roles in Viva Engage.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
@@ -222,14 +126,6 @@ public partial class EngagementRoleItemRequestBuilderGetQueryParameters
public partial class EngagementRoleItemRequestBuilderGetRequestConfiguration : 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 EngagementRoleItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs
index 5a2371dbec0..2007a52b8a8 100644
--- a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/Item/Members/Item/EngagementRoleMemberItemRequestBuilder.cs
@@ -87,31 +87,6 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property members in employeeExperience
- ///
- /// 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.Models.EngagementRoleMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PatchAsync(global::Microsoft.Graph.Models.EngagementRoleMember 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRoleMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Delete a Viva Engage role from a user.
///
/// A
@@ -150,28 +125,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property members in employeeExperience
- ///
- /// 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.Models.EngagementRoleMember body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Models.EngagementRoleMember 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
@@ -223,14 +176,6 @@ public partial class EngagementRoleMemberItemRequestBuilderGetQueryParameters
public partial class EngagementRoleMemberItemRequestBuilderGetRequestConfiguration : 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 EngagementRoleMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/RolesRequestBuilder.cs
index f3ba5ae31f5..4cd54e72bb8 100644
--- a/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/RolesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/EmployeeExperience/Roles/RolesRequestBuilder.cs
@@ -1,6 +1,5 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.EmployeeExperience.Roles.Count;
using Microsoft.Graph.EmployeeExperience.Roles.Item;
using Microsoft.Graph.Models.ODataErrors;
using Microsoft.Graph.Models;
@@ -20,11 +19,6 @@ namespace Microsoft.Graph.EmployeeExperience.Roles
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class RolesRequestBuilder : BaseRequestBuilder
{
- /// Provides operations to count the resources in the collection.
- public global::Microsoft.Graph.EmployeeExperience.Roles.Count.CountRequestBuilder Count
- {
- get => new global::Microsoft.Graph.EmployeeExperience.Roles.Count.CountRequestBuilder(PathParameters, RequestAdapter);
- }
/// Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity.
/// The unique identifier of engagementRole
/// A
@@ -78,31 +72,6 @@ public RolesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to roles for employeeExperience
- ///
- /// 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.Models.EngagementRole body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
- {
-#nullable restore
-#else
- public async Task PostAsync(global::Microsoft.Graph.Models.EngagementRole 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.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
- };
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Models.EngagementRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
- }
- ///
/// Get a list of all the roles that can be assigned in Viva Engage.
///
/// A
@@ -122,28 +91,6 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to roles for employeeExperience
- ///
- /// 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.Models.EngagementRole body, Action>? requestConfiguration = default)
- {
-#nullable restore
-#else
- public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Models.EngagementRole 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
@@ -226,14 +173,6 @@ public partial class RolesRequestBuilderGetQueryParameters
public partial class RolesRequestBuilderGetRequestConfiguration : 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 RolesRequestBuilderPostRequestConfiguration : RequestConfiguration
- {
- }
}
}
#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs
index c7c1dbbb716..9e579b7de0d 100644
--- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs
@@ -2,6 +2,7 @@
#pragma warning disable CS0618
using Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions;
using Microsoft.Graph.IdentityGovernance.AccessReviews.HistoryDefinitions;
+using Microsoft.Graph.IdentityGovernance.AccessReviews.Unified;
using Microsoft.Graph.Models.ODataErrors;
using Microsoft.Graph.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -30,6 +31,11 @@ public partial class AccessReviewsRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.IdentityGovernance.AccessReviews.HistoryDefinitions.HistoryDefinitionsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the unified property of the microsoft.graph.accessReviewSet entity.
+ public global::Microsoft.Graph.IdentityGovernance.AccessReviews.Unified.UnifiedRequestBuilder Unified
+ {
+ get => new global::Microsoft.Graph.IdentityGovernance.AccessReviews.Unified.UnifiedRequestBuilder(PathParameters, RequestAdapter);
+ }
///
/// Instantiates a new and sets the default values.
///
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs
new file mode 100644
index 00000000000..ac82a76bede
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs
@@ -0,0 +1,97 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.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.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.AcceptRecommendations
+{
+ ///
+ /// Provides operations to call the acceptRecommendations method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class AcceptRecommendationsRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public AcceptRecommendationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/acceptRecommendations", 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 AcceptRecommendationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/acceptRecommendations", rawUrl)
+ {
+ }
+ ///
+ /// Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance.
+ /// Find more info here
+ ///
+ /// 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(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Accept the recommendations on all accessReviewInstanceDecisionItem objects that haven't been reviewed within a single accessReviewStage of a multi-stage accessReviewInstance. Recommendations are generated if recommendationsEnabled is true on the accessReviewScheduleDefinition object. If there's no recommendation on an accessReviewInstanceDecisionItem object, no decision is recorded. This action accepts recommendations for the decisions in a specific stage only, unlike accessReviewInstance: acceptRecommendations, which operates across the entire instance.
+ ///
+ /// 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 ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, 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.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.AcceptRecommendations.AcceptRecommendationsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.AcceptRecommendations.AcceptRecommendationsRequestBuilder(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 AcceptRecommendationsRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs
index 9b49521979e..71af25b75bb 100644
--- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs
@@ -1,5 +1,7 @@
//
#pragma warning disable CS0618
+using Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.AcceptRecommendations;
+using Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.BatchRecordDecisions;
using Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions;
using Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Stop;
using Microsoft.Graph.Models.ODataErrors;
@@ -20,6 +22,16 @@ namespace Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Inst
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class AccessReviewStageItemRequestBuilder : BaseRequestBuilder
{
+ /// Provides operations to call the acceptRecommendations method.
+ public global::Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.AcceptRecommendations.AcceptRecommendationsRequestBuilder AcceptRecommendations
+ {
+ get => new global::Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.AcceptRecommendations.AcceptRecommendationsRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to call the batchRecordDecisions method.
+ public global::Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.BatchRecordDecisions.BatchRecordDecisionsRequestBuilder BatchRecordDecisions
+ {
+ get => new global::Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.BatchRecordDecisions.BatchRecordDecisionsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the decisions property of the microsoft.graph.accessReviewStage entity.
public global::Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.Decisions.DecisionsRequestBuilder Decisions
{
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/BatchRecordDecisions/BatchRecordDecisionsPostRequestBody.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/BatchRecordDecisions/BatchRecordDecisionsPostRequestBody.cs
new file mode 100644
index 00000000000..008e06658dc
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/BatchRecordDecisions/BatchRecordDecisionsPostRequestBody.cs
@@ -0,0 +1,135 @@
+//
+#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.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.BatchRecordDecisions
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class BatchRecordDecisionsPostRequestBody : 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 decision property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Decision
+ {
+ get { return BackingStore?.Get("decision"); }
+ set { BackingStore?.Set("decision", value); }
+ }
+#nullable restore
+#else
+ public string Decision
+ {
+ get { return BackingStore?.Get("decision"); }
+ set { BackingStore?.Set("decision", value); }
+ }
+#endif
+ /// The justification property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Justification
+ {
+ get { return BackingStore?.Get("justification"); }
+ set { BackingStore?.Set("justification", value); }
+ }
+#nullable restore
+#else
+ public string Justification
+ {
+ get { return BackingStore?.Get("justification"); }
+ set { BackingStore?.Set("justification", value); }
+ }
+#endif
+ /// The principalId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? PrincipalId
+ {
+ get { return BackingStore?.Get("principalId"); }
+ set { BackingStore?.Set("principalId", value); }
+ }
+#nullable restore
+#else
+ public string PrincipalId
+ {
+ get { return BackingStore?.Get("principalId"); }
+ set { BackingStore?.Set("principalId", value); }
+ }
+#endif
+ /// The resourceId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ResourceId
+ {
+ get { return BackingStore?.Get("resourceId"); }
+ set { BackingStore?.Set("resourceId", value); }
+ }
+#nullable restore
+#else
+ public string ResourceId
+ {
+ get { return BackingStore?.Get("resourceId"); }
+ set { BackingStore?.Set("resourceId", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public BatchRecordDecisionsPostRequestBody()
+ {
+ 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.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.BatchRecordDecisions.BatchRecordDecisionsPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.BatchRecordDecisions.BatchRecordDecisionsPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "decision", n => { Decision = n.GetStringValue(); } },
+ { "justification", n => { Justification = n.GetStringValue(); } },
+ { "principalId", n => { PrincipalId = n.GetStringValue(); } },
+ { "resourceId", n => { ResourceId = 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("decision", Decision);
+ writer.WriteStringValue("justification", Justification);
+ writer.WriteStringValue("principalId", PrincipalId);
+ writer.WriteStringValue("resourceId", ResourceId);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs
new file mode 100644
index 00000000000..e51bfdb8905
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs
@@ -0,0 +1,102 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.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.IdentityGovernance.AccessReviews.Definitions.Item.Instances.Item.Stages.Item.BatchRecordDecisions
+{
+ ///
+ /// Provides operations to call the batchRecordDecisions method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class BatchRecordDecisionsRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public BatchRecordDecisionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/batchRecordDecisions", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new