diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs
index 55bdd36380c4..22c0a785dcb1 100644
--- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/FoldersRequestBuilder.cs
@@ -60,7 +60,7 @@ public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
{
}
///
- /// Get all the mailboxFolder objects in the specified mailbox, including any search folders.
+ /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true.
/// Find more info here
///
/// A
@@ -110,7 +110,7 @@ public FoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get all the mailboxFolder objects in the specified mailbox, including any search folders.
+ /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -160,7 +160,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.FoldersRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get all the mailboxFolder objects in the specified mailbox, including any search folders.
+ /// Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren't returned. To include them, specify includeHiddenFolders=true.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class FoldersRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs
index 887b8680b975..1862c2895385 100644
--- a/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Exchange/Mailboxes/Item/Folders/Item/ChildFolders/ChildFoldersRequestBuilder.cs
@@ -60,7 +60,7 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
{
}
///
- /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
+ /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true.
/// Find more info here
///
/// A
@@ -109,7 +109,7 @@ public ChildFoldersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MailboxFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
+ /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.Admin.Exchange.Mailboxes.Item.Folders.Item.ChildFolders.ChildFoldersRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
+ /// Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren't returned. To include them, specify includeHiddenFolders=true.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ChildFoldersRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs
index 2a45ae6406bc..f72db0196a93 100644
--- a/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/ReportSettings/SharePoint/ApiUsageReportMetrics/ApiUsageReportMetricsRequestBuilder.cs
@@ -54,7 +54,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques
{
}
///
- /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
+ /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
/// Find more info here
///
/// A
@@ -103,7 +103,7 @@ public ApiUsageReportMetricsRequestBuilder(string rawUrl, IRequestAdapter reques
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ApiUsageReportEnablementStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
+ /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.Admin.ReportSettings.SharePoint.ApiUsageReportMetrics.ApiUsageReportMetricsRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
+ /// Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ApiUsageReportMetricsRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
index bf1692137068..31f228d40e9a 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index 8031cc70a03b..83078d565d24 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
index dce595a6eb71..095442acf1a2 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index 9f088dfc7705..6e09bc9ca33e 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
index 835bd2ad233e..0cebd7940884 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index e0ffeda53deb..b2091a59d78b 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotPostRequestBody.cs
new file mode 100644
index 000000000000..74bd9364d297
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotPostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class BulkCreateUserProfileSnapshotPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The cloudProfileIds property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? CloudProfileIds
+ {
+ get { return BackingStore?.Get?>("cloudProfileIds"); }
+ set { BackingStore?.Set("cloudProfileIds", value); }
+ }
+#nullable restore
+#else
+ public List CloudProfileIds
+ {
+ get { return BackingStore?.Get>("cloudProfileIds"); }
+ set { BackingStore?.Set("cloudProfileIds", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public BulkCreateUserProfileSnapshotPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "cloudProfileIds", n => { CloudProfileIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfPrimitiveValues("cloudProfileIds", CloudProfileIds);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotRequestBuilder.cs
new file mode 100644
index 000000000000..2ebcac2a74ae
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkCreateUserProfileSnapshot/BulkCreateUserProfileSnapshotRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot
+{
+ ///
+ /// Provides operations to call the bulkCreateUserProfileSnapshot method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class BulkCreateUserProfileSnapshotRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public BulkCreateUserProfileSnapshotRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public BulkCreateUserProfileSnapshotRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action bulkCreateUserProfileSnapshot
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action bulkCreateUserProfileSnapshot
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class BulkCreateUserProfileSnapshotRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotPostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotPostRequestBody.cs
new file mode 100644
index 000000000000..068524f1a57a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotPostRequestBody.cs
@@ -0,0 +1,100 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class BulkExportUserProfileSnapshotPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The snapshotIds property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? SnapshotIds
+ {
+ get { return BackingStore?.Get?>("snapshotIds"); }
+ set { BackingStore?.Set("snapshotIds", value); }
+ }
+#nullable restore
+#else
+ public List SnapshotIds
+ {
+ get { return BackingStore?.Get>("snapshotIds"); }
+ set { BackingStore?.Set("snapshotIds", value); }
+ }
+#endif
+ /// The storageDetail property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail? StorageDetail
+ {
+ get { return BackingStore?.Get("storageDetail"); }
+ set { BackingStore?.Set("storageDetail", value); }
+ }
+#nullable restore
+#else
+ public global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail StorageDetail
+ {
+ get { return BackingStore?.Get("storageDetail"); }
+ set { BackingStore?.Set("storageDetail", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public BulkExportUserProfileSnapshotPostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "snapshotIds", n => { SnapshotIds = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ { "storageDetail", n => { StorageDetail = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotStorageDetail.CreateFromDiscriminatorValue); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfPrimitiveValues("snapshotIds", SnapshotIds);
+ writer.WriteObjectValue("storageDetail", StorageDetail);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotRequestBuilder.cs
new file mode 100644
index 000000000000..2367fad8d5f2
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/BulkExportUserProfileSnapshot/BulkExportUserProfileSnapshotRequestBuilder.cs
@@ -0,0 +1,103 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot
+{
+ ///
+ /// Provides operations to call the bulkExportUserProfileSnapshot method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class BulkExportUserProfileSnapshotRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public BulkExportUserProfileSnapshotRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkExportUserProfileSnapshot", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public BulkExportUserProfileSnapshotRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/bulkExportUserProfileSnapshot", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action bulkExportUserProfileSnapshot
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileBulkActionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action bulkExportUserProfileSnapshot
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class BulkExportUserProfileSnapshotRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..11ef59697d99
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/$count{?%24filter,%24search}", rawUrl)
+ {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetQueryParameters
+ {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/CloudPcUserProfileSnapshotItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/CloudPcUserProfileSnapshotItemRequestBuilder.cs
new file mode 100644
index 000000000000..f8dc7da6c08d
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/CloudPcUserProfileSnapshotItemRequestBuilder.cs
@@ -0,0 +1,235 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item
+{
+ ///
+ /// Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CloudPcUserProfileSnapshotItemRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to call the restore method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder Restore
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder(PathParameters, RequestAdapter);
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CloudPcUserProfileSnapshotItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}{?%24expand,%24select}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CloudPcUserProfileSnapshotItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property userProfileSnapshots for deviceManagement
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToDeleteRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get userProfileSnapshots from deviceManagement
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Update the navigation property userProfileSnapshots in deviceManagement
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Delete navigation property userProfileSnapshots for deviceManagement
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Get userProfileSnapshots from deviceManagement
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Update the navigation property userProfileSnapshots in deviceManagement
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CloudPcUserProfileSnapshotItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Get userProfileSnapshots from deviceManagement
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CloudPcUserProfileSnapshotItemRequestBuilderGetQueryParameters
+ {
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CloudPcUserProfileSnapshotItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CloudPcUserProfileSnapshotItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestorePostRequestBody.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestorePostRequestBody.cs
new file mode 100644
index 000000000000..93b50396a73c
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestorePostRequestBody.cs
@@ -0,0 +1,81 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class RestorePostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The targetAssignmentId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? TargetAssignmentId
+ {
+ get { return BackingStore?.Get("targetAssignmentId"); }
+ set { BackingStore?.Set("targetAssignmentId", value); }
+ }
+#nullable restore
+#else
+ public string TargetAssignmentId
+ {
+ get { return BackingStore?.Get("targetAssignmentId"); }
+ set { BackingStore?.Set("targetAssignmentId", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public RestorePostRequestBody()
+ {
+ BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "targetAssignmentId", n => { TargetAssignmentId = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("targetAssignmentId", TargetAssignmentId);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestoreRequestBuilder.cs
new file mode 100644
index 000000000000..1fb3614ca3bc
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/Item/Restore/RestoreRequestBuilder.cs
@@ -0,0 +1,101 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore
+{
+ ///
+ /// Provides operations to call the restore method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RestoreRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public RestoreRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}/restore", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot%2Did}/restore", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action restore
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action restore
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestorePostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.Restore.RestoreRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class RestoreRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/UserProfileSnapshotsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/UserProfileSnapshotsRequestBuilder.cs
new file mode 100644
index 000000000000..95c29078f85a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserProfileSnapshots/UserProfileSnapshotsRequestBuilder.cs
@@ -0,0 +1,238 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots
+{
+ ///
+ /// Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class UserProfileSnapshotsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity.
+ /// The unique identifier of cloudPcUserProfileSnapshot
+ /// A
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("cloudPcUserProfileSnapshot%2Did", position);
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.Item.CloudPcUserProfileSnapshotItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public UserProfileSnapshotsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public UserProfileSnapshotsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/userSettingsPersistenceDetail/userProfileSnapshots{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get userProfileSnapshots from deviceManagement
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshotCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Create new navigation property to userProfileSnapshots for deviceManagement
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get userProfileSnapshots from deviceManagement
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Create new navigation property to userProfileSnapshots for deviceManagement
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.CloudPcUserProfileSnapshot body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get userProfileSnapshots from deviceManagement
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class UserProfileSnapshotsRequestBuilderGetQueryParameters
+ {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class UserProfileSnapshotsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class UserProfileSnapshotsRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserSettingsPersistenceDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserSettingsPersistenceDetailRequestBuilder.cs
index afd388268dfd..3a0c616a00c3 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserSettingsPersistenceDetailRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ProvisioningPolicies/Item/Assignments/Item/UserSettingsPersistenceDetail/UserSettingsPersistenceDetailRequestBuilder.cs
@@ -1,8 +1,11 @@
//
#pragma warning disable CS0618
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfileUsageWithConfigurationId;
using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.RetrieveUserSettingsPersistenceProfilesWithConfigurationId;
+using Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots;
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -26,6 +29,21 @@ public partial class UserSettingsPersistenceDetailRequestBuilder : BaseRequestBu
{
get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BatchCleanupUserSettingsPersistenceProfile.BatchCleanupUserSettingsPersistenceProfileRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the bulkCreateUserProfileSnapshot method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder BulkCreateUserProfileSnapshot
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkCreateUserProfileSnapshot.BulkCreateUserProfileSnapshotRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to call the bulkExportUserProfileSnapshot method.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder BulkExportUserProfileSnapshot
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.BulkExportUserProfileSnapshot.BulkExportUserProfileSnapshotRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the userProfileSnapshots property of the microsoft.graph.cloudPCUserSettingsPersistenceDetail entity.
+ public global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder UserProfileSnapshots
+ {
+ get => new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ProvisioningPolicies.Item.Assignments.Item.UserSettingsPersistenceDetail.UserProfileSnapshots.UserProfileSnapshotsRequestBuilder(PathParameters, RequestAdapter);
+ }
///
/// Instantiates a new and sets the default values.
///
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
index 401b34b91836..8d1215ae96c3 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
@@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
{
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
/// Find more info here
///
/// A
@@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
index 9156a85b0fa9..42fbac1007cd 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
@@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
{
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
/// Find more info here
///
/// A
@@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
index 209541f5bc9b..959cfb840ea9 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
@@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
{
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
/// Find more info here
///
/// A
@@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs
index 4c72633713df..1d7f66972b84 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs
@@ -1,6 +1,7 @@
//
#pragma warning disable CS0618
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans;
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2;
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter);
+ }
///
/// Instantiates a new and sets the default values.
///
@@ -41,7 +47,8 @@ public PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
{
}
///
- /// Delete navigation property planner for groups
+ /// Delete a plannerGroup object.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -63,7 +70,8 @@ public async Task DeleteAsync(Action
- /// Selective Planner services available to the group. Read-only. Nullable.
+ /// Read the properties and relationships of plannerGroup object.
+ /// Find more info here
///
/// A
/// Cancellation token to use when cancelling requests
@@ -86,7 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property planner in groups
+ /// Update the properties of a plannerGroup object.
+ /// Find more info here
///
/// A
/// The request body
@@ -111,7 +120,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.PlannerGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Delete navigation property planner for groups
+ /// Delete a plannerGroup object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -130,7 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Selective Planner services available to the group. Read-only. Nullable.
+ /// Read the properties and relationships of plannerGroup object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -149,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property planner in groups
+ /// Update the properties of a plannerGroup object.
///
/// A
/// The request body
@@ -188,7 +197,7 @@ public partial class PlannerRequestBuilderDeleteRequestConfiguration : RequestCo
{
}
///
- /// Selective Planner services available to the group. Read-only. Nullable.
+ /// Read the properties and relationships of plannerGroup object.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class PlannerRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs
new file mode 100644
index 000000000000..8ef5ea02def6
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs
@@ -0,0 +1,96 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry
+{
+ ///
+ /// Provides operations to call the extendExpiry method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action extendExpiry
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action extendExpiry
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
index cee299b3c568..8b0f173084a4 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
@@ -3,6 +3,7 @@
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Archive;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details;
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems;
@@ -42,6 +43,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to call the extendExpiry method.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to call the getUsageRights method.
public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights
{
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..82d612105a87
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs
@@ -0,0 +1,124 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl)
+ {
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetQueryParameters
+ {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs
new file mode 100644
index 000000000000..94ea7cf58a3e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs
@@ -0,0 +1,125 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item
+{
+ ///
+ /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlanItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the group.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlanItemRequestBuilderGetQueryParameters
+ {
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs
new file mode 100644
index 000000000000..901244c98a19
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs
@@ -0,0 +1,184 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count;
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2
+{
+ ///
+ /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class Plans_v2RequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the plans_v2 property of the microsoft.graph.plannerGroup entity.
+ /// The unique identifier of plan
+ /// A
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("plan%2Did", position);
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Get a list of the plan objects owned by the group.
+ /// Find more info here
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Get a list of the plan objects owned by the group.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get a list of the plan objects owned by the group.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class Plans_v2RequestBuilderGetQueryParameters
+ {
+ /// Include count of items
+ [QueryParameter("%24count")]
+ public bool? Count { get; set; }
+ /// Expand related entities
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24expand")]
+ public string[]? Expand { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24expand")]
+ public string[] Expand { get; set; }
+#endif
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Order items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24orderby")]
+ public string[]? Orderby { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24orderby")]
+ public string[] Orderby { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ /// Select properties to be returned
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24select")]
+ public string[]? Select { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24select")]
+ public string[] Select { get; set; }
+#endif
+ /// Skip the first n items
+ [QueryParameter("%24skip")]
+ public int? Skip { get; set; }
+ /// Show only the first n items
+ [QueryParameter("%24top")]
+ public int? Top { get; set; }
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
index 253582ea81ca..031a5ce660c3 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
@@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
{
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
/// Find more info here
///
/// A
@@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
index b600c7752277..233cc0eb60b2 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
@@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
{
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
/// Find more info here
///
/// A
@@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
index 2876fced5263..a12943e248aa 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/RevokeGrants/RevokeGrantsRequestBuilder.cs
@@ -35,7 +35,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
{
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
/// Find more info here
///
/// A
@@ -61,7 +61,7 @@ public RevokeGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
+ /// Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn't remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
index 283784b30d55..5ce197964ef7 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index e0baa5d1d13d..e687792dea88 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
index 368dca214754..875ff279b814 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index 9058e7d389d4..4f277aae79e9 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -21,6 +21,38 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#nullable restore
+#else
+ public string DisplayName
+ {
+ get { return BackingStore?.Get("displayName"); }
+ set { BackingStore?.Set("displayName", value); }
+ }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#nullable restore
+#else
+ public string ReactionId
+ {
+ get { return BackingStore?.Get("reactionId"); }
+ set { BackingStore?.Set("reactionId", value); }
+ }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -63,6 +95,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -73,6 +107,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs
index 83a77a178d41..ef3b09d9bcf0 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs
@@ -1,6 +1,7 @@
//
#pragma warning disable CS0618
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans;
+using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2;
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the plans_v2 property of the microsoft.graph.teamsChannelPlanner entity.
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter);
+ }
///
/// Instantiates a new and sets the default values.
///
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs
new file mode 100644
index 000000000000..99b1e083c4fd
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs
@@ -0,0 +1,96 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry
+{
+ ///
+ /// Provides operations to call the extendExpiry method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action extendExpiry
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///