diff --git a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/ReportSyntheticMedia/ReportSyntheticMediaRequestBuilder.cs b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/ReportSyntheticMedia/ReportSyntheticMediaRequestBuilder.cs
index 205dd1315dc2..c05b7c04b063 100644
--- a/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/ReportSyntheticMedia/ReportSyntheticMediaRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/App/Calls/Item/Participants/Item/ReportSyntheticMedia/ReportSyntheticMediaRequestBuilder.cs
@@ -34,7 +34,8 @@ public ReportSyntheticMediaRequestBuilder(string rawUrl, IRequestAdapter request
{
}
///
- /// Invoke action reportSyntheticMedia
+ /// Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.App.Calls.Item.Particip
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Invoke action reportSyntheticMedia
+ /// Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs
index 08cf92ae0552..ca526e337fbd 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs
@@ -69,7 +69,7 @@ public async Task DeleteAsync(Action
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -136,7 +136,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -194,7 +194,7 @@ public partial class TargetedChatMessageItemRequestBuilderDeleteRequestConfigura
{
}
///
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class TargetedChatMessageItemRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs
index 3cb332780ef5..6ed850f5ec5e 100644
--- a/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs
@@ -54,7 +54,7 @@ public TargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdap
{
}
///
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -102,7 +102,7 @@ public TargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdap
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class TargetedMessagesRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ReportSyntheticMedia/ReportSyntheticMediaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ReportSyntheticMedia/ReportSyntheticMediaRequestBuilder.cs
index a95de3d40b5f..212520430007 100644
--- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ReportSyntheticMedia/ReportSyntheticMediaRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ReportSyntheticMedia/ReportSyntheticMediaRequestBuilder.cs
@@ -34,7 +34,8 @@ public ReportSyntheticMediaRequestBuilder(string rawUrl, IRequestAdapter request
{
}
///
- /// Invoke action reportSyntheticMedia
+ /// Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Communications.Calls.It
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Invoke action reportSyntheticMedia
+ /// Report synthetic media detections for a participant in a meeting call. This action is intended for certified third-party audio and video synthetic media detection bots admitted to the meeting call. The detection bot calls this action to flag a participant whose stream it identifies as AI-generated or synthetic media. The detection result is propagated to all participants via roster updates. After a successful request, the service stores the detection on the participant as a syntheticMediaDetectionInfo object in the participant's syntheticMediaDetection property and delivers it to all participants in a roster update notification. Each request with a new id creates a separate detection record; the service doesn't deduplicate or merge reports. When a participant has multiple detection records, the syntheticMediaDetection property reflects the most recent report. Third-party bots can invoke this action only when the meeting tenant administrator grants the app the Calls.ReportSyntheticMedia.All application permission. The detection bot must be admitted to the call before it can call this action. For more information about registering a calling bot and joining calls, see Calls and online meetings. The bot obtains the call ID and participant ID from the call roster and subsequent participant roster update notifications, and uses the call's id as {call-id} and the participant's id as {participant-id} in the request URL.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs
index ea2d4440ae27..5884340b6f4d 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs
@@ -34,7 +34,8 @@ public AssignSensitivityLabelRequestBuilder(string rawUrl, IRequestAdapter reque
{
}
///
- /// Invoke action assignSensitivityLabel
+ /// Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
+ /// Find more info here
///
/// The request body
/// Cancellation token to use when cancelling requests
@@ -58,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Drives.Item.Items.Item.
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Invoke action assignSensitivityLabel
+ /// Asynchronously assign a sensitivity label to a driveItem. This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive. This API applies sensitivity labels to files at rest. Office clients don't apply watermarks, headers, or footers to files that contain the label information. For more information about sensitivity labels from an administrator's perspective, see Enable sensitivity labels for Office files in SharePoint and OneDrive.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..da7e97e4efc9
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
@@ -0,0 +1,127 @@
+//
+#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.Goals.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/goals/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/goals/$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
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetQueryParameters
+ {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
new file mode 100644
index 000000000000..ee5241437a5a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
@@ -0,0 +1,188 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Count;
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals
+{
+ ///
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GoalsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ /// The unique identifier of plannerGoal
+ /// A
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("plannerGoal%2Did", position);
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(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 GoalsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/goals{?%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 GoalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.PlannerGoalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GoalsRequestBuilderGetQueryParameters
+ {
+ /// 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 GoalsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
new file mode 100644
index 000000000000..7cb450cf8131
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
@@ -0,0 +1,128 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Item
+{
+ ///
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerGoalItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public PlannerGoalItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%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 PlannerGoalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.PlannerGoal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerGoalItemRequestBuilderGetQueryParameters
+ {
+ /// 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 PlannerGoalItemRequestBuilderGetRequestConfiguration : 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 25e39a805aea..cee299b3c568 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
@@ -4,6 +4,7 @@
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Buckets;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Details;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights;
+using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.MoveToContainer;
using Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Tasks;
@@ -46,6 +47,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
public global::Microsoft.Graph.Beta.Groups.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder HistoryItems
{
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..90a29b0c4fca
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
@@ -0,0 +1,127 @@
+//
+#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.Goals.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals/$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
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetQueryParameters
+ {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
new file mode 100644
index 000000000000..0f1a054ca26e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
@@ -0,0 +1,188 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count;
+using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals
+{
+ ///
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GoalsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ /// The unique identifier of plannerGoal
+ /// A
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("plannerGoal%2Did", position);
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(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 GoalsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals{?%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 GoalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.PlannerGoalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GoalsRequestBuilderGetQueryParameters
+ {
+ /// 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 GoalsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
new file mode 100644
index 000000000000..5432afbdcda3
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
@@ -0,0 +1,128 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item
+{
+ ///
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerGoalItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public PlannerGoalItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%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 PlannerGoalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.PlannerGoal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerGoalItemRequestBuilderGetQueryParameters
+ {
+ /// 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 PlannerGoalItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
index 57b08a09e385..6bd74f745ac2 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
@@ -4,6 +4,7 @@
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights;
+using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.MoveToContainer;
using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks;
@@ -46,6 +47,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder HistoryItems
{
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..bba38027844c
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
@@ -0,0 +1,127 @@
+//
+#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.PrimaryChannel.Planner.Plans.Item.Goals.Count
+{
+ ///
+ /// Provides operations to count the resources in the collection.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals/$count{?%24filter,%24search}", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals/$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
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count.CountRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Get the number of the resource
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetQueryParameters
+ {
+ /// Filter items by property values
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24filter")]
+ public string? Filter { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24filter")]
+ public string Filter { get; set; }
+#endif
+ /// Search items by search phrases
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ [QueryParameter("%24search")]
+ public string? Search { get; set; }
+#nullable restore
+#else
+ [QueryParameter("%24search")]
+ public string Search { get; set; }
+#endif
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
new file mode 100644
index 000000000000..0ad8b1277dc8
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
@@ -0,0 +1,188 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count;
+using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals
+{
+ ///
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GoalsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ /// The unique identifier of plannerGoal
+ /// A
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("plannerGoal%2Did", position);
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(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 GoalsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals{?%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 GoalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.PlannerGoalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GoalsRequestBuilderGetQueryParameters
+ {
+ /// 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 GoalsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
new file mode 100644
index 000000000000..052d6df1ee0e
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
@@ -0,0 +1,128 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item
+{
+ ///
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerGoalItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public PlannerGoalItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%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 PlannerGoalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.PlannerGoal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerGoalItemRequestBuilderGetQueryParameters
+ {
+ /// 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 PlannerGoalItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
index 8b91044b724b..760d49016189 100644
--- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
@@ -4,6 +4,7 @@
using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets;
using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details;
using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights;
+using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals;
using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.HistoryItems;
using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.MoveToContainer;
using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks;
@@ -46,6 +47,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals
+ {
+ get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder HistoryItems
{
diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs
index 4af38cf4a065..726281a668be 100644
--- a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs
@@ -13,6 +13,7 @@
using Microsoft.Graph.Beta.Me.Authentication.PlatformCredentialMethods;
using Microsoft.Graph.Beta.Me.Authentication.QrCodePinMethod;
using Microsoft.Graph.Beta.Me.Authentication.Requirements;
+using Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods;
using Microsoft.Graph.Beta.Me.Authentication.SignInPreferences;
using Microsoft.Graph.Beta.Me.Authentication.SoftwareOathMethods;
using Microsoft.Graph.Beta.Me.Authentication.TemporaryAccessPassMethods;
@@ -100,6 +101,11 @@ public partial class AuthenticationRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Me.Authentication.Requirements.RequirementsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity.
+ public global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder ResourceAccountKeyAuthenticationMethods
+ {
+ get => new global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// The signInPreferences property
public global::Microsoft.Graph.Beta.Me.Authentication.SignInPreferences.SignInPreferencesRequestBuilder SignInPreferences
{
diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..ee9c872faa2a
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.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}/me/authentication/resourceAccountKeyAuthenticationMethods/$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}/me/authentication/resourceAccountKeyAuthenticationMethods/$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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.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/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.cs
new file mode 100644
index 000000000000..f2e8c9f2b02b
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/Device/DeviceRequestBuilder.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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device
+{
+ ///
+ /// Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public DeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}/device{?%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 DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}/device{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// The registered device on which this resource account key resides. Supports $expand.
+ ///
+ /// 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.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// The registered device on which this resource account key resides. Supports $expand.
+ ///
+ /// 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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// The registered device on which this resource account key resides. Supports $expand.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class DeviceRequestBuilderGetQueryParameters
+ {
+ /// 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 DeviceRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs
new file mode 100644
index 000000000000..ca2b3ea66b38
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/Item/ResourceAccountKeyAuthenticationMethodItemRequestBuilder.cs
@@ -0,0 +1,180 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device;
+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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item
+{
+ ///
+ /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity.
+ public global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder Device
+ {
+ get => new global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.Device.DeviceRequestBuilder(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 ResourceAccountKeyAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%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 ResourceAccountKeyAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property resourceAccountKeyAuthenticationMethods for me
+ ///
+ /// 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);
+ }
+ ///
+ /// Represents the resource account key credentials registered to a user for authentication on shared devices.
+ ///
+ /// 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.ResourceAccountKeyAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Delete navigation property resourceAccountKeyAuthenticationMethods for me
+ ///
+ /// 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;
+ }
+ ///
+ /// Represents the resource account key credentials registered to a user for authentication on shared devices.
+ ///
+ /// 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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder(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 ResourceAccountKeyAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Represents the resource account key credentials registered to a user for authentication on shared devices.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetQueryParameters
+ {
+ /// 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 ResourceAccountKeyAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs
new file mode 100644
index 000000000000..f07181a5803f
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Me/Authentication/ResourceAccountKeyAuthenticationMethods/ResourceAccountKeyAuthenticationMethodsRequestBuilder.cs
@@ -0,0 +1,183 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count;
+using Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.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.Me.Authentication.ResourceAccountKeyAuthenticationMethods
+{
+ ///
+ /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ResourceAccountKeyAuthenticationMethodsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity.
+ /// The unique identifier of resourceAccountKeyAuthenticationMethod
+ /// A
+ public global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("resourceAccountKeyAuthenticationMethod%2Did", position);
+ return new global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.Item.ResourceAccountKeyAuthenticationMethodItemRequestBuilder(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 ResourceAccountKeyAuthenticationMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods{?%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 ResourceAccountKeyAuthenticationMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/resourceAccountKeyAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Represents the resource account key credentials registered to a user for authentication on shared devices.
+ ///
+ /// 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.ResourceAccountKeyAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Represents the resource account key credentials registered to a user for authentication on shared devices.
+ ///
+ /// 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.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Me.Authentication.ResourceAccountKeyAuthenticationMethods.ResourceAccountKeyAuthenticationMethodsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Represents the resource account key credentials registered to a user for authentication on shared devices.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ResourceAccountKeyAuthenticationMethodsRequestBuilderGetQueryParameters
+ {
+ /// 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 ResourceAccountKeyAuthenticationMethodsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs
index cd3efc77e1c0..ba95901ad5a5 100644
--- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/Item/TargetedChatMessageItemRequestBuilder.cs
@@ -69,7 +69,7 @@ public async Task DeleteAsync(Action
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -136,7 +136,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -194,7 +194,7 @@ public partial class TargetedChatMessageItemRequestBuilderDeleteRequestConfigura
{
}
///
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class TargetedChatMessageItemRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs
index 8f9a691b26c3..b7c5f8cbb9a4 100644
--- a/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/TargetedMessages/TargetedMessagesRequestBuilder.cs
@@ -54,7 +54,7 @@ public TargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdap
{
}
///
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -102,7 +102,7 @@ public TargetedMessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdap
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TargetedChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.Me.Chats.Item.TargetedMessages.TargetedMessagesRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class TargetedMessagesRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
new file mode 100644
index 000000000000..417a841e76f4
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
@@ -0,0 +1,127 @@
+//
+#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.Me.Planner.Plans.Item.Goals.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}/me/planner/plans/{plannerPlan%2Did}/goals/$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}/me/planner/plans/{plannerPlan%2Did}/goals/$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
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.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/Me/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
new file mode 100644
index 000000000000..68ec51dbc6b5
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
@@ -0,0 +1,188 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.Count;
+using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.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.Me.Planner.Plans.Item.Goals
+{
+ ///
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GoalsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ /// The unique identifier of plannerGoal
+ /// A
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("plannerGoal%2Did", position);
+ return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(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 GoalsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/goals{?%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 GoalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.PlannerGoalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.GoalsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.GoalsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class GoalsRequestBuilderGetQueryParameters
+ {
+ /// 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 GoalsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
new file mode 100644
index 000000000000..996f8f15887d
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
@@ -0,0 +1,128 @@
+//
+#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.Me.Planner.Plans.Item.Goals.Item
+{
+ ///
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerGoalItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public PlannerGoalItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%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 PlannerGoalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.PlannerGoal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+#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.
+ [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
+ public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Collection of goals in the plan. Read-only. Nullable.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class PlannerGoalItemRequestBuilderGetQueryParameters
+ {
+ /// 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 PlannerGoalItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
index b309319655e1..caa02a109d2f 100644
--- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
@@ -4,6 +4,7 @@
using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Buckets;
using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Details;
using Microsoft.Graph.Beta.Me.Planner.Plans.Item.GetUsageRights;
+using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals;
using Microsoft.Graph.Beta.Me.Planner.Plans.Item.HistoryItems;
using Microsoft.Graph.Beta.Me.Planner.Plans.Item.MoveToContainer;
using Microsoft.Graph.Beta.Me.Planner.Plans.Item.Tasks;
@@ -46,6 +47,11 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the goals property of the microsoft.graph.plannerPlan entity.
+ public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals
+ {
+ get => new global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the historyItems property of the microsoft.graph.plannerPlan entity.
public global::Microsoft.Graph.Beta.Me.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder HistoryItems
{
diff --git a/src/Microsoft.Graph/Generated/Models/AudioMetadata.cs b/src/Microsoft.Graph/Generated/Models/AudioMetadata.cs
index 03e8825f2f3a..c59b9c97e2cb 100644
--- a/src/Microsoft.Graph/Generated/Models/AudioMetadata.cs
+++ b/src/Microsoft.Graph/Generated/Models/AudioMetadata.cs
@@ -21,13 +21,13 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
- /// The bitDepth property
+ /// Bit depth of the audio samples (for example, 16, 24).
public int? BitDepth
{
get { return BackingStore?.Get("bitDepth"); }
set { BackingStore?.Set("bitDepth", value); }
}
- /// The channels property
+ /// Number of audio channels (for example, 1 for mono, 2 for stereo).
public int? Channels
{
get { return BackingStore?.Get("channels"); }
@@ -49,7 +49,7 @@ public string OdataType
set { BackingStore?.Set("@odata.type", value); }
}
#endif
- /// The sampleRateHz property
+ /// Sample rate in Hertz (for example, 16000, 48000).
public int? SampleRateHz
{
get { return BackingStore?.Get("sampleRateHz"); }
diff --git a/src/Microsoft.Graph/Generated/Models/Authentication.cs b/src/Microsoft.Graph/Generated/Models/Authentication.cs
index c7085c86c275..1745bd741af9 100644
--- a/src/Microsoft.Graph/Generated/Models/Authentication.cs
+++ b/src/Microsoft.Graph/Generated/Models/Authentication.cs
@@ -219,6 +219,22 @@ public partial class Authentication : global::Microsoft.Graph.Beta.Models.Entity
get { return BackingStore?.Get("requirements"); }
set { BackingStore?.Set("requirements", value); }
}
+#endif
+ /// Represents the resource account key credentials registered to a user for authentication on shared devices.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? ResourceAccountKeyAuthenticationMethods
+ {
+ get { return BackingStore?.Get?>("resourceAccountKeyAuthenticationMethods"); }
+ set { BackingStore?.Set("resourceAccountKeyAuthenticationMethods", value); }
+ }
+#nullable restore
+#else
+ public List ResourceAccountKeyAuthenticationMethods
+ {
+ get { return BackingStore?.Get>("resourceAccountKeyAuthenticationMethods"); }
+ set { BackingStore?.Set("resourceAccountKeyAuthenticationMethods", value); }
+ }
#endif
/// The settings and preferences for the sign-in experience of a user. Use this property to configure the user's default multifactor authentication (MFA) method.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -315,6 +331,7 @@ public override IDictionary> GetFieldDeserializers()
{ "platformCredentialMethods", n => { PlatformCredentialMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlatformCredentialAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
{ "qrCodePinMethod", n => { QrCodePinMethod = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.QrCodePinAuthenticationMethod.CreateFromDiscriminatorValue); } },
{ "requirements", n => { Requirements = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.StrongAuthenticationRequirements.CreateFromDiscriminatorValue); } },
+ { "resourceAccountKeyAuthenticationMethods", n => { ResourceAccountKeyAuthenticationMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ResourceAccountKeyAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
{ "signInPreferences", n => { SignInPreferences = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.SignInPreferences.CreateFromDiscriminatorValue); } },
{ "softwareOathMethods", n => { SoftwareOathMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
{ "temporaryAccessPassMethods", n => { TemporaryAccessPassMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } },
@@ -342,6 +359,7 @@ public override void Serialize(ISerializationWriter writer)
writer.WriteCollectionOfObjectValues("platformCredentialMethods", PlatformCredentialMethods);
writer.WriteObjectValue("qrCodePinMethod", QrCodePinMethod);
writer.WriteObjectValue("requirements", Requirements);
+ writer.WriteCollectionOfObjectValues("resourceAccountKeyAuthenticationMethods", ResourceAccountKeyAuthenticationMethods);
writer.WriteObjectValue("signInPreferences", SignInPreferences);
writer.WriteCollectionOfObjectValues("softwareOathMethods", SoftwareOathMethods);
writer.WriteCollectionOfObjectValues("temporaryAccessPassMethods", TemporaryAccessPassMethods);
diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs
index d9bff3190778..835358a97f58 100644
--- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs
+++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs
@@ -45,6 +45,7 @@ public DateTimeOffset? LastUsedDateTime
"#microsoft.graph.phoneAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.PhoneAuthenticationMethod(),
"#microsoft.graph.platformCredentialAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.PlatformCredentialAuthenticationMethod(),
"#microsoft.graph.qrCodePinAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.QrCodePinAuthenticationMethod(),
+ "#microsoft.graph.resourceAccountKeyAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.ResourceAccountKeyAuthenticationMethod(),
"#microsoft.graph.softwareOathAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.SoftwareOathAuthenticationMethod(),
"#microsoft.graph.temporaryAccessPassAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.TemporaryAccessPassAuthenticationMethod(),
"#microsoft.graph.windowsHelloForBusinessAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.WindowsHelloForBusinessAuthenticationMethod(),
diff --git a/src/Microsoft.Graph/Generated/Models/Chat.cs b/src/Microsoft.Graph/Generated/Models/Chat.cs
index fc59010673c1..35304ebe33ca 100644
--- a/src/Microsoft.Graph/Generated/Models/Chat.cs
+++ b/src/Microsoft.Graph/Generated/Models/Chat.cs
@@ -208,7 +208,7 @@ public DateTimeOffset? OriginalCreatedDateTime
set { BackingStore?.Set("tabs", value); }
}
#endif
- /// A collection of targeted messages in the chat that are visible only to specific users. Nullable.
+ /// A collection of targeted messages in the chat that are visible only to specific users. Nullable. You can't expand this relationship using $expand. Targeted messages can also be retrieved via the userTeamwork: getAllTargetedMessages API.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List? TargetedMessages
diff --git a/src/Microsoft.Graph/Generated/Models/ClassificationRequestContentMetaData.cs b/src/Microsoft.Graph/Generated/Models/ClassificationRequestContentMetaData.cs
index be36b310c060..f33047d09e4e 100644
--- a/src/Microsoft.Graph/Generated/Models/ClassificationRequestContentMetaData.cs
+++ b/src/Microsoft.Graph/Generated/Models/ClassificationRequestContentMetaData.cs
@@ -37,7 +37,7 @@ public string OdataType
set { BackingStore?.Set("@odata.type", value); }
}
#endif
- /// The sourceId property
+ /// An identifier for the source of the content being classified.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? SourceId
diff --git a/src/Microsoft.Graph/Generated/Models/ClientCredentialAuthenticationInfo.cs b/src/Microsoft.Graph/Generated/Models/ClientCredentialAuthenticationInfo.cs
index 85e2a8e369ad..afd13efab446 100644
--- a/src/Microsoft.Graph/Generated/Models/ClientCredentialAuthenticationInfo.cs
+++ b/src/Microsoft.Graph/Generated/Models/ClientCredentialAuthenticationInfo.cs
@@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models
public partial class ClientCredentialAuthenticationInfo : global::Microsoft.Graph.Beta.Models.AuthenticationInfo, IParsable
#pragma warning restore CS1591
{
- /// The accessTokenUrl property
+ /// The URL endpoint used to obtain access tokens for authentication with the external system.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? AccessTokenUrl
@@ -28,7 +28,7 @@ public string AccessTokenUrl
set { BackingStore?.Set("accessTokenUrl", value); }
}
#endif
- /// The clientId property
+ /// The client identifier used for authentication with the external system.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ClientId
@@ -44,7 +44,7 @@ public string ClientId
set { BackingStore?.Set("clientId", value); }
}
#endif
- /// The secretName property
+ /// The name of the secret in Azure Key Vault that contains the client secret.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? SecretName
diff --git a/src/Microsoft.Graph/Generated/Models/DistributionList.cs b/src/Microsoft.Graph/Generated/Models/DistributionList.cs
index e84f73517cb3..7185f20f41cf 100644
--- a/src/Microsoft.Graph/Generated/Models/DistributionList.cs
+++ b/src/Microsoft.Graph/Generated/Models/DistributionList.cs
@@ -28,7 +28,7 @@ public string DisplayName
set { BackingStore?.Set("displayName", value); }
}
#endif
- /// The list of members in the distribution list. Not returned by default; use $select=members to include.
+ /// The members property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List? Members
@@ -44,7 +44,7 @@ public string DisplayName
set { BackingStore?.Set("members", value); }
}
#endif
- /// The notes property
+ /// Notes about the distribution list.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? Notes
@@ -60,7 +60,7 @@ public string Notes
set { BackingStore?.Set("notes", value); }
}
#endif
- /// The personIdentifier property
+ /// The unique identifier of the distribution list in the mailbox. Read-only.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? PersonIdentifier
@@ -76,7 +76,7 @@ public string PersonIdentifier
set { BackingStore?.Set("personIdentifier", value); }
}
#endif
- /// The singleValueExtendedProperties property
+ /// The collection of single-value extended properties defined for the distribution list. Read-only.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List? SingleValueExtendedProperties
diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs
index 039d981ad3e0..d2efcf78ec8e 100644
--- a/src/Microsoft.Graph/Generated/Models/Entity.cs
+++ b/src/Microsoft.Graph/Generated/Models/Entity.cs
@@ -1549,6 +1549,7 @@ public Entity()
"#microsoft.graph.plannerBucket" => new global::Microsoft.Graph.Beta.Models.PlannerBucket(),
"#microsoft.graph.plannerBucketTaskBoardTaskFormat" => new global::Microsoft.Graph.Beta.Models.PlannerBucketTaskBoardTaskFormat(),
"#microsoft.graph.plannerDelta" => new global::Microsoft.Graph.Beta.Models.PlannerDelta(),
+ "#microsoft.graph.plannerGoal" => new global::Microsoft.Graph.Beta.Models.PlannerGoal(),
"#microsoft.graph.plannerGroup" => new global::Microsoft.Graph.Beta.Models.PlannerGroup(),
"#microsoft.graph.plannerHistoryItem" => new global::Microsoft.Graph.Beta.Models.PlannerHistoryItem(),
"#microsoft.graph.plannerPlan" => new global::Microsoft.Graph.Beta.Models.PlannerPlan(),
@@ -1673,6 +1674,7 @@ public Entity()
"#microsoft.graph.reportsRoot" => new global::Microsoft.Graph.Beta.Models.ReportsRoot(),
"#microsoft.graph.request" => new global::Microsoft.Graph.Beta.Models.Request(),
"#microsoft.graph.resellerDelegatedAdminRelationship" => new global::Microsoft.Graph.Beta.Models.ResellerDelegatedAdminRelationship(),
+ "#microsoft.graph.resourceAccountKeyAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.ResourceAccountKeyAuthenticationMethod(),
"#microsoft.graph.resourceOperation" => new global::Microsoft.Graph.Beta.Models.ResourceOperation(),
"#microsoft.graph.resourceSpecificPermissionGrant" => new global::Microsoft.Graph.Beta.Models.ResourceSpecificPermissionGrant(),
"#microsoft.graph.restoreArtifactBase" => new global::Microsoft.Graph.Beta.Models.RestoreArtifactBase(),
diff --git a/src/Microsoft.Graph/Generated/Models/ExternalSapAcConnectionInfo.cs b/src/Microsoft.Graph/Generated/Models/ExternalSapAcConnectionInfo.cs
index fe8ec2deaff9..f53dd748343e 100644
--- a/src/Microsoft.Graph/Generated/Models/ExternalSapAcConnectionInfo.cs
+++ b/src/Microsoft.Graph/Generated/Models/ExternalSapAcConnectionInfo.cs
@@ -28,7 +28,7 @@ public partial class ExternalSapAcConnectionInfo : global::Microsoft.Graph.Beta.
set { BackingStore?.Set("authenticationInfo", value); }
}
#endif
- /// The keyVaultName property
+ /// The name of the Azure Key Vault that stores the credentials used for authentication.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? KeyVaultName
@@ -44,7 +44,7 @@ public string KeyVaultName
set { BackingStore?.Set("keyVaultName", value); }
}
#endif
- /// The resourceGroup property
+ /// The Azure resource group that contains the Key Vault.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ResourceGroup
@@ -60,7 +60,7 @@ public string ResourceGroup
set { BackingStore?.Set("resourceGroup", value); }
}
#endif
- /// The subscriptionId property
+ /// The Azure subscription ID that contains the Key Vault.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? SubscriptionId
@@ -76,7 +76,7 @@ public string SubscriptionId
set { BackingStore?.Set("subscriptionId", value); }
}
#endif
- /// The systemId property
+ /// The identifier of the target SAP AC system.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? SystemId
@@ -92,7 +92,7 @@ public string SystemId
set { BackingStore?.Set("systemId", value); }
}
#endif
- /// The userIdentifier property
+ /// The user identifier used to connect to the SAP AC system.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? UserIdentifier
diff --git a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs
index ba4d0cdf719c..873b54df7f21 100644
--- a/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs
+++ b/src/Microsoft.Graph/Generated/Models/FileStorageContainerTypeSettings.cs
@@ -37,7 +37,7 @@ public IDictionary AdditionalData
#endif
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
- /// A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue.
+ /// A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue, isOfficeRestricted.
public global::Microsoft.Graph.Beta.Models.FileStorageContainerTypeSettingsOverride? ConsumingTenantOverridables
{
get { return BackingStore?.Get("consumingTenantOverridables"); }
diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestSponsorTrigger.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestSponsorTrigger.cs
index da0c2614c046..3200b9adf660 100644
--- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestSponsorTrigger.cs
+++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/GuestSponsorTrigger.cs
@@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models.IdentityGovernance
public partial class GuestSponsorTrigger : global::Microsoft.Graph.Beta.Models.IdentityGovernance.WorkflowExecutionTrigger, IParsable
#pragma warning restore CS1591
{
- /// The minimumRequiredSponsors property
+ /// The minimum number of sponsors required for a guest user. When a guest has fewer sponsors than this value, the workflow is triggered.
public int? MinimumRequiredSponsors
{
get { return BackingStore?.Get("minimumRequiredSponsors"); }
diff --git a/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs
index 530bab58e9ab..7184417340d2 100644
--- a/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs
+++ b/src/Microsoft.Graph/Generated/Models/MailboxFolder.cs
@@ -151,6 +151,22 @@ public string Type
get { return BackingStore?.Get("type"); }
set { BackingStore?.Set("type", value); }
}
+#endif
+ /// The locale-independent well-known name of the folder for folders created by Outlook, such as inbox, sentitems, drafts, deleteditems, or archive. For user-created folders, the value is null. Read-only.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? WellKnownName
+ {
+ get { return BackingStore?.Get("wellKnownName"); }
+ set { BackingStore?.Set("wellKnownName", value); }
+ }
+#nullable restore
+#else
+ public string WellKnownName
+ {
+ get { return BackingStore?.Get("wellKnownName"); }
+ set { BackingStore?.Set("wellKnownName", value); }
+ }
#endif
///
/// Creates a new instance of the appropriate class based on discriminator value
@@ -180,6 +196,7 @@ public override IDictionary> GetFieldDeserializers()
{ "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } },
{ "totalItemCount", n => { TotalItemCount = n.GetIntValue(); } },
{ "type", n => { Type = n.GetStringValue(); } },
+ { "wellKnownName", n => { WellKnownName = n.GetStringValue(); } },
};
}
///
@@ -200,6 +217,7 @@ public override void Serialize(ISerializationWriter writer)
writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties);
writer.WriteIntValue("totalItemCount", TotalItemCount);
writer.WriteStringValue("type", Type);
+ writer.WriteStringValue("wellKnownName", WellKnownName);
}
}
}
diff --git a/src/Microsoft.Graph/Generated/Models/MediaMetadata.cs b/src/Microsoft.Graph/Generated/Models/MediaMetadata.cs
index 2f6bfcfc3eba..deba677c2bfd 100644
--- a/src/Microsoft.Graph/Generated/Models/MediaMetadata.cs
+++ b/src/Microsoft.Graph/Generated/Models/MediaMetadata.cs
@@ -19,7 +19,7 @@ public IDictionary AdditionalData
get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
set { BackingStore.Set("AdditionalData", value); }
}
- /// The audioMetadata property
+ /// Audio-specific encoding details. Nullable. Set when the analyzed content is audio or multimodal.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::Microsoft.Graph.Beta.Models.AudioMetadata? AudioMetadata
@@ -37,25 +37,25 @@ public IDictionary AdditionalData
#endif
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
- /// The byteSize property
+ /// Size of the content in bytes. Set this value to 0 for live streams where the total size is unknown; for recorded files, specify the actual size.
public long? ByteSize
{
get { return BackingStore?.Get("byteSize"); }
set { BackingStore?.Set("byteSize", value); }
}
- /// The duration property
+ /// Duration of the analyzed content in whole seconds. Sub-second or millisecond windows are rounded to the nearest second. For a continuous live stream, set this value to the length of the analysis window.
public int? Duration
{
get { return BackingStore?.Get("duration"); }
set { BackingStore?.Set("duration", value); }
}
- /// The isRealTime property
+ /// Indicates whether the analysis was performed in real time on a live stream.
public bool? IsRealTime
{
get { return BackingStore?.Get("isRealTime"); }
set { BackingStore?.Set("isRealTime", value); }
}
- /// The mimeType property
+ /// MIME type of the analyzed content. Common values for Teams media include audio/pcm, video/mp4, and video/h264.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? MimeType
@@ -93,7 +93,7 @@ public string OdataType
set { BackingStore?.Set("@odata.type", value); }
}
#endif
- /// The streamingMetadata property
+ /// Network and real-time streaming quality metrics. Nullable. Set when the analyzed content was streamed in real time.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::Microsoft.Graph.Beta.Models.StreamingMetadata? StreamingMetadata
@@ -109,7 +109,7 @@ public string OdataType
set { BackingStore?.Set("streamingMetadata", value); }
}
#endif
- /// The videoMetadata property
+ /// Video-specific encoding and quality details. Nullable. Set when the analyzed content is video or multimodal.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::Microsoft.Graph.Beta.Models.VideoMetadata? VideoMetadata
diff --git a/src/Microsoft.Graph/Generated/Models/MediaSegment.cs b/src/Microsoft.Graph/Generated/Models/MediaSegment.cs
index 08a9f6257b46..62ca00f99254 100644
--- a/src/Microsoft.Graph/Generated/Models/MediaSegment.cs
+++ b/src/Microsoft.Graph/Generated/Models/MediaSegment.cs
@@ -21,13 +21,13 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
- /// The endTimeSec property
+ /// End time of the segment, in seconds from the start of the analyzed live stream. Set to 0 for recorded or offline analysis, where a stream-relative time base doesn't apply.
public int? EndTimeSec
{
get { return BackingStore?.Get("endTimeSec"); }
set { BackingStore?.Set("endTimeSec", value); }
}
- /// The frameIndices property
+ /// Frame indices that identify the video frames in the segment. Applies only to video analysis; pass an empty array for audio-only segments.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List? FrameIndices
@@ -59,7 +59,7 @@ public string OdataType
set { BackingStore?.Set("@odata.type", value); }
}
#endif
- /// The startTimeSec property
+ /// Start time of the segment, in seconds from the start of the analyzed live stream. Set to 0 for recorded or offline analysis, where a stream-relative time base doesn't apply.
public int? StartTimeSec
{
get { return BackingStore?.Get("startTimeSec"); }
diff --git a/src/Microsoft.Graph/Generated/Models/Member.cs b/src/Microsoft.Graph/Generated/Models/Member.cs
index 786b24342463..dc496f212f29 100644
--- a/src/Microsoft.Graph/Generated/Models/Member.cs
+++ b/src/Microsoft.Graph/Generated/Models/Member.cs
@@ -21,7 +21,7 @@ public IDictionary AdditionalData
}
/// Stores model information.
public IBackingStore BackingStore { get; private set; }
- /// The ID of the referenced contact, if applicable. Optional.
+ /// The contactId property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ContactId
@@ -53,7 +53,7 @@ public string DisplayName
set { BackingStore?.Set("displayName", value); }
}
#endif
- /// The email address or routing key of the member. Required.
+ /// The email address or routing key of the member. Optional.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? Key
@@ -91,7 +91,7 @@ public string OdataType
get { return BackingStore?.Get("recipientType"); }
set { BackingStore?.Set("recipientType", value); }
}
- /// The routing type for the member, for example, SMTP. Optional.
+ /// The routingType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? RoutingType
diff --git a/src/Microsoft.Graph/Generated/Models/MobileDriversLicenseConfiguration.cs b/src/Microsoft.Graph/Generated/Models/MobileDriversLicenseConfiguration.cs
new file mode 100644
index 000000000000..dfd13697ca80
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/MobileDriversLicenseConfiguration.cs
@@ -0,0 +1,117 @@
+//
+#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.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class MobileDriversLicenseConfiguration : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// The ISO 3166-2 region codes accepted for mobile driver's licenses. An empty collection indicates all regions are accepted.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? AcceptedRegions
+ {
+ get { return BackingStore?.Get?>("acceptedRegions"); }
+ set { BackingStore?.Set("acceptedRegions", value); }
+ }
+#nullable restore
+#else
+ public List AcceptedRegions
+ {
+ get { return BackingStore?.Get>("acceptedRegions"); }
+ set { BackingStore?.Set("acceptedRegions", value); }
+ }
+#endif
+ /// 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 document standard that accepted mobile driver's licenses must use, such as ISO18013-5.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DocumentStandard
+ {
+ get { return BackingStore?.Get("documentStandard"); }
+ set { BackingStore?.Set("documentStandard", value); }
+ }
+#nullable restore
+#else
+ public string DocumentStandard
+ {
+ get { return BackingStore?.Get("documentStandard"); }
+ set { BackingStore?.Set("documentStandard", value); }
+ }
+#endif
+ /// The OdataType property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? OdataType
+ {
+ get { return BackingStore?.Get("@odata.type"); }
+ set { BackingStore?.Set("@odata.type", value); }
+ }
+#nullable restore
+#else
+ public string OdataType
+ {
+ get { return BackingStore?.Get("@odata.type"); }
+ set { BackingStore?.Set("@odata.type", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public MobileDriversLicenseConfiguration()
+ {
+ 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.Models.MobileDriversLicenseConfiguration CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.MobileDriversLicenseConfiguration();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "acceptedRegions", n => { AcceptedRegions = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ { "documentStandard", n => { DocumentStandard = n.GetStringValue(); } },
+ { "@odata.type", n => { OdataType = 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.WriteCollectionOfPrimitiveValues("acceptedRegions", AcceptedRegions);
+ writer.WriteStringValue("documentStandard", DocumentStandard);
+ writer.WriteStringValue("@odata.type", OdataType);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Models/Participant.cs b/src/Microsoft.Graph/Generated/Models/Participant.cs
index 7dc230044111..2548a1e7a349 100644
--- a/src/Microsoft.Graph/Generated/Models/Participant.cs
+++ b/src/Microsoft.Graph/Generated/Models/Participant.cs
@@ -148,7 +148,7 @@ public long? RosterSequenceNumber
get { return BackingStore?.Get("rosterSequenceNumber"); }
set { BackingStore?.Set("rosterSequenceNumber", value); }
}
- /// The syntheticMediaDetection property
+ /// The latest synthetic media detection result reported for this participant by an in-call detection bot. Nullable. Set to null when no detection is reported. Populated asynchronously after a successful call to reportSyntheticMedia.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::Microsoft.Graph.Beta.Models.SyntheticMediaDetectionInfo? SyntheticMediaDetection
diff --git a/src/Microsoft.Graph/Generated/Models/Planner.cs b/src/Microsoft.Graph/Generated/Models/Planner.cs
index 6ba7fe6b1777..383441d08ed9 100644
--- a/src/Microsoft.Graph/Generated/Models/Planner.cs
+++ b/src/Microsoft.Graph/Generated/Models/Planner.cs
@@ -27,6 +27,22 @@ public partial class Planner : global::Microsoft.Graph.Beta.Models.Entity, IPars
get { return BackingStore?.Get>("buckets"); }
set { BackingStore?.Set("buckets", value); }
}
+#endif
+ /// Read-only. Nullable. Returns a collection of the specified goals
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Goals
+ {
+ get { return BackingStore?.Get?>("goals"); }
+ set { BackingStore?.Set("goals", value); }
+ }
+#nullable restore
+#else
+ public List Goals
+ {
+ get { return BackingStore?.Get>("goals"); }
+ set { BackingStore?.Set("goals", value); }
+ }
#endif
/// Read-only. Nullable. Returns a collection of the specified plans
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -95,6 +111,7 @@ public override IDictionary> GetFieldDeserializers()
return new Dictionary>(base.GetFieldDeserializers())
{
{ "buckets", n => { Buckets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerBucket.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "goals", n => { Goals = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.PlannerGoal.CreateFromDiscriminatorValue)?.AsList(); } },
{ "plans", n => { Plans = n.GetCollectionOfObjectValues