diff --git a/CHANGELOG.md b/CHANGELOG.md
index ec3e87c6b55..72f25122a07 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.17.0] - 2023-07-05
+
+- Fixes missing odata cast path for `roomList` in places API.
+- Latest metadata updates from 4th July 2023.
+
## [5.16.0] - 2023-06-27
- Fixes missing `Model` query parameter for Channels.GetAllMessages (https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1979)
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs
new file mode 100644
index 00000000000..407691c9f74
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradePostRequestBody.cs
@@ -0,0 +1,64 @@
+using Microsoft.Graph.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System;
+namespace Microsoft.Graph.Chats.Item.InstalledApps.Item.Upgrade {
+ public class UpgradePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData {
+ get { return BackingStore?.Get>("additionalData"); }
+ set { BackingStore?.Set("additionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The consentedPermissionSet property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public TeamsAppPermissionSet? ConsentedPermissionSet {
+ get { return BackingStore?.Get("consentedPermissionSet"); }
+ set { BackingStore?.Set("consentedPermissionSet", value); }
+ }
+#nullable restore
+#else
+ public TeamsAppPermissionSet ConsentedPermissionSet {
+ get { return BackingStore?.Get("consentedPermissionSet"); }
+ set { BackingStore?.Set("consentedPermissionSet", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new upgradePostRequestBody and sets the default values.
+ ///
+ public UpgradePostRequestBody() {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// The parse node to use to read the discriminator value and create the object
+ public static UpgradePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new UpgradePostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ public IDictionary> GetFieldDeserializers() {
+ return new Dictionary> {
+ {"consentedPermissionSet", n => { ConsentedPermissionSet = n.GetObjectValue(TeamsAppPermissionSet.CreateFromDiscriminatorValue); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public void Serialize(ISerializationWriter writer) {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteObjectValue("consentedPermissionSet", ConsentedPermissionSet);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs
index 1557cc4715e..404d95f31f1 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs
@@ -30,16 +30,18 @@ public UpgradeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
/// Upgrade an app installation within a chat.
/// Find more info here
///
+ /// The request body
/// 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 PostAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(UpgradePostRequestBody body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
- public async Task PostAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(UpgradePostRequestBody body, Action requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
- var requestInfo = ToPostRequestInformation(requestConfiguration);
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary> {
{"4XX", ODataError.CreateFromDiscriminatorValue},
{"5XX", ODataError.CreateFromDiscriminatorValue},
@@ -49,19 +51,22 @@ public async Task PostAsync(Action
/// Upgrade an app installation within a chat.
///
+ /// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(Action? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(UpgradePostRequestBody body, Action? requestConfiguration = default) {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(Action requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(UpgradePostRequestBody body, Action requestConfiguration = default) {
#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation {
HttpMethod = Method.POST,
UrlTemplate = UrlTemplate,
PathParameters = PathParameters,
};
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
if (requestConfiguration != null) {
var requestConfig = new UpgradeRequestBuilderPostRequestConfiguration();
requestConfiguration.Invoke(requestConfig);
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs
index 62ed3992c86..6fc7c92d902 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs
@@ -48,8 +48,8 @@ public async Task DeleteAsync(Action
- /// Retrieve a conversationMember from a chat.
- /// Find more info here
+ /// Retrieve a conversationMember from a chat or channel.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,7 +113,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Retrieve a conversationMember from a chat.
+ /// Retrieve a conversationMember from a chat or channel.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -183,7 +183,7 @@ public ConversationMemberItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Retrieve a conversationMember from a chat.
+ /// Retrieve a conversationMember from a chat or channel.
///
public class ConversationMemberItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs
index 7a42f5bd1c2..2a100a57b67 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs
@@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Create a new reply to a chatMessage in a specified channel.
- /// Find more info here
+ /// Send a new reply to a chatMessage in a specified channel.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new reply to a chatMessage in a specified channel.
+ /// Send a new reply to a chatMessage in a specified channel.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs
index 0bb1445adca..ebb8e2f76bf 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs
@@ -65,8 +65,8 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Send a new chatMessage in the specified channel or a chat.
- /// Find more info here
+ /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -113,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Send a new chatMessage in the specified channel or a chat.
+ /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs
index 0e35b3e8091..d76918f2c7f 100644
--- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs
@@ -28,8 +28,8 @@ public InviteRequestBuilder(Dictionary pathParameters, IRequestA
public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl) {
}
///
- /// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
- /// Find more info here
+ /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -50,7 +50,7 @@ public async Task PostAsync(InvitePostRequestBody b
return await RequestAdapter.SendAsync(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
+ /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
///
/// 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 9e3954c1c52..754dcac8b60 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs
@@ -104,7 +104,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.
@@ -124,7 +124,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 8092b8c23a2..ac99544798c 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs
@@ -52,8 +52,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the managedAppProtection object.
- /// Find more info here
+ /// Read properties and relationships of the windowsInformationProtection object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -117,7 +117,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedAppProtection object.
+ /// Read properties and relationships of the windowsInformationProtection object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -187,7 +187,7 @@ public ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Read properties and relationships of the managedAppProtection object.
+ /// Read properties and relationships of the windowsInformationProtection object.
///
public class ManagedAppPolicyItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs
index 2665d1f34ca..2ccc8b64879 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs
@@ -40,8 +40,8 @@ public ManagedAppPoliciesRequestBuilder(Dictionary pathParameter
public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
///
- /// List properties and relationships of the targetedManagedAppProtection objects.
- /// Find more info here
+ /// List properties and relationships of the managedAppConfiguration objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -81,7 +81,7 @@ public async Task PostAsync(ManagedAppPolicy body, Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// List properties and relationships of the targetedManagedAppProtection objects.
+ /// List properties and relationships of the managedAppConfiguration 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 RequestInformation ToPostRequestInformation(ManagedAppPolicy body, Action
return requestInfo;
}
///
- /// List properties and relationships of the targetedManagedAppProtection objects.
+ /// List properties and relationships of the managedAppConfiguration objects.
///
public class ManagedAppPoliciesRequestBuilderGetQueryParameters {
/// Include count of items
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
index f8a60f4ea79..421c5a33f69 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs
@@ -62,8 +62,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.
@@ -127,7 +127,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
@@ -197,7 +197,7 @@ public ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// 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 4d3c2b578cc..8735492ec38 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs
@@ -45,8 +45,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 androidManagedAppRegistration objects.
- /// Find more info here
+ /// List properties and relationships of the managedAppRegistration objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -87,7 +87,7 @@ public async Task PostAsync(ManagedAppRegistration body,
return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// List properties and relationships of the androidManagedAppRegistration objects.
+ /// List properties and relationships of the managedAppRegistration objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -141,7 +141,7 @@ public RequestInformation ToPostRequestInformation(ManagedAppRegistration body,
return requestInfo;
}
///
- /// List properties and relationships of the androidManagedAppRegistration objects.
+ /// List properties and relationships of the managedAppRegistration objects.
///
public class ManagedAppRegistrationsRequestBuilderGetQueryParameters {
/// Include count of items
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 ca9b4602ede..33fec5dc429 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
@@ -48,8 +48,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the managedEBookAssignment object.
- /// Find more info here
+ /// Read properties and relationships of the iosVppEBookAssignment 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,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the managedEBookAssignment object.
+ /// Read properties and relationships of the iosVppEBookAssignment object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -184,7 +184,7 @@ public ManagedEBookAssignmentItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Read properties and relationships of the managedEBookAssignment object.
+ /// Read properties and relationships of the iosVppEBookAssignment object.
///
public class ManagedEBookAssignmentItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs
index 97c7a2c5d24..d378393f788 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs
@@ -53,8 +53,8 @@ public MobileAppItemRequestBuilder(Dictionary pathParameters, IR
public MobileAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Deletes a iosStoreApp.
- /// Find more info here
+ /// Deletes a macOSLobApp.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -73,8 +73,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the windowsWebApp object.
- /// Find more info here
+ /// Read properties and relationships of the managedIOSLobApp object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -93,8 +93,8 @@ public async Task GetAsync(Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Update the properties of a windowsMicrosoftEdgeApp object.
- /// Find more info here
+ /// Update the properties of a androidStoreApp object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -115,7 +115,7 @@ public async Task PatchAsync(MobileApp body, Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Deletes a iosStoreApp.
+ /// Deletes a macOSLobApp.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -139,7 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the windowsWebApp object.
+ /// Read properties and relationships of the managedIOSLobApp object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -165,7 +165,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a windowsMicrosoftEdgeApp object.
+ /// Update the properties of a androidStoreApp object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -209,7 +209,7 @@ public MobileAppItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Read properties and relationships of the windowsWebApp object.
+ /// Read properties and relationships of the managedIOSLobApp 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 174307ad040..cceaa91e837 100644
--- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs
@@ -50,8 +50,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 iosVppApp objects.
- /// Find more info here
+ /// List properties and relationships of the windowsMobileMSI objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -92,7 +92,7 @@ public async Task PostAsync(MobileApp body, Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// List properties and relationships of the iosVppApp objects.
+ /// List properties and relationships of the windowsMobileMSI objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -146,7 +146,7 @@ public RequestInformation ToPostRequestInformation(MobileApp body, Action
- /// List properties and relationships of the iosVppApp objects.
+ /// List properties and relationships of the windowsMobileMSI 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 5ba8212bd75..04256084466 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs
@@ -40,8 +40,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 androidCompliancePolicy objects.
- /// Find more info here
+ /// List properties and relationships of the windows10MobileCompliancePolicy objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -60,8 +60,8 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Create a new windows10CompliancePolicy object.
- /// Find more info here
+ /// Create a new iosCompliancePolicy object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -82,7 +82,7 @@ public async Task PostAsync(DeviceCompliancePolicy body,
return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// List properties and relationships of the androidCompliancePolicy objects.
+ /// List properties and relationships of the windows10MobileCompliancePolicy objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -108,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new windows10CompliancePolicy object.
+ /// Create a new iosCompliancePolicy object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -136,7 +136,7 @@ public RequestInformation ToPostRequestInformation(DeviceCompliancePolicy body,
return requestInfo;
}
///
- /// List properties and relationships of the androidCompliancePolicy objects.
+ /// List properties and relationships of the windows10MobileCompliancePolicy 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 766319c2daa..3b352a85572 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs
@@ -73,8 +73,8 @@ public DeviceCompliancePolicyItemRequestBuilder(Dictionary pathP
public DeviceCompliancePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Deletes a windowsPhone81CompliancePolicy.
- /// Find more info here
+ /// Deletes a windows81CompliancePolicy.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -93,8 +93,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the windows10CompliancePolicy object.
- /// Find more info here
+ /// Read properties and relationships of the androidCompliancePolicy object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -113,8 +113,8 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Update the properties of a macOSCompliancePolicy object.
- /// Find more info here
+ /// Update the properties of a windows10CompliancePolicy object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -135,7 +135,7 @@ public async Task PatchAsync(DeviceCompliancePolicy body
return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Deletes a windowsPhone81CompliancePolicy.
+ /// Deletes a windows81CompliancePolicy.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -159,7 +159,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the windows10CompliancePolicy object.
+ /// Read properties and relationships of the androidCompliancePolicy object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -185,7 +185,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a macOSCompliancePolicy object.
+ /// Update the properties of a windows10CompliancePolicy object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -229,7 +229,7 @@ public DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Read properties and relationships of the windows10CompliancePolicy object.
+ /// Read properties and relationships of the androidCompliancePolicy 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 5b96b8a5216..c42f002a6c5 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs
@@ -40,8 +40,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 androidGeneralDeviceConfiguration objects.
- /// Find more info here
+ /// List properties and relationships of the sharedPCConfiguration objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -60,8 +60,8 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Create a new windows81GeneralConfiguration object.
- /// Find more info here
+ /// Create a new iosDeviceFeaturesConfiguration object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -82,7 +82,7 @@ public async Task PostAsync(DeviceConfiguration body, Actio
return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// List properties and relationships of the androidGeneralDeviceConfiguration objects.
+ /// List properties and relationships of the sharedPCConfiguration objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -108,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new windows81GeneralConfiguration object.
+ /// Create a new iosDeviceFeaturesConfiguration object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -136,7 +136,7 @@ public RequestInformation ToPostRequestInformation(DeviceConfiguration body, Act
return requestInfo;
}
///
- /// List properties and relationships of the androidGeneralDeviceConfiguration objects.
+ /// List properties and relationships of the sharedPCConfiguration 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 822111c52a7..38159b4f418 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs
@@ -64,8 +64,8 @@ public DeviceConfigurationItemRequestBuilder(Dictionary pathPara
public DeviceConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24select,%24expand}", rawUrl) {
}
///
- /// Deletes a androidWorkProfileGeneralDeviceConfiguration.
- /// 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.
@@ -84,8 +84,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the sharedPCConfiguration object.
- /// Find more info here
+ /// Read properties and relationships of the androidGeneralDeviceConfiguration object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -112,8 +112,8 @@ public GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder GetOm
return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(PathParameters, RequestAdapter, secretReferenceValueId);
}
///
- /// Update the properties of a androidCustomConfiguration object.
- /// Find more info here
+ /// Update the properties of a sharedPCConfiguration object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -134,7 +134,7 @@ public async Task PatchAsync(DeviceConfiguration body, Acti
return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Deletes a androidWorkProfileGeneralDeviceConfiguration.
+ /// Deletes a editionUpgradeConfiguration.
///
/// 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 RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the sharedPCConfiguration object.
+ /// Read properties and relationships of the androidGeneralDeviceConfiguration object.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -184,7 +184,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the properties of a androidCustomConfiguration object.
+ /// Update the properties of a sharedPCConfiguration object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -228,7 +228,7 @@ public DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration() {
}
}
///
- /// Read properties and relationships of the sharedPCConfiguration object.
+ /// Read properties and relationships of the androidGeneralDeviceConfiguration 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 26575e857cc..bd7d950a8b1 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs
@@ -40,8 +40,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 deviceEnrollmentLimitConfiguration objects.
- /// Find more info here
+ /// List properties and relationships of the deviceEnrollmentConfiguration objects.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -60,8 +60,8 @@ public async Task GetAsync(Acti
return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object.
- /// Find more info here
+ /// Create a new deviceEnrollmentLimitConfiguration object.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -82,7 +82,7 @@ public async Task PostAsync(DeviceEnrollmentConfi
return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
///
- /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects.
+ /// List properties and relationships of the deviceEnrollmentConfiguration objects.
///
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -108,7 +108,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ /// Create a new deviceEnrollmentLimitConfiguration object.
///
/// The request body
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -136,7 +136,7 @@ public RequestInformation ToPostRequestInformation(DeviceEnrollmentConfiguration
return requestInfo;
}
///
- /// List properties and relationships of the deviceEnrollmentLimitConfiguration objects.
+ /// List properties and relationships of the deviceEnrollmentConfiguration 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 80577af92aa..e30a329cb80 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs
@@ -63,8 +63,8 @@ public async Task DeleteAsync(Action
- /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
- /// Find more info here
+ /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -129,7 +129,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ /// Read properties and relationships of the deviceEnrollmentLimitConfiguration 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 DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration
}
}
///
- /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object.
+ /// Read properties and relationships of the deviceEnrollmentLimitConfiguration object.
///
public class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters {
/// Expand related entities
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs
index 1b622f6c0a4..a6adbf941f8 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs
@@ -17,6 +17,7 @@
using Microsoft.Graph.DeviceManagement.IosUpdateStatuses;
using Microsoft.Graph.DeviceManagement.ManagedDeviceOverview;
using Microsoft.Graph.DeviceManagement.ManagedDevices;
+using Microsoft.Graph.DeviceManagement.MobileAppTroubleshootingEvents;
using Microsoft.Graph.DeviceManagement.MobileThreatDefenseConnectors;
using Microsoft.Graph.DeviceManagement.NotificationMessageTemplates;
using Microsoft.Graph.DeviceManagement.RemoteAssistancePartners;
@@ -28,10 +29,34 @@
using Microsoft.Graph.DeviceManagement.TelecomExpenseManagementPartners;
using Microsoft.Graph.DeviceManagement.TermsAndConditions;
using Microsoft.Graph.DeviceManagement.TroubleshootingEvents;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformance;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsAppHealthDeviceModelPerformance;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformance;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsAppHealthDevicePerformanceDetails;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsAppHealthOSVersionPerformance;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsAppHealthOverview;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsBaselines;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsCategories;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDevicePerformance;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceScores;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupHistory;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcesses;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsMetricHistory;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsModelScores;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsOverview;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsScoreHistory;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereMetrics;
+using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsWorkFromAnywhereModelPerformance;
using Microsoft.Graph.DeviceManagement.VerifyWindowsEnrollmentAutoDiscoveryWithDomainName;
using Microsoft.Graph.DeviceManagement.WindowsAutopilotDeviceIdentities;
using Microsoft.Graph.DeviceManagement.WindowsInformationProtectionAppLearningSummaries;
using Microsoft.Graph.DeviceManagement.WindowsInformationProtectionNetworkLearningSummaries;
+using Microsoft.Graph.DeviceManagement.WindowsMalwareInformation;
using Microsoft.Graph.Models.ODataErrors;
using Microsoft.Graph.Models;
using Microsoft.Kiota.Abstractions.Serialization;
@@ -119,6 +144,10 @@ public class DeviceManagementRequestBuilder : BaseRequestBuilder {
public ManagedDevicesRequestBuilder ManagedDevices { get =>
new ManagedDevicesRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the mobileAppTroubleshootingEvents property of the microsoft.graph.deviceManagement entity.
+ public MobileAppTroubleshootingEventsRequestBuilder MobileAppTroubleshootingEvents { get =>
+ new MobileAppTroubleshootingEventsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the mobileThreatDefenseConnectors property of the microsoft.graph.deviceManagement entity.
public MobileThreatDefenseConnectorsRequestBuilder MobileThreatDefenseConnectors { get =>
new MobileThreatDefenseConnectorsRequestBuilder(PathParameters, RequestAdapter);
@@ -163,6 +192,98 @@ public class DeviceManagementRequestBuilder : BaseRequestBuilder {
public TroubleshootingEventsRequestBuilder TroubleshootingEvents { get =>
new TroubleshootingEventsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformance property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder UserExperienceAnalyticsAppHealthApplicationPerformance { get =>
+ new UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails { get =>
+ new UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId { get =>
+ new UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion { get =>
+ new UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsAppHealthDeviceModelPerformance property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder UserExperienceAnalyticsAppHealthDeviceModelPerformance { get =>
+ new UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformance property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder UserExperienceAnalyticsAppHealthDevicePerformance { get =>
+ new UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsAppHealthDevicePerformanceDetails property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder UserExperienceAnalyticsAppHealthDevicePerformanceDetails { get =>
+ new UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsAppHealthOSVersionPerformance property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder UserExperienceAnalyticsAppHealthOSVersionPerformance { get =>
+ new UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsAppHealthOverview property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsAppHealthOverviewRequestBuilder UserExperienceAnalyticsAppHealthOverview { get =>
+ new UserExperienceAnalyticsAppHealthOverviewRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsBaselines property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsBaselinesRequestBuilder UserExperienceAnalyticsBaselines { get =>
+ new UserExperienceAnalyticsBaselinesRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsCategories property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsCategoriesRequestBuilder UserExperienceAnalyticsCategories { get =>
+ new UserExperienceAnalyticsCategoriesRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsDevicePerformance property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsDevicePerformanceRequestBuilder UserExperienceAnalyticsDevicePerformance { get =>
+ new UserExperienceAnalyticsDevicePerformanceRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsDeviceScores property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsDeviceScoresRequestBuilder UserExperienceAnalyticsDeviceScores { get =>
+ new UserExperienceAnalyticsDeviceScoresRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsDeviceStartupHistory property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder UserExperienceAnalyticsDeviceStartupHistory { get =>
+ new UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcesses property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder UserExperienceAnalyticsDeviceStartupProcesses { get =>
+ new UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsMetricHistory property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsMetricHistoryRequestBuilder UserExperienceAnalyticsMetricHistory { get =>
+ new UserExperienceAnalyticsMetricHistoryRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsModelScores property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsModelScoresRequestBuilder UserExperienceAnalyticsModelScores { get =>
+ new UserExperienceAnalyticsModelScoresRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsOverview property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsOverviewRequestBuilder UserExperienceAnalyticsOverview { get =>
+ new UserExperienceAnalyticsOverviewRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsScoreHistory property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsScoreHistoryRequestBuilder UserExperienceAnalyticsScoreHistory { get =>
+ new UserExperienceAnalyticsScoreHistoryRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to call the userExperienceAnalyticsSummarizeWorkFromAnywhereDevices method.
+ public UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices { get =>
+ new UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric { get =>
+ new UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereMetrics property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder UserExperienceAnalyticsWorkFromAnywhereMetrics { get =>
+ new UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userExperienceAnalyticsWorkFromAnywhereModelPerformance property of the microsoft.graph.deviceManagement entity.
+ public UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder UserExperienceAnalyticsWorkFromAnywhereModelPerformance { get =>
+ new UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the windowsAutopilotDeviceIdentities property of the microsoft.graph.deviceManagement entity.
public WindowsAutopilotDeviceIdentitiesRequestBuilder WindowsAutopilotDeviceIdentities { get =>
new WindowsAutopilotDeviceIdentitiesRequestBuilder(PathParameters, RequestAdapter);
@@ -175,6 +296,10 @@ public class DeviceManagementRequestBuilder : BaseRequestBuilder {
public WindowsInformationProtectionNetworkLearningSummariesRequestBuilder WindowsInformationProtectionNetworkLearningSummaries { get =>
new WindowsInformationProtectionNetworkLearningSummariesRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the windowsMalwareInformation property of the microsoft.graph.deviceManagement entity.
+ public WindowsMalwareInformationRequestBuilder WindowsMalwareInformation { get =>
+ new WindowsMalwareInformationRequestBuilder(PathParameters, RequestAdapter);
+ }
///
/// Instantiates a new DeviceManagementRequestBuilder and sets the default values.
///
@@ -191,7 +316,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.
@@ -219,7 +344,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/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..a8061262c9f
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs
@@ -0,0 +1,118 @@
+using Microsoft.Graph.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseRequestBuilder {
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// 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 GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new CountRequestBuilderGetRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class CountRequestBuilderGetRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ /// Request query parameters
+ public CountRequestBuilderGetQueryParameters QueryParameters { get; set; } = new CountRequestBuilderGetQueryParameters();
+ ///
+ /// Instantiates a new CountRequestBuilderGetRequestConfiguration and sets the default values.
+ ///
+ public CountRequestBuilderGetRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs
new file mode 100644
index 00000000000..387b9c60072
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs
@@ -0,0 +1,90 @@
+using Microsoft.Graph.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl {
+ ///
+ /// Provides operations to call the createDownloadUrl method.
+ ///
+ public class CreateDownloadUrlRequestBuilder : BaseRequestBuilder {
+ ///
+ /// Instantiates a new CreateDownloadUrlRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CreateDownloadUrlRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}/createDownloadUrl", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CreateDownloadUrlRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CreateDownloadUrlRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}/createDownloadUrl", rawUrl) {
+ }
+ ///
+ /// Invoke action createDownloadUrl
+ ///
+ /// 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 PostAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PostAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, CreateDownloadUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// Invoke action createDownloadUrl
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.POST,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new CreateDownloadUrlRequestBuilderPostRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class CreateDownloadUrlRequestBuilderPostRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ ///
+ /// Instantiates a new createDownloadUrlRequestBuilderPostRequestConfiguration and sets the default values.
+ ///
+ public CreateDownloadUrlRequestBuilderPostRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlResponse.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlResponse.cs
new file mode 100644
index 00000000000..0b8338cc1de
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlResponse.cs
@@ -0,0 +1,63 @@
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System;
+namespace Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl {
+ public class CreateDownloadUrlResponse : IAdditionalDataHolder, IBackedModel, IParsable {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData {
+ get { return BackingStore?.Get>("additionalData"); }
+ set { BackingStore?.Set("additionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The value property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Value {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#nullable restore
+#else
+ public string Value {
+ get { return BackingStore?.Get("value"); }
+ set { BackingStore?.Set("value", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new createDownloadUrlResponse and sets the default values.
+ ///
+ public CreateDownloadUrlResponse() {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// The parse node to use to read the discriminator value and create the object
+ public static CreateDownloadUrlResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
+ return new CreateDownloadUrlResponse();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ public IDictionary> GetFieldDeserializers() {
+ return new Dictionary> {
+ {"value", n => { Value = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public void Serialize(ISerializationWriter writer) {
+ _ = writer ?? throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("value", Value);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs
new file mode 100644
index 00000000000..4b180218907
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs
@@ -0,0 +1,248 @@
+using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item.CreateDownloadUrl;
+using Microsoft.Graph.Models.ODataErrors;
+using Microsoft.Graph.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item {
+ ///
+ /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity.
+ ///
+ public class DeviceLogCollectionResponseItemRequestBuilder : BaseRequestBuilder {
+ /// Provides operations to call the createDownloadUrl method.
+ public CreateDownloadUrlRequestBuilder CreateDownloadUrl { get =>
+ new CreateDownloadUrlRequestBuilder(PathParameters, RequestAdapter);
+ }
+ ///
+ /// Instantiates a new DeviceLogCollectionResponseItemRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public DeviceLogCollectionResponseItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}{?%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new DeviceLogCollectionResponseItemRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public DeviceLogCollectionResponseItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}{?%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Delete navigation property logCollectionRequests for deviceManagement
+ ///
+ /// 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);
+ }
+ ///
+ /// List of log collection requests
+ ///
+ /// 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 GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// Update the navigation property logCollectionRequests in deviceManagement
+ ///
+ /// The request body
+ /// 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 PatchAsync(DeviceLogCollectionResponse body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PatchAsync(DeviceLogCollectionResponse body, Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// Delete navigation property logCollectionRequests for deviceManagement
+ ///
+ /// 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 {
+ HttpMethod = Method.DELETE,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ if (requestConfiguration != null) {
+ var requestConfig = new DeviceLogCollectionResponseItemRequestBuilderDeleteRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// List of log collection 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 RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new DeviceLogCollectionResponseItemRequestBuilderGetRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Update the navigation property logCollectionRequests in deviceManagement
+ ///
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(DeviceLogCollectionResponse body, Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(DeviceLogCollectionResponse body, Action requestConfiguration = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.PATCH,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ if (requestConfiguration != null) {
+ var requestConfig = new DeviceLogCollectionResponseItemRequestBuilderPatchRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class DeviceLogCollectionResponseItemRequestBuilderDeleteRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ ///
+ /// Instantiates a new DeviceLogCollectionResponseItemRequestBuilderDeleteRequestConfiguration and sets the default values.
+ ///
+ public DeviceLogCollectionResponseItemRequestBuilderDeleteRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ ///
+ /// List of log collection requests
+ ///
+ public class DeviceLogCollectionResponseItemRequestBuilderGetQueryParameters {
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class DeviceLogCollectionResponseItemRequestBuilderGetRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ /// Request query parameters
+ public DeviceLogCollectionResponseItemRequestBuilderGetQueryParameters QueryParameters { get; set; } = new DeviceLogCollectionResponseItemRequestBuilderGetQueryParameters();
+ ///
+ /// Instantiates a new DeviceLogCollectionResponseItemRequestBuilderGetRequestConfiguration and sets the default values.
+ ///
+ public DeviceLogCollectionResponseItemRequestBuilderGetRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class DeviceLogCollectionResponseItemRequestBuilderPatchRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ ///
+ /// Instantiates a new DeviceLogCollectionResponseItemRequestBuilderPatchRequestConfiguration and sets the default values.
+ ///
+ public DeviceLogCollectionResponseItemRequestBuilderPatchRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs
new file mode 100644
index 00000000000..af8358ced19
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs
@@ -0,0 +1,235 @@
+using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Count;
+using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogCollectionRequests.Item;
+using Microsoft.Graph.Models.ODataErrors;
+using Microsoft.Graph.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogCollectionRequests {
+ ///
+ /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity.
+ ///
+ public class LogCollectionRequestsRequestBuilder : BaseRequestBuilder {
+ /// Provides operations to count the resources in the collection.
+ public CountRequestBuilder Count { get =>
+ new CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity.
+ public DeviceLogCollectionResponseItemRequestBuilder this[string position] { get {
+ var urlTplParams = new Dictionary(PathParameters);
+ if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("deviceLogCollectionResponse%2Did", position);
+ return new DeviceLogCollectionResponseItemRequestBuilder(urlTplParams, RequestAdapter);
+ } }
+ ///
+ /// Instantiates a new LogCollectionRequestsRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public LogCollectionRequestsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new LogCollectionRequestsRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public LogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// List of log collection requests
+ ///
+ /// 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 GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// Create new navigation property to logCollectionRequests for deviceManagement
+ ///
+ /// The request body
+ /// 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 PostAsync(DeviceLogCollectionResponse body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PostAsync(DeviceLogCollectionResponse body, Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// List of log collection 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 RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new LogCollectionRequestsRequestBuilderGetRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Create new navigation property to logCollectionRequests for deviceManagement
+ ///
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(DeviceLogCollectionResponse body, Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(DeviceLogCollectionResponse body, Action requestConfiguration = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.POST,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ if (requestConfiguration != null) {
+ var requestConfig = new LogCollectionRequestsRequestBuilderPostRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// List of log collection requests
+ ///
+ public class LogCollectionRequestsRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class LogCollectionRequestsRequestBuilderGetRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ /// Request query parameters
+ public LogCollectionRequestsRequestBuilderGetQueryParameters QueryParameters { get; set; } = new LogCollectionRequestsRequestBuilderGetQueryParameters();
+ ///
+ /// Instantiates a new logCollectionRequestsRequestBuilderGetRequestConfiguration and sets the default values.
+ ///
+ public LogCollectionRequestsRequestBuilderGetRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class LogCollectionRequestsRequestBuilderPostRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ ///
+ /// Instantiates a new logCollectionRequestsRequestBuilderPostRequestConfiguration and sets the default values.
+ ///
+ public LogCollectionRequestsRequestBuilderPostRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs
index ae839fc441d..ad5e2c11e47 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs
@@ -6,6 +6,7 @@
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.DeviceConfigurationStates;
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.DisableLostMode;
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LocateDevice;
+using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogCollectionRequests;
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.LogoutSharedAppleDeviceActiveUser;
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.RebootNow;
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.RecoverPasscode;
@@ -19,6 +20,7 @@
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.Users;
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsDefenderScan;
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsDefenderUpdateSignatures;
+using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsProtectionState;
using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.Wipe;
using Microsoft.Graph.Models.ODataErrors;
using Microsoft.Graph.Models;
@@ -67,6 +69,10 @@ public class ManagedDeviceItemRequestBuilder : BaseRequestBuilder {
public LocateDeviceRequestBuilder LocateDevice { get =>
new LocateDeviceRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the logCollectionRequests property of the microsoft.graph.managedDevice entity.
+ public LogCollectionRequestsRequestBuilder LogCollectionRequests { get =>
+ new LogCollectionRequestsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the logoutSharedAppleDeviceActiveUser method.
public LogoutSharedAppleDeviceActiveUserRequestBuilder LogoutSharedAppleDeviceActiveUser { get =>
new LogoutSharedAppleDeviceActiveUserRequestBuilder(PathParameters, RequestAdapter);
@@ -119,6 +125,10 @@ public class ManagedDeviceItemRequestBuilder : BaseRequestBuilder {
public WindowsDefenderUpdateSignaturesRequestBuilder WindowsDefenderUpdateSignatures { get =>
new WindowsDefenderUpdateSignaturesRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the windowsProtectionState property of the microsoft.graph.managedDevice entity.
+ public WindowsProtectionStateRequestBuilder WindowsProtectionState { get =>
+ new WindowsProtectionStateRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the wipe method.
public WipeRequestBuilder Wipe { get =>
new WipeRequestBuilder(PathParameters, RequestAdapter);
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..6415d968acc
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs
@@ -0,0 +1,118 @@
+using Microsoft.Graph.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count {
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ public class CountRequestBuilder : BaseRequestBuilder {
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/$count{?%24search,%24filter}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new CountRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/$count{?%24search,%24filter}", rawUrl) {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// 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 GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "text/plain");
+ if (requestConfiguration != null) {
+ var requestConfig = new CountRequestBuilderGetRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ public class CountRequestBuilderGetQueryParameters {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class CountRequestBuilderGetRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ /// Request query parameters
+ public CountRequestBuilderGetQueryParameters QueryParameters { get; set; } = new CountRequestBuilderGetQueryParameters();
+ ///
+ /// Instantiates a new CountRequestBuilderGetRequestConfiguration and sets the default values.
+ ///
+ public CountRequestBuilderGetRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs
new file mode 100644
index 00000000000..21b576327dc
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs
@@ -0,0 +1,237 @@
+using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Count;
+using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item;
+using Microsoft.Graph.Models.ODataErrors;
+using Microsoft.Graph.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState {
+ ///
+ /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity.
+ ///
+ public class DetectedMalwareStateRequestBuilder : BaseRequestBuilder {
+ /// Provides operations to count the resources in the collection.
+ public CountRequestBuilder Count { get =>
+ new CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity.
+ public WindowsDeviceMalwareStateItemRequestBuilder this[string position] { get {
+ var urlTplParams = new Dictionary(PathParameters);
+ if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("windowsDeviceMalwareState%2Did", position);
+ return new WindowsDeviceMalwareStateItemRequestBuilder(urlTplParams, RequestAdapter);
+ } }
+ ///
+ /// Instantiates a new DetectedMalwareStateRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public DetectedMalwareStateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new DetectedMalwareStateRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public DetectedMalwareStateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// List properties and relationships of the windowsDeviceMalwareState objects.
+ /// 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 GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// Create a new windowsDeviceMalwareState object.
+ /// Find more info here
+ ///
+ /// The request body
+ /// 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 PostAsync(WindowsDeviceMalwareState body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PostAsync(WindowsDeviceMalwareState body, Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// List properties and relationships of the windowsDeviceMalwareState objects.
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new DetectedMalwareStateRequestBuilderGetRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Create a new windowsDeviceMalwareState object.
+ ///
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(WindowsDeviceMalwareState body, Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(WindowsDeviceMalwareState body, Action requestConfiguration = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.POST,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ if (requestConfiguration != null) {
+ var requestConfig = new DetectedMalwareStateRequestBuilderPostRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// List properties and relationships of the windowsDeviceMalwareState objects.
+ ///
+ public class DetectedMalwareStateRequestBuilderGetQueryParameters {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class DetectedMalwareStateRequestBuilderGetRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ /// Request query parameters
+ public DetectedMalwareStateRequestBuilderGetQueryParameters QueryParameters { get; set; } = new DetectedMalwareStateRequestBuilderGetQueryParameters();
+ ///
+ /// Instantiates a new detectedMalwareStateRequestBuilderGetRequestConfiguration and sets the default values.
+ ///
+ public DetectedMalwareStateRequestBuilderGetRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class DetectedMalwareStateRequestBuilderPostRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ ///
+ /// Instantiates a new detectedMalwareStateRequestBuilderPostRequestConfiguration and sets the default values.
+ ///
+ public DetectedMalwareStateRequestBuilderPostRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs
new file mode 100644
index 00000000000..f97e301ff27
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs
@@ -0,0 +1,246 @@
+using Microsoft.Graph.Models.ODataErrors;
+using Microsoft.Graph.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState.Item {
+ ///
+ /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity.
+ ///
+ public class WindowsDeviceMalwareStateItemRequestBuilder : BaseRequestBuilder {
+ ///
+ /// Instantiates a new WindowsDeviceMalwareStateItemRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public WindowsDeviceMalwareStateItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareState%2Did}{?%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new WindowsDeviceMalwareStateItemRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public WindowsDeviceMalwareStateItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareState%2Did}{?%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Deletes a windowsDeviceMalwareState.
+ /// 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);
+ }
+ ///
+ /// Read properties and relationships of the windowsDeviceMalwareState object.
+ /// 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 GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// Update the properties of a windowsDeviceMalwareState object.
+ /// Find more info here
+ ///
+ /// The request body
+ /// 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 PatchAsync(WindowsDeviceMalwareState body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PatchAsync(WindowsDeviceMalwareState body, Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// Deletes a windowsDeviceMalwareState.
+ ///
+ /// 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 {
+ HttpMethod = Method.DELETE,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ if (requestConfiguration != null) {
+ var requestConfig = new WindowsDeviceMalwareStateItemRequestBuilderDeleteRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Read properties and relationships of the windowsDeviceMalwareState object.
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Update the properties of a windowsDeviceMalwareState object.
+ ///
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(WindowsDeviceMalwareState body, Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(WindowsDeviceMalwareState body, Action requestConfiguration = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.PATCH,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ if (requestConfiguration != null) {
+ var requestConfig = new WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class WindowsDeviceMalwareStateItemRequestBuilderDeleteRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ ///
+ /// Instantiates a new WindowsDeviceMalwareStateItemRequestBuilderDeleteRequestConfiguration and sets the default values.
+ ///
+ public WindowsDeviceMalwareStateItemRequestBuilderDeleteRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ ///
+ /// Read properties and relationships of the windowsDeviceMalwareState object.
+ ///
+ public class WindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters {
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ /// Request query parameters
+ public WindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters QueryParameters { get; set; } = new WindowsDeviceMalwareStateItemRequestBuilderGetQueryParameters();
+ ///
+ /// Instantiates a new WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration and sets the default values.
+ ///
+ public WindowsDeviceMalwareStateItemRequestBuilderGetRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ ///
+ /// Instantiates a new WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration and sets the default values.
+ ///
+ public WindowsDeviceMalwareStateItemRequestBuilderPatchRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ }
+}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs
new file mode 100644
index 00000000000..860996c05a6
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs
@@ -0,0 +1,250 @@
+using Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsProtectionState.DetectedMalwareState;
+using Microsoft.Graph.Models.ODataErrors;
+using Microsoft.Graph.Models;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.DeviceManagement.ManagedDevices.Item.WindowsProtectionState {
+ ///
+ /// Provides operations to manage the windowsProtectionState property of the microsoft.graph.managedDevice entity.
+ ///
+ public class WindowsProtectionStateRequestBuilder : BaseRequestBuilder {
+ /// Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity.
+ public DetectedMalwareStateRequestBuilder DetectedMalwareState { get =>
+ new DetectedMalwareStateRequestBuilder(PathParameters, RequestAdapter);
+ }
+ ///
+ /// Instantiates a new WindowsProtectionStateRequestBuilder and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public WindowsProtectionStateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState{?%24select,%24expand}", pathParameters) {
+ }
+ ///
+ /// Instantiates a new WindowsProtectionStateRequestBuilder and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public WindowsProtectionStateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState{?%24select,%24expand}", rawUrl) {
+ }
+ ///
+ /// Delete navigation property windowsProtectionState for deviceManagement
+ ///
+ /// 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);
+ }
+ ///
+ /// Read properties and relationships of the windowsProtectionState object.
+ /// 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 GetAsync(Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task GetAsync(Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// Update the properties of a windowsProtectionState object.
+ /// Find more info here
+ ///
+ /// The request body
+ /// 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 PatchAsync(Microsoft.Graph.Models.WindowsProtectionState body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) {
+#nullable restore
+#else
+ public async Task PatchAsync(Microsoft.Graph.Models.WindowsProtectionState body, Action requestConfiguration = default, CancellationToken cancellationToken = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary> {
+ {"4XX", ODataError.CreateFromDiscriminatorValue},
+ {"5XX", ODataError.CreateFromDiscriminatorValue},
+ };
+ return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
+ }
+ ///
+ /// Delete navigation property windowsProtectionState for deviceManagement
+ ///
+ /// 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 {
+ HttpMethod = Method.DELETE,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ if (requestConfiguration != null) {
+ var requestConfig = new WindowsProtectionStateRequestBuilderDeleteRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Read properties and relationships of the windowsProtectionState object.
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action requestConfiguration = default) {
+#endif
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.GET,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ if (requestConfiguration != null) {
+ var requestConfig = new WindowsProtectionStateRequestBuilderGetRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddQueryParameters(requestConfig.QueryParameters);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Update the properties of a windowsProtectionState object.
+ ///
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.WindowsProtectionState body, Action? requestConfiguration = default) {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.WindowsProtectionState body, Action requestConfiguration = default) {
+#endif
+ _ = body ?? throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation {
+ HttpMethod = Method.PATCH,
+ UrlTemplate = UrlTemplate,
+ PathParameters = PathParameters,
+ };
+ requestInfo.Headers.Add("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ if (requestConfiguration != null) {
+ var requestConfig = new WindowsProtectionStateRequestBuilderPatchRequestConfiguration();
+ requestConfiguration.Invoke(requestConfig);
+ requestInfo.AddRequestOptions(requestConfig.Options);
+ requestInfo.AddHeaders(requestConfig.Headers);
+ }
+ return requestInfo;
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class WindowsProtectionStateRequestBuilderDeleteRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ ///
+ /// Instantiates a new windowsProtectionStateRequestBuilderDeleteRequestConfiguration and sets the default values.
+ ///
+ public WindowsProtectionStateRequestBuilderDeleteRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ ///
+ /// Read properties and relationships of the windowsProtectionState object.
+ ///
+ public class WindowsProtectionStateRequestBuilderGetQueryParameters {
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ public class WindowsProtectionStateRequestBuilderGetRequestConfiguration {
+ /// Request headers
+ public RequestHeaders Headers { get; set; }
+ /// Request options
+ public IList Options { get; set; }
+ /// Request query parameters
+ public WindowsProtectionStateRequestBuilderGetQueryParameters QueryParameters { get; set; } = new WindowsProtectionStateRequestBuilderGetQueryParameters();
+ ///
+ /// Instantiates a new windowsProtectionStateRequestBuilderGetRequestConfiguration and sets the default values.
+ ///
+ public WindowsProtectionStateRequestBuilderGetRequestConfiguration() {
+ Options = new List();
+ Headers = new RequestHeaders();
+ }
+ }
+ ///