diff --git a/CHANGELOG.md b/CHANGELOG.md
index 11d451cb9b8..bf945edbbc9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,11 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
## [Unreleased]
+## [5.41.0] - 2024-01-31
+
+- Latest metadata updates from 30th January 2024.
+- Fixes DateTimeTimeZone.ToDateTime returning incorrect parsed date(https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2286)
+
## [5.40.0] - 2024-01-24
- Latest metadata updates from 24th January 2024.
@@ -32,7 +37,7 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
## [5.35.0] - 2023-11-15
-- Fixes `Accept` header values generated by the SDK.
+- Fixes `Accept` header values generated by the SDK.
- Latest metadata updates from 14th November 2023.
## [5.33.0] - 2023-11-02
@@ -41,7 +46,7 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
## [5.32.0] - 2023-10-24
-- SDK is compatible with trimming(https://github.com/microsoftgraph/msgraph-sdk-dotnet/pull/2174)
+- SDK is compatible with trimming(https://github.com/microsoftgraph/msgraph-sdk-dotnet/pull/2174)
- Latest metadata updates from 24th October 2023.
## [5.31.0] - 2023-10-19
@@ -77,7 +82,7 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
## [5.25.0] - 2023-08-30
-- Add `WithUrl` request builders to allow for easier making of requests with arbitrary Urls(https://github.com/microsoft/kiota/pull/3212)
+- Add `WithUrl` request builders to allow for easier making of requests with arbitrary Urls(https://github.com/microsoft/kiota/pull/3212)
- Latest metadata updates from 29th August 2023.
## [5.24.0] - 2023-08-23
@@ -185,7 +190,7 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
## [5.5.0] - 2023-04-06
-### Changed
+### Changed
- Fixes missing dateTime query parameters for bookingBusinesses (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1791)
- Fixes missing exapand clauses for calendars and contactFolder (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1788)
@@ -294,7 +299,7 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
- Fixes incorrect types for collection types referencing enums - [Kiota #1846](https://github.com/microsoft/kiota/pull/1846)
- Fixes missing return object types for PATCH/POST/PUT calls - https://github.com/microsoftgraph/msgraph-beta-sdk-dotnet/issues/478
-- Fixes missing QueryParameters for odata functions e.g delta
+- Fixes missing QueryParameters for odata functions e.g delta
- Latest metadata updates from 27th September 2022 snapshot
## [5.0.0-preview.11] - 2022-07-20
diff --git a/src/Microsoft.Graph/Extensions/DateTimeTimeZoneExtensions.cs b/src/Microsoft.Graph/Extensions/DateTimeTimeZoneExtensions.cs
index c85a8c2043f..13acd0e5b86 100644
--- a/src/Microsoft.Graph/Extensions/DateTimeTimeZoneExtensions.cs
+++ b/src/Microsoft.Graph/Extensions/DateTimeTimeZoneExtensions.cs
@@ -7,10 +7,10 @@
namespace Microsoft.Graph.Models
{
+
///
/// Implements DateTimeTimeZone Extensions
///
-
public static class DateTimeTimeZoneExtensions
{
internal const string DateTimeFormat = "yyyy-MM-ddTHH:mm:ss.fffffffK";
@@ -22,26 +22,37 @@ public static class DateTimeTimeZoneExtensions
///
public static DateTime ToDateTime(this DateTimeTimeZone dateTimeTimeZone)
{
- DateTime dateTime = DateTime.ParseExact(dateTimeTimeZone.DateTime, DateTimeFormat, CultureInfo.InvariantCulture);
+ DateTime parsedDateTime = DateTime.ParseExact(dateTimeTimeZone.DateTime, DateTimeFormat, CultureInfo.InvariantCulture);
// Now we need to determine which DateTimeKind to set based on the time zone specified in the input object.
TimeZoneInfo timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById(dateTimeTimeZone.TimeZone);
DateTimeKind kind;
- if (timeZoneInfo.Id == TimeZoneInfo.Utc.Id)
+ if(timeZoneInfo.StandardName == TimeZoneInfo.Utc.StandardName)
{
kind = DateTimeKind.Utc;
+ // however, if the parsedDateTime.Kind is Local, we need to align to be utc too
+ if (parsedDateTime.Kind == DateTimeKind.Local)
+ {
+ parsedDateTime = parsedDateTime.ToUniversalTime();
+ }
}
- else if (timeZoneInfo.Id == TimeZoneInfo.Local.Id)
+ else if (timeZoneInfo.StandardName == TimeZoneInfo.Local.StandardName)
{
kind = DateTimeKind.Local;
+ // however, if the parsedDateTime.Kind is UTC, we need to align it to be local too
+ if (parsedDateTime.Kind == DateTimeKind.Utc)
+ {
+ parsedDateTime = parsedDateTime.ToLocalTime();
+ }
}
else
{
- kind = DateTimeKind.Unspecified;
+ //if timeZoneInfo passed is not UTC or Local, then it is Unspecified
+ //Infer from parsedDateTime.Kind rather than blindly set it to Unspecified
+ kind = parsedDateTime.Kind;
}
-
- return DateTime.SpecifyKind(dateTime, kind);
+ return DateTime.SpecifyKind(parsedDateTime, kind);
}
///
diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs
index 6aebb8e0013..022ed483d0d 100644
--- a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/{appManagementPolicy%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/{appManagementPolicy%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/{appManagementPolicy%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/{appManagementPolicy%2Did}/$ref", rawUrl) {
}
///
/// Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs
index 60ad6954868..c6a094acd0c 100644
--- a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// The appManagementPolicy applied to this application.
@@ -70,6 +90,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting.
+ ///
+ /// 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;
+ }
+ ///
/// The appManagementPolicy applied to this application.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -112,6 +148,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// The appManagementPolicy applied to this application.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs
index 2b205f0faff..79896dd5663 100644
--- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/{directoryObject%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/{directoryObject%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/{directoryObject%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/{directoryObject%2Did}/$ref", rawUrl) {
}
///
/// Remove an owner from an application. As a recommended best practice, apps should have at least two owners.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove an owner from an application. As a recommended best practice, apps should have at least two owners.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs
index febfb8837a4..d6632b3f80d 100644
--- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove an owner from an application. As a recommended best practice, apps should have at least two owners.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove an owner from an application. As a recommended best practice, apps should have at least two owners.
+ ///
+ /// 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;
+ }
+ ///
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove an owner from an application. As a recommended best practice, apps should have at least two owners.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs
index 0a2f835ce9c..76b0f6f0d93 100644
--- a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}/$ref", rawUrl) {
}
///
/// Remove a tokenIssuancePolicy from an application.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove a tokenIssuancePolicy from an application.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs
index bd072eee098..89f75fc74ee 100644
--- a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove a tokenIssuancePolicy from an application.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// List the tokenIssuancePolicy objects that are assigned to an application.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove a tokenIssuancePolicy from an application.
+ ///
+ /// 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;
+ }
+ ///
/// List the tokenIssuancePolicy objects that are assigned to an application.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove a tokenIssuancePolicy from an application.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// List the tokenIssuancePolicy objects that are assigned to an application.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs
index ec6ccb7d816..8471b5d0319 100644
--- a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}/$ref", rawUrl) {
}
///
/// Remove a tokenLifetimePolicy from an application.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove a tokenLifetimePolicy from an application.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs
index 178c77204bc..b2b4cd8afd7 100644
--- a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove a tokenLifetimePolicy from an application.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove a tokenLifetimePolicy from an application.
+ ///
+ /// 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;
+ }
+ ///
/// List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove a tokenLifetimePolicy from an application.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs
index dfb004b68d1..9faae6f26c8 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs
@@ -28,7 +28,7 @@ public SendActivityNotificationRequestBuilder(Dictionary pathPar
public SendActivityNotificationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/sendActivityNotification", rawUrl) {
}
///
- /// Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications.
+ /// Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications.
/// Find more info here
///
/// The request body
@@ -50,7 +50,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications.
+ /// Send an activity feed notification in scope of a chat. For more information about sending notifications and the requirements for doing so, see sending Teams activity notifications.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
index a1393f6bfa9..e41f25b5ea8 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
@@ -105,7 +105,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
}
///
/// Read properties and relationships of the deviceAppManagement object.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -125,7 +125,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
}
///
/// Update the properties of a deviceAppManagement object.
- /// Find more info here
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs
index 9824530056f..f0bec442076 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs
@@ -53,8 +53,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the managedAppProtection object.
- /// Find more info here
+ /// Read properties and relationships of the managedAppConfiguration object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -110,7 +110,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedAppProtection object.
+ /// Read properties and relationships of the managedAppConfiguration object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -158,7 +158,7 @@ public ManagedAppPolicyItemRequestBuilder WithUrl(string rawUrl) {
public class ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
///
- /// Read properties and relationships of the managedAppProtection object.
+ /// Read properties and relationships of the managedAppConfiguration object.
///
public class ManagedAppPolicyItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
index ba47474d85e..c2866d01787 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
@@ -29,7 +29,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
}
///
/// Not yet documented
- /// Find more info here
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
index 48907527a73..2718703f046 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
@@ -29,7 +29,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
}
///
/// Not yet documented
- /// Find more info here
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
index d9bc6c34385..37607ca44e6 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs
@@ -29,7 +29,7 @@ public TargetAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
}
///
/// Not yet documented
- /// Find more info here
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
index 9cee0cbc875..d91adc112b5 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
@@ -63,8 +63,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the managedAppRegistration object.
- /// Find more info here
+ /// Read properties and relationships of the iosManagedAppRegistration object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -120,7 +120,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedAppRegistration object.
+ /// Read properties and relationships of the iosManagedAppRegistration object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -168,7 +168,7 @@ public ManagedAppRegistrationItemRequestBuilder WithUrl(string rawUrl) {
public class ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
///
- /// Read properties and relationships of the managedAppRegistration object.
+ /// Read properties and relationships of the iosManagedAppRegistration object.
///
public class ManagedAppRegistrationItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs
index 3b88f6c6649..30ca8b811c4 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs
@@ -47,8 +47,8 @@ public ManagedAppRegistrationsRequestBuilder(Dictionary pathPara
public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the iosManagedAppRegistration objects.
- /// Find more info here
+ /// List properties and relationships of the androidManagedAppRegistration objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -89,7 +89,7 @@ public async Task PostAsync(ManagedAppRegistration body,
return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// List properties and relationships of the iosManagedAppRegistration objects.
+ /// List properties and relationships of the androidManagedAppRegistration objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -131,7 +131,7 @@ public ManagedAppRegistrationsRequestBuilder WithUrl(string rawUrl) {
return new ManagedAppRegistrationsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// List properties and relationships of the iosManagedAppRegistration objects.
+ /// List properties and relationships of the androidManagedAppRegistration objects.
///
public class ManagedAppRegistrationsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs
index 149a1b1a68a..f913a388b58 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs
@@ -48,8 +48,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the managedAppStatusRaw object.
- /// Find more info here
+ /// Read properties and relationships of the managedAppStatus object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -105,7 +105,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedAppStatusRaw object.
+ /// Read properties and relationships of the managedAppStatus object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -153,7 +153,7 @@ public ManagedAppStatusItemRequestBuilder WithUrl(string rawUrl) {
public class ManagedAppStatusItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
///
- /// Read properties and relationships of the managedAppStatusRaw object.
+ /// Read properties and relationships of the managedAppStatus object.
///
public class ManagedAppStatusItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs
index 7402b4354db..afcec59e239 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs
@@ -29,8 +29,8 @@ public ManagedEBookAssignmentItemRequestBuilder(Dictionary pathP
public ManagedEBookAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Deletes a managedEBookAssignment.
- /// Find more info here
+ /// Deletes a iosVppEBookAssignment.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -49,8 +49,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the iosVppEBookAssignment object.
- /// Find more info here
+ /// Read properties and relationships of the managedEBookAssignment object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -91,7 +91,7 @@ public async Task PatchAsync(ManagedEBookAssignment body
return await RequestAdapter.SendAsync(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Deletes a managedEBookAssignment.
+ /// Deletes a iosVppEBookAssignment.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -107,7 +107,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the iosVppEBookAssignment object.
+ /// Read properties and relationships of the managedEBookAssignment object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -155,7 +155,7 @@ public ManagedEBookAssignmentItemRequestBuilder WithUrl(string rawUrl) {
public class ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
///
- /// Read properties and relationships of the iosVppEBookAssignment object.
+ /// Read properties and relationships of the managedEBookAssignment object.
///
public class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs
index db41fb49bf3..32580b797ac 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs
@@ -74,8 +74,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the managedEBook object.
- /// Find more info here
+ /// Read properties and relationships of the iosVppEBook object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -132,7 +132,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedEBook object.
+ /// Read properties and relationships of the iosVppEBook object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -180,7 +180,7 @@ public ManagedEBookItemRequestBuilder WithUrl(string rawUrl) {
public class ManagedEBookItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
///
- /// Read properties and relationships of the managedEBook object.
+ /// Read properties and relationships of the iosVppEBook object.
///
public class ManagedEBookItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs
index 6615387d637..082c6d91a38 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs
@@ -42,8 +42,8 @@ public ManagedEBooksRequestBuilder(Dictionary pathParameters, IR
public ManagedEBooksRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the managedEBook objects.
- /// Find more info here
+ /// List properties and relationships of the iosVppEBook objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -84,7 +84,7 @@ public async Task PostAsync(ManagedEBook body, Action(requestInfo, ManagedEBook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// List properties and relationships of the managedEBook objects.
+ /// List properties and relationships of the iosVppEBook objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -126,7 +126,7 @@ public ManagedEBooksRequestBuilder WithUrl(string rawUrl) {
return new ManagedEBooksRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// List properties and relationships of the managedEBook objects.
+ /// List properties and relationships of the iosVppEBook objects.
///
public class ManagedEBooksRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs
index 5a6a45e73a1..fe7ac2581c7 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs
@@ -42,8 +42,8 @@ public MobileAppConfigurationsRequestBuilder(Dictionary pathPara
public MobileAppConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileAppConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the managedDeviceMobileAppConfiguration objects.
- /// Find more info here
+ /// List properties and relationships of the iosMobileAppConfiguration objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -84,7 +84,7 @@ public async Task PostAsync(ManagedDeviceMo
return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// List properties and relationships of the managedDeviceMobileAppConfiguration objects.
+ /// List properties and relationships of the iosMobileAppConfiguration objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -126,7 +126,7 @@ public MobileAppConfigurationsRequestBuilder WithUrl(string rawUrl) {
return new MobileAppConfigurationsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// List properties and relationships of the managedDeviceMobileAppConfiguration objects.
+ /// List properties and relationships of the iosMobileAppConfiguration objects.
///
public class MobileAppConfigurationsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs
index fb61cce0515..4e044984782 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs
@@ -124,8 +124,8 @@ public MobileAppItemRequestBuilder(Dictionary pathParameters, IR
public MobileAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Deletes a managedIOSLobApp.
- /// Find more info here
+ /// Deletes a windowsUniversalAppX.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -144,8 +144,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the windowsAppX object.
- /// Find more info here
+ /// Read properties and relationships of the managedIOSStoreApp object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -164,8 +164,8 @@ public async Task GetAsync(Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the properties of a managedAndroidStoreApp object.
- /// Find more info here
+ /// Update the properties of a iosLobApp object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -186,7 +186,7 @@ public async Task PatchAsync(MobileApp body, Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Deletes a managedIOSLobApp.
+ /// Deletes a windowsUniversalAppX.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -202,7 +202,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the windowsAppX object.
+ /// Read properties and relationships of the managedIOSStoreApp object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -218,7 +218,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a managedAndroidStoreApp object.
+ /// Update the properties of a iosLobApp object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -250,7 +250,7 @@ public MobileAppItemRequestBuilder WithUrl(string rawUrl) {
public class MobileAppItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
///
- /// Read properties and relationships of the windowsAppX object.
+ /// Read properties and relationships of the managedIOSStoreApp object.
///
public class MobileAppItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs
index 04c8da9ba1d..f74484bfe49 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs
@@ -122,8 +122,8 @@ public MobileAppsRequestBuilder(Dictionary pathParameters, IRequ
public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the macOSLobApp objects.
- /// Find more info here
+ /// List properties and relationships of the androidStoreApp objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -142,8 +142,8 @@ public async Task GetAsync(Action(requestInfo, MobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new macOSMicrosoftEdgeApp object.
- /// Find more info here
+ /// Create a new windowsWebApp object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -164,7 +164,7 @@ public async Task PostAsync(MobileApp body, Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// List properties and relationships of the macOSLobApp objects.
+ /// List properties and relationships of the androidStoreApp objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -180,7 +180,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new macOSMicrosoftEdgeApp object.
+ /// Create a new windowsWebApp object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -206,7 +206,7 @@ public MobileAppsRequestBuilder WithUrl(string rawUrl) {
return new MobileAppsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// List properties and relationships of the macOSLobApp objects.
+ /// List properties and relationships of the androidStoreApp objects.
///
public class MobileAppsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs
index d88f571f097..634807c52f8 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs
@@ -42,8 +42,8 @@ public DeviceCompliancePoliciesRequestBuilder(Dictionary pathPar
public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the windows10CompliancePolicy objects.
- /// Find more info here
+ /// List properties and relationships of the androidWorkProfileCompliancePolicy objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -62,8 +62,8 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new windows81CompliancePolicy object.
- /// Find more info here
+ /// Create a new windows10CompliancePolicy object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -84,7 +84,7 @@ public async Task PostAsync(DeviceCompliancePolicy body,
return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// List properties and relationships of the windows10CompliancePolicy objects.
+ /// List properties and relationships of the androidWorkProfileCompliancePolicy objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -100,7 +100,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new windows81CompliancePolicy object.
+ /// Create a new windows10CompliancePolicy object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -126,7 +126,7 @@ public DeviceCompliancePoliciesRequestBuilder WithUrl(string rawUrl) {
return new DeviceCompliancePoliciesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// List properties and relationships of the windows10CompliancePolicy objects.
+ /// List properties and relationships of the androidWorkProfileCompliancePolicy objects.
///
public class DeviceCompliancePoliciesRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs
index 34afe385859..bdbe7d4a730 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs
@@ -74,8 +74,8 @@ public DeviceCompliancePolicyItemRequestBuilder(Dictionary pathP
public DeviceCompliancePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Deletes a androidWorkProfileCompliancePolicy.
- /// Find more info here
+ /// Deletes a androidCompliancePolicy.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -94,8 +94,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the windows81CompliancePolicy object.
- /// Find more info here
+ /// Read properties and relationships of the deviceCompliancePolicy object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -114,8 +114,8 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the properties of a windows10MobileCompliancePolicy object.
- /// Find more info here
+ /// Update the properties of a macOSCompliancePolicy object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -136,7 +136,7 @@ public async Task PatchAsync(DeviceCompliancePolicy body
return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Deletes a androidWorkProfileCompliancePolicy.
+ /// Deletes a androidCompliancePolicy.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -152,7 +152,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the windows81CompliancePolicy object.
+ /// Read properties and relationships of the deviceCompliancePolicy object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -168,7 +168,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a windows10MobileCompliancePolicy object.
+ /// Update the properties of a macOSCompliancePolicy object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -200,7 +200,7 @@ public DeviceCompliancePolicyItemRequestBuilder WithUrl(string rawUrl) {
public class DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
///
- /// Read properties and relationships of the windows81CompliancePolicy object.
+ /// Read properties and relationships of the deviceCompliancePolicy object.
///
public class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs
index 721b74182be..766f94249d7 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs
@@ -42,8 +42,8 @@ public DeviceConfigurationsRequestBuilder(Dictionary pathParamet
public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the iosCertificateProfile objects.
- /// Find more info here
+ /// List properties and relationships of the macOSCustomConfiguration objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -62,8 +62,8 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new windowsPhone81CustomConfiguration object.
- /// Find more info here
+ /// Create a new windows81GeneralConfiguration object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -84,7 +84,7 @@ public async Task PostAsync(DeviceConfiguration body, Actio
return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// List properties and relationships of the iosCertificateProfile objects.
+ /// List properties and relationships of the macOSCustomConfiguration objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -100,7 +100,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new windowsPhone81CustomConfiguration object.
+ /// Create a new windows81GeneralConfiguration object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -126,7 +126,7 @@ public DeviceConfigurationsRequestBuilder WithUrl(string rawUrl) {
return new DeviceConfigurationsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// List properties and relationships of the iosCertificateProfile objects.
+ /// List properties and relationships of the macOSCustomConfiguration objects.
///
public class DeviceConfigurationsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs
index 817d8bb267e..9d8a92086e1 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs
@@ -65,8 +65,8 @@ public DeviceConfigurationItemRequestBuilder(Dictionary pathPara
public DeviceConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Deletes a androidWorkProfileCustomConfiguration.
- /// Find more info here
+ /// Deletes a editionUpgradeConfiguration.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -85,8 +85,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the iosUpdateConfiguration object.
- /// Find more info here
+ /// Read properties and relationships of the windows10SecureAssessmentConfiguration object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -135,7 +135,7 @@ public async Task PatchAsync(DeviceConfiguration body, Acti
return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Deletes a androidWorkProfileCustomConfiguration.
+ /// Deletes a editionUpgradeConfiguration.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -151,7 +151,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the iosUpdateConfiguration object.
+ /// Read properties and relationships of the windows10SecureAssessmentConfiguration object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -199,7 +199,7 @@ public DeviceConfigurationItemRequestBuilder WithUrl(string rawUrl) {
public class DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
///
- /// Read properties and relationships of the iosUpdateConfiguration object.
+ /// Read properties and relationships of the windows10SecureAssessmentConfiguration object.
///
public class DeviceConfigurationItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs
index 75850ebb21a..cd3adb404d4 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs
@@ -42,8 +42,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(Dictionary p
public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the deviceEnrollmentConfiguration objects.
- /// Find more info here
+ /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -62,8 +62,8 @@ public async Task GetAsync(Acti
return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create a new deviceEnrollmentLimitConfiguration object.
- /// Find more info here
+ /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -84,7 +84,7 @@ public async Task PostAsync(DeviceEnrollmentConfi
return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// List properties and relationships of the deviceEnrollmentConfiguration objects.
+ /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -100,7 +100,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new deviceEnrollmentLimitConfiguration object.
+ /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -126,7 +126,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder WithUrl(string rawUrl) {
return new DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// List properties and relationships of the deviceEnrollmentConfiguration objects.
+ /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects.
///
public class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs
index 14e12809047..68b27f749e6 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs
@@ -44,8 +44,8 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(Dictionary
- /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
- /// Find more info here
+ /// Deletes a deviceEnrollmentLimitConfiguration.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -84,8 +84,8 @@ public async Task GetAsync(Action(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object.
- /// Find more info here
+ /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -106,7 +106,7 @@ public async Task PatchAsync(DeviceEnrollmentConf
return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
+ /// Deletes a deviceEnrollmentLimitConfiguration.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs
index dc3198a1924..b2b34423600 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs
@@ -327,7 +327,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap
}
///
/// Read properties and relationships of the deviceManagement object.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -355,7 +355,7 @@ public GetEffectivePermissionsWithScopeRequestBuilder GetEffectivePermissionsWit
}
///
/// Update the properties of a deviceManagement object.
- /// Find more info here
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs
index bb207767ac0..0edea1669fd 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs
@@ -34,8 +34,8 @@ public RoleDefinitionItemRequestBuilder(Dictionary pathParameter
public RoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Deletes a deviceAndAppManagementRoleDefinition.
- /// Find more info here
+ /// Deletes a roleDefinition.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -54,8 +54,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the roleDefinition object.
- /// Find more info here
+ /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -74,8 +74,8 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the properties of a deviceAndAppManagementRoleDefinition object.
- /// Find more info here
+ /// Update the properties of a roleDefinition object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -96,7 +96,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Deletes a deviceAndAppManagementRoleDefinition.
+ /// Deletes a roleDefinition.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -112,7 +112,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the roleDefinition object.
+ /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -128,7 +128,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a deviceAndAppManagementRoleDefinition object.
+ /// Update the properties of a roleDefinition object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -160,7 +160,7 @@ public RoleDefinitionItemRequestBuilder WithUrl(string rawUrl) {
public class RoleDefinitionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
///
- /// Read properties and relationships of the roleDefinition object.
+ /// Read properties and relationships of the deviceAndAppManagementRoleDefinition object.
///
public class RoleDefinitionItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs
index 7b526888f18..0b5aa65e90a 100644
--- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/{directoryObject%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/{directoryObject%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/{directoryObject%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/{directoryObject%2Did}/$ref", rawUrl) {
}
///
/// Remove a user as a registered owner of the device.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove a user as a registered owner of the device.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs
index 9ff13751faa..1975230e8e3 100644
--- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove a user as a registered owner of the device.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove a user as a registered owner of the device.
+ ///
+ /// 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;
+ }
+ ///
/// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove a user as a registered owner of the device.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs
index d4aeb1bdc2c..c8607a20116 100644
--- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/{directoryObject%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/{directoryObject%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/{directoryObject%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/{directoryObject%2Did}/$ref", rawUrl) {
}
///
/// Remove a user as a registered user of the device.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove a user as a registered user of the device.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs
index 6e480b24522..69902c2792f 100644
--- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove a user as a registered user of the device.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove a user as a registered user of the device.
+ ///
+ /// 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;
+ }
+ ///
/// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove a user as a registered user of the device.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs
index faf42085387..fb8b58952c5 100644
--- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/{directoryObject%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/{directoryObject%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/{directoryObject%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/{directoryObject%2Did}/$ref", rawUrl) {
}
///
/// Use this API to remove a member (user, group, or device) from an administrative unit.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Use this API to remove a member (user, group, or device) from an administrative unit.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs
index 6a6ebdd822f..f327a9db61e 100644
--- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Use this API to remove a member (user, group, or device) from an administrative unit.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// Users and groups that are members of this administrative unit. Supports $expand.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Use this API to remove a member (user, group, or device) from an administrative unit.
+ ///
+ /// 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;
+ }
+ ///
/// Users and groups that are members of this administrative unit. Supports $expand.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Use this API to remove a member (user, group, or device) from an administrative unit.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// Users and groups that are members of this administrative unit. Supports $expand.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs
index 500bfdce4d9..cbe49f578de 100644
--- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/{directoryObject%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/{directoryObject%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/{directoryObject%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/{directoryObject%2Did}/$ref", rawUrl) {
}
///
/// Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs
index d75641ce929..bc0b7fc9a8c 100644
--- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
+ ///
+ /// 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;
+ }
+ ///
/// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs
index f4da1d3125b..fcfd7397819 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs
@@ -68,8 +68,8 @@ public async Task GetAsync(Action(requestInfo, ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
- /// Find more info here
+ /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -122,7 +122,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
+ /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs
index 9fcda74ca37..7ffb4cd416c 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs
@@ -53,7 +53,7 @@ public NamesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
}
///
/// Retrieve a list of nameditem objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs
index 62cd7971e96..89464f4ace3 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs
@@ -49,7 +49,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
}
///
/// Retrieve a list of tablecolumn objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs
index 2352767f72e..4319b0e2175 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs
@@ -49,7 +49,7 @@ public RowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
}
///
/// Retrieve a list of tablerow objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs
index 4c8aba71f9b..9d31cb54d3a 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs
@@ -30,7 +30,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
}
///
/// Retrieve a list of tablecolumn objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs
index 61e92d0e446..a408bcf997d 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs
@@ -30,7 +30,7 @@ public RowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
}
///
/// Retrieve a list of tablerow objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs
index bad4ba55142..8d22b5aa65f 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs
@@ -49,7 +49,7 @@ public TablesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
}
///
/// Retrieve a list of table objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs
index b0bb1aaba53..4d182828a82 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs
@@ -50,7 +50,7 @@ public ChartsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
}
///
/// Retrieve a list of chart objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs
index 4dc386f27b7..40a13200cf5 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs
@@ -43,8 +43,8 @@ public PointsRequestBuilder(Dictionary pathParameters, IRequestA
public PointsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Retrieve a list of chartpoints objects.
- /// Find more info here
+ /// Retrieve a list of chartpoint objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -93,7 +93,7 @@ public async Task PostAsync(WorkbookChartPoint body, Action<
return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Retrieve a list of chartpoints objects.
+ /// Retrieve a list of chartpoint objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -135,7 +135,7 @@ public PointsRequestBuilder WithUrl(string rawUrl) {
return new PointsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Retrieve a list of chartpoints objects.
+ /// Retrieve a list of chartpoint objects.
///
public class PointsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs
index 6ba8f71ea73..e9b6a7a6f57 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs
@@ -78,7 +78,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartSeries.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the properties of chartseries object.
+ /// Update the properties of chartSeries object.
/// Find more info here
///
/// The request body
@@ -132,7 +132,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of chartseries object.
+ /// Update the properties of chartSeries object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.cs
index 8d6324a8077..31b8def93dc 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/Points/PointsRequestBuilder.cs
@@ -29,8 +29,8 @@ public PointsRequestBuilder(Dictionary pathParameters, IRequestA
public PointsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/itemAt(index={index})/points{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// Retrieve a list of chartpoints objects.
- /// Find more info here
+ /// Retrieve a list of chartpoint objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -71,7 +71,7 @@ public async Task PostAsync(WorkbookChartPoint body, Action<
return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Retrieve a list of chartpoints objects.
+ /// Retrieve a list of chartpoint objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -113,7 +113,7 @@ public PointsRequestBuilder WithUrl(string rawUrl) {
return new PointsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Retrieve a list of chartpoints objects.
+ /// Retrieve a list of chartpoint objects.
///
public class PointsRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs
index 1f94201e2a1..69f4efbef31 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs
@@ -49,7 +49,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
}
///
/// Retrieve a list of tablecolumn objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs
index dc17b578044..783892917d9 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs
@@ -49,7 +49,7 @@ public RowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
}
///
/// Retrieve a list of tablerow objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs
index 6046c075275..4480e850be3 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Columns/ColumnsRequestBuilder.cs
@@ -30,7 +30,7 @@ public ColumnsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
}
///
/// Retrieve a list of tablecolumn objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs
index 7c6cba11779..88bce6dd95c 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/Rows/RowsRequestBuilder.cs
@@ -30,7 +30,7 @@ public RowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
}
///
/// Retrieve a list of tablerow objects.
- /// Find more info here
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs
index a65423adcce..413ee42e83c 100644
--- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref", rawUrl) {
}
///
/// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs
index 058f92382af..88344918685 100644
--- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
+ ///
+ /// 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;
+ }
+ ///
/// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs
index 817c8f24d76..8d73926630c 100644
--- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs
@@ -29,7 +29,7 @@ public ReassignRequestBuilder(Dictionary pathParameters, IReques
public ReassignRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/reassign", rawUrl) {
}
///
- /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section.
+ /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission is treated as a returned submission. This means that the reassigned status is mapped to the returned status, and reassignedDateTime and reassignedBy properties are mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -49,7 +49,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section.
+ /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission is treated as a returned submission. This means that the reassigned status is mapped to the returned status, and reassignedDateTime and reassignedBy properties are mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs
index 31788a661d1..0344b655875 100644
--- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/{educationUser%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/{educationUser%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/{educationUser%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/{educationUser%2Did}/$ref", rawUrl) {
}
///
/// Remove an educationUser from an educationClass.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove an educationUser from an educationClass.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs
index c3675217a92..0f2e84aaa9e 100644
--- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/members/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove an educationUser from an educationClass.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// Retrieves the educationUser members of an educationClass.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove an educationUser from an educationClass.
+ ///
+ /// 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;
+ }
+ ///
/// Retrieves the educationUser members of an educationClass.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove an educationUser from an educationClass.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// Retrieves the educationUser members of an educationClass.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs
index bfd3e4124ce..7a2e84e3ea5 100644
--- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/{educationUser%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/{educationUser%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/{educationUser%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/{educationUser%2Did}/$ref", rawUrl) {
}
///
/// Remove a teacher from an educationClass.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove a teacher from an educationClass.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs
index 892f545e280..cd32737ee0c 100644
--- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove a teacher from an educationClass.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove a teacher from an educationClass.
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
/// Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove a teacher from an educationClass.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// Retrieve a list of teachers for a class. Delegated tokens must be members of the class to get the teacher list.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs
index a0852d7bdcf..13a16fbc285 100644
--- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref", rawUrl) {
}
///
/// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs
index 83a1a0247d8..16ded7ff612 100644
--- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
+ ///
+ /// 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;
+ }
+ ///
/// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs
index f60c544deb8..7c30180881b 100644
--- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs
@@ -29,7 +29,7 @@ public ReassignRequestBuilder(Dictionary pathParameters, IReques
public ReassignRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/reassign", rawUrl) {
}
///
- /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section.
+ /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission is treated as a returned submission. This means that the reassigned status is mapped to the returned status, and reassignedDateTime and reassignedBy properties are mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section.
/// Find more info here
///
/// Cancellation token to use when cancelling requests
@@ -49,7 +49,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section.
+ /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission is treated as a returned submission. This means that the reassigned status is mapped to the returned status, and reassignedDateTime and reassignedBy properties are mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs
index 2bb2f7e868a..ce70d0abf5f 100644
--- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/{educationClass%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/{educationClass%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/{educationClass%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/{educationClass%2Did}/$ref", rawUrl) {
}
///
/// Delete a class from a school.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Delete a class from a school.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs
index 7690ccca9e7..d6ea20b27f8 100644
--- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Delete a class from a school.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// Get the educationClass resources owned by an educationSchool.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Delete a class from a school.
+ ///
+ /// 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 educationClass resources owned by an educationSchool.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Delete a class from a school.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// Get the educationClass resources owned by an educationSchool.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs
index fd60fcf89c5..dad5259d436 100644
--- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/{educationUser%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/{educationUser%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/{educationUser%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/{educationUser%2Did}/$ref", rawUrl) {
}
///
/// Delete a user from a school.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary> {
@@ -53,10 +53,10 @@ public async Task DeleteAsync(ActionConfiguration 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) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,25 +71,10 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Delete a user from a school.
- ///
- public class RefRequestBuilderDeleteQueryParameters {
- /// Delete Uri
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- [QueryParameter("%40id")]
- public string? Id { get; set; }
-#nullable restore
-#else
- [QueryParameter("%40id")]
- public string Id { 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.")]
- public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs
index 30c8fa5044d..22247af19ec 100644
--- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs
@@ -19,14 +19,34 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%40id*}", rawUrl) {
+ }
+ ///
+ /// Delete a user from a school.
+ /// Find more info here
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#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> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
/// Get the educationUser resources associated with an educationSchool.
@@ -71,6 +91,22 @@ public async Task PostAsync(ReferenceCreate body, Action
+ /// Delete a user from a school.
+ ///
+ /// 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 educationUser resources associated with an educationSchool.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,6 +149,27 @@ public RefRequestBuilder WithUrl(string rawUrl) {
return new RefRequestBuilder(rawUrl, RequestAdapter);
}
///
+ /// Delete a user from a school.
+ ///
+ public class RefRequestBuilderDeleteQueryParameters {
+ /// The delete Uri
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%40id")]
+ public string? Id { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%40id")]
+ public string Id { 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.")]
+ public class RefRequestBuilderDeleteRequestConfiguration : RequestConfiguration {
+ }
+ ///
/// Get the educationUser resources associated with an educationSchool.
///
public class RefRequestBuilderGetQueryParameters {
diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs
index 5391ed44f61..de542aaac98 100644
--- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs
@@ -18,14 +18,14 @@ public class RefRequestBuilder : BaseRequestBuilder {
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref{?%40id*}", pathParameters) {
+ public RefRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref", pathParameters) {
}
///
/// Instantiates a new RefRequestBuilder and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref{?%40id*}", rawUrl) {
+ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/{educationCategory%2Did}/$ref", rawUrl) {
}
///
/// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation.
@@ -35,10 +35,10 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary