diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs
index f473891558e..aebe6195c4f 100644
--- a/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TeamsRequestBuilder.cs
@@ -1,6 +1,7 @@
//
#pragma warning disable CS0618
using Microsoft.Graph.Beta.Admin.Teams.Policy;
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement;
using Microsoft.Graph.Beta.Admin.Teams.UserConfigurations;
using Microsoft.Graph.Beta.Models.ODataErrors;
using Microsoft.Graph.Beta.Models.TeamsAdministration;
@@ -25,6 +26,11 @@ public partial class TeamsRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.Beta.Admin.Teams.Policy.PolicyRequestBuilder(PathParameters, RequestAdapter);
}
+ /// Provides operations to manage the telephoneNumberManagement property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder TelephoneNumberManagement
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder(PathParameters, RequestAdapter);
+ }
/// Provides operations to manage the userConfigurations property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity.
public global::Microsoft.Graph.Beta.Admin.Teams.UserConfigurations.UserConfigurationsRequestBuilder UserConfigurations
{
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..99802eb88f9
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.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}/admin/teams/telephoneNumberManagement/numberAssignments/$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}/admin/teams/telephoneNumberManagement/numberAssignments/$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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.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/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Item/NumberAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Item/NumberAssignmentItemRequestBuilder.cs
new file mode 100644
index 00000000000..554a799457f
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/Item/NumberAssignmentItemRequestBuilder.cs
@@ -0,0 +1,229 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.TeamsAdministration;
+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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item
+{
+ ///
+ /// Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class NumberAssignmentItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public NumberAssignmentItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/{numberAssignment%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 NumberAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/{numberAssignment%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property numberAssignments for admin
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToDeleteRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Represents a collection of synchronous telephone number management operations.
+ ///
+ /// 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.TeamsAdministration.NumberAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Update the navigation property numberAssignments in admin
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Delete navigation property numberAssignments for admin
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Represents a collection of synchronous telephone number management operations.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Update the navigation property numberAssignments in admin
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder(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 NumberAssignmentItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Represents a collection of synchronous telephone number management operations.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class NumberAssignmentItemRequestBuilderGetQueryParameters
+ {
+ /// 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 NumberAssignmentItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class NumberAssignmentItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/AssignNumberPostRequestBody.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/AssignNumberPostRequestBody.cs
new file mode 100644
index 00000000000..5c15910b8e4
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/AssignNumberPostRequestBody.cs
@@ -0,0 +1,134 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.TeamsAdministration;
+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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class AssignNumberPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// The assignmentCategory property
+ public global::Microsoft.Graph.Beta.Models.TeamsAdministration.AssignmentCategory? AssignmentCategory
+ {
+ get { return BackingStore?.Get("assignmentCategory"); }
+ set { BackingStore?.Set("assignmentCategory", value); }
+ }
+ /// The assignmentTargetId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? AssignmentTargetId
+ {
+ get { return BackingStore?.Get("assignmentTargetId"); }
+ set { BackingStore?.Set("assignmentTargetId", value); }
+ }
+#nullable restore
+#else
+ public string AssignmentTargetId
+ {
+ get { return BackingStore?.Get("assignmentTargetId"); }
+ set { BackingStore?.Set("assignmentTargetId", value); }
+ }
+#endif
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The locationId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? LocationId
+ {
+ get { return BackingStore?.Get("locationId"); }
+ set { BackingStore?.Set("locationId", value); }
+ }
+#nullable restore
+#else
+ public string LocationId
+ {
+ get { return BackingStore?.Get("locationId"); }
+ set { BackingStore?.Set("locationId", value); }
+ }
+#endif
+ /// The numberType property
+ public global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberType? NumberType
+ {
+ get { return BackingStore?.Get("numberType"); }
+ set { BackingStore?.Set("numberType", value); }
+ }
+ /// The telephoneNumber property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? TelephoneNumber
+ {
+ get { return BackingStore?.Get("telephoneNumber"); }
+ set { BackingStore?.Set("telephoneNumber", value); }
+ }
+#nullable restore
+#else
+ public string TelephoneNumber
+ {
+ get { return BackingStore?.Get("telephoneNumber"); }
+ set { BackingStore?.Set("telephoneNumber", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AssignNumberPostRequestBody()
+ {
+ 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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "assignmentCategory", n => { AssignmentCategory = n.GetEnumValue(); } },
+ { "assignmentTargetId", n => { AssignmentTargetId = n.GetStringValue(); } },
+ { "locationId", n => { LocationId = n.GetStringValue(); } },
+ { "numberType", n => { NumberType = n.GetEnumValue(); } },
+ { "telephoneNumber", n => { TelephoneNumber = 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.WriteEnumValue("assignmentCategory", AssignmentCategory);
+ writer.WriteStringValue("assignmentTargetId", AssignmentTargetId);
+ writer.WriteStringValue("locationId", LocationId);
+ writer.WriteEnumValue("numberType", NumberType);
+ writer.WriteStringValue("telephoneNumber", TelephoneNumber);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.cs
new file mode 100644
index 00000000000..b2fe903165c
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationAssignNumber/MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.cs
@@ -0,0 +1,102 @@
+//
+#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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber
+{
+ ///
+ /// Provides operations to call the assignNumber method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.assignNumber", 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 MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.assignNumber", rawUrl)
+ {
+ }
+ ///
+ /// Creates an asynchronous order to assign a telephone number to a user account.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Creates an asynchronous order to assign a telephone number to a user account.
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.AssignNumberPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(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 MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.cs
new file mode 100644
index 00000000000..ce2eae0283d
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.cs
@@ -0,0 +1,102 @@
+//
+#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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber
+{
+ ///
+ /// Provides operations to call the unassignNumber method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.unassignNumber", 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 MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.unassignNumber", rawUrl)
+ {
+ }
+ ///
+ /// Creates an asynchronous order to unassign a telephone number from a user account.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Creates an asynchronous order to unassign a telephone number from a user account.
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(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 MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/UnassignNumberPostRequestBody.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/UnassignNumberPostRequestBody.cs
new file mode 100644
index 00000000000..b9ce9f6dfa4
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUnassignNumber/UnassignNumberPostRequestBody.cs
@@ -0,0 +1,90 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.TeamsAdministration;
+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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class UnassignNumberPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The numberType property
+ public global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberType? NumberType
+ {
+ get { return BackingStore?.Get("numberType"); }
+ set { BackingStore?.Set("numberType", value); }
+ }
+ /// The telephoneNumber property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? TelephoneNumber
+ {
+ get { return BackingStore?.Get("telephoneNumber"); }
+ set { BackingStore?.Set("telephoneNumber", value); }
+ }
+#nullable restore
+#else
+ public string TelephoneNumber
+ {
+ get { return BackingStore?.Get("telephoneNumber"); }
+ set { BackingStore?.Set("telephoneNumber", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public UnassignNumberPostRequestBody()
+ {
+ 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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.UnassignNumberPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "numberType", n => { NumberType = n.GetEnumValue(); } },
+ { "telephoneNumber", n => { TelephoneNumber = 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.WriteEnumValue("numberType", NumberType);
+ writer.WriteStringValue("telephoneNumber", TelephoneNumber);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.cs
new file mode 100644
index 00000000000..d3927a253ff
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.cs
@@ -0,0 +1,102 @@
+//
+#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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber
+{
+ ///
+ /// Provides operations to call the updateNumber method.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.updateNumber", 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 MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.updateNumber", rawUrl)
+ {
+ }
+ ///
+ /// This method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions.
+ /// Find more info here
+ ///
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// This method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions.
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(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 MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/UpdateNumberPostRequestBody.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/UpdateNumberPostRequestBody.cs
new file mode 100644
index 00000000000..7cb5b5e4be7
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/MicrosoftGraphTeamsAdministrationUpdateNumber/UpdateNumberPostRequestBody.cs
@@ -0,0 +1,135 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions.Store;
+using System.Collections.Generic;
+using System.IO;
+using System;
+namespace Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class UpdateNumberPostRequestBody : IAdditionalDataHolder, IBackedModel, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData
+ {
+ get { return BackingStore.Get>("AdditionalData") ?? new Dictionary(); }
+ set { BackingStore.Set("AdditionalData", value); }
+ }
+ /// Stores model information.
+ public IBackingStore BackingStore { get; private set; }
+ /// The locationId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? LocationId
+ {
+ get { return BackingStore?.Get("locationId"); }
+ set { BackingStore?.Set("locationId", value); }
+ }
+#nullable restore
+#else
+ public string LocationId
+ {
+ get { return BackingStore?.Get("locationId"); }
+ set { BackingStore?.Set("locationId", value); }
+ }
+#endif
+ /// The networkSiteId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? NetworkSiteId
+ {
+ get { return BackingStore?.Get("networkSiteId"); }
+ set { BackingStore?.Set("networkSiteId", value); }
+ }
+#nullable restore
+#else
+ public string NetworkSiteId
+ {
+ get { return BackingStore?.Get("networkSiteId"); }
+ set { BackingStore?.Set("networkSiteId", value); }
+ }
+#endif
+ /// The reverseNumberLookupOptions property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? ReverseNumberLookupOptions
+ {
+ get { return BackingStore?.Get?>("reverseNumberLookupOptions"); }
+ set { BackingStore?.Set("reverseNumberLookupOptions", value); }
+ }
+#nullable restore
+#else
+ public List ReverseNumberLookupOptions
+ {
+ get { return BackingStore?.Get>("reverseNumberLookupOptions"); }
+ set { BackingStore?.Set("reverseNumberLookupOptions", value); }
+ }
+#endif
+ /// The telephoneNumber property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? TelephoneNumber
+ {
+ get { return BackingStore?.Get("telephoneNumber"); }
+ set { BackingStore?.Set("telephoneNumber", value); }
+ }
+#nullable restore
+#else
+ public string TelephoneNumber
+ {
+ get { return BackingStore?.Get("telephoneNumber"); }
+ set { BackingStore?.Set("telephoneNumber", value); }
+ }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public UpdateNumberPostRequestBody()
+ {
+ 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.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.UpdateNumberPostRequestBody();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "locationId", n => { LocationId = n.GetStringValue(); } },
+ { "networkSiteId", n => { NetworkSiteId = n.GetStringValue(); } },
+ { "reverseNumberLookupOptions", n => { ReverseNumberLookupOptions = n.GetCollectionOfPrimitiveValues()?.AsList(); } },
+ { "telephoneNumber", n => { TelephoneNumber = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("locationId", LocationId);
+ writer.WriteStringValue("networkSiteId", NetworkSiteId);
+ writer.WriteCollectionOfPrimitiveValues("reverseNumberLookupOptions", ReverseNumberLookupOptions);
+ writer.WriteStringValue("telephoneNumber", TelephoneNumber);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/NumberAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/NumberAssignmentsRequestBuilder.cs
new file mode 100644
index 00000000000..f337a89c2e4
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/NumberAssignments/NumberAssignmentsRequestBuilder.cs
@@ -0,0 +1,257 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count;
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item;
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber;
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber;
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.TeamsAdministration;
+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.Admin.Teams.TelephoneNumberManagement.NumberAssignments
+{
+ ///
+ /// Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class NumberAssignmentsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to call the assignNumber method.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder MicrosoftGraphTeamsAdministrationAssignNumber
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationAssignNumber.MicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to call the unassignNumber method.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder MicrosoftGraphTeamsAdministrationUnassignNumber
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUnassignNumber.MicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to call the updateNumber method.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder MicrosoftGraphTeamsAdministrationUpdateNumber
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.MicrosoftGraphTeamsAdministrationUpdateNumber.MicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity.
+ /// The unique identifier of numberAssignment
+ /// A
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("numberAssignment%2Did", position);
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.Item.NumberAssignmentItemRequestBuilder(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 NumberAssignmentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments{?%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 NumberAssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object.
+ /// Find more info here
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Create new navigation property to numberAssignments for admin
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Create new navigation property to numberAssignments for admin
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.NumberAssignment body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class NumberAssignmentsRequestBuilderGetQueryParameters
+ {
+ /// 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 NumberAssignmentsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class NumberAssignmentsRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Count/CountRequestBuilder.cs
new file mode 100644
index 00000000000..7e23c6a78a3
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/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.Admin.Teams.TelephoneNumberManagement.Operations.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}/admin/teams/telephoneNumberManagement/operations/$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}/admin/teams/telephoneNumberManagement/operations/$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.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.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/Admin/Teams/TelephoneNumberManagement/Operations/Item/TelephoneNumberLongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Item/TelephoneNumberLongRunningOperationItemRequestBuilder.cs
new file mode 100644
index 00000000000..d51609ec734
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/Item/TelephoneNumberLongRunningOperationItemRequestBuilder.cs
@@ -0,0 +1,230 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.TeamsAdministration;
+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.Admin.Teams.TelephoneNumberManagement.Operations.Item
+{
+ ///
+ /// Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class TelephoneNumberLongRunningOperationItemRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public TelephoneNumberLongRunningOperationItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/{telephoneNumberLongRunningOperation%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 TelephoneNumberLongRunningOperationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/{telephoneNumberLongRunningOperation%2Did}{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property operations for admin
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToDeleteRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result.
+ /// Find more info here
+ ///
+ /// A
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToGetRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Update the navigation property operations in admin
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Delete navigation property operations for admin
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Update the navigation property operations in admin
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder(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 TelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class TelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters
+ {
+ /// 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 TelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class TelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/OperationsRequestBuilder.cs
new file mode 100644
index 00000000000..ff24f0ff84c
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/Operations/OperationsRequestBuilder.cs
@@ -0,0 +1,238 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.Count;
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.Item;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.TeamsAdministration;
+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.Admin.Teams.TelephoneNumberManagement.Operations
+{
+ ///
+ /// Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class OperationsRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to count the resources in the collection.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder Count
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity.
+ /// The unique identifier of telephoneNumberLongRunningOperation
+ /// A
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("telephoneNumberLongRunningOperation%2Did", position);
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.Item.TelephoneNumberLongRunningOperationItemRequestBuilder(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 OperationsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations{?%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 OperationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ {
+ }
+ ///
+ /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result.
+ ///
+ /// 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.TeamsAdministration.TelephoneNumberLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Create new navigation property to operations for admin
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPostRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Create new navigation property to operations for admin
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberLongRunningOperation body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class OperationsRequestBuilderGetQueryParameters
+ {
+ /// 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 OperationsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class OperationsRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/TelephoneNumberManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/TelephoneNumberManagementRequestBuilder.cs
new file mode 100644
index 00000000000..9d9e5aa66a6
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Admin/Teams/TelephoneNumberManagement/TelephoneNumberManagementRequestBuilder.cs
@@ -0,0 +1,241 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments;
+using Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations;
+using Microsoft.Graph.Beta.Models.ODataErrors;
+using Microsoft.Graph.Beta.Models.TeamsAdministration;
+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.Admin.Teams.TelephoneNumberManagement
+{
+ ///
+ /// Provides operations to manage the telephoneNumberManagement property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class TelephoneNumberManagementRequestBuilder : BaseRequestBuilder
+ {
+ /// Provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder NumberAssignments
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.NumberAssignments.NumberAssignmentsRequestBuilder(PathParameters, RequestAdapter);
+ }
+ /// Provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder Operations
+ {
+ get => new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.Operations.OperationsRequestBuilder(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 TelephoneNumberManagementRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement{?%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 TelephoneNumberManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement{?%24expand,%24select}", rawUrl)
+ {
+ }
+ ///
+ /// Delete navigation property telephoneNumberManagement for admin
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToDeleteRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Represents a collection of available telephone number management operations.
+ ///
+ /// 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.TeamsAdministration.TelephoneNumberManagementRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Update the navigation property telephoneNumberManagement in admin
+ ///
+ /// A
+ /// The request body
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberManagementRoot body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberManagementRoot body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberManagementRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Delete navigation property telephoneNumberManagement for admin
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Represents a collection of available telephone number management operations.
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Update the navigation property telephoneNumberManagement in admin
+ ///
+ /// A
+ /// The request body
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberManagementRoot body, Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.TeamsAdministration.TelephoneNumberManagementRoot body, Action> requestConfiguration = default)
+ {
+#endif
+ if(ReferenceEquals(body, null)) throw new ArgumentNullException(nameof(body));
+ var requestInfo = new RequestInformation(Method.PATCH, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.Beta.Admin.Teams.TelephoneNumberManagement.TelephoneNumberManagementRequestBuilder(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 TelephoneNumberManagementRequestBuilderDeleteRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Represents a collection of available telephone number management operations.
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class TelephoneNumberManagementRequestBuilderGetQueryParameters
+ {
+ /// 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 TelephoneNumberManagementRequestBuilderGetRequestConfiguration : RequestConfiguration
+ {
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class TelephoneNumberManagementRequestBuilderPatchRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/ExternalPartnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/ExternalPartnersRequestBuilder.cs
index d2062a2dba6..5a96013c721 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/ExternalPartnersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/ExternalPartnersRequestBuilder.cs
@@ -54,7 +54,8 @@ public ExternalPartnersRequestBuilder(string rawUrl, IRequestAdapter requestAdap
{
}
///
- /// Get externalPartners from deviceManagement
+ /// Get a list of the cloudPcExternalPartner objects and their properties.
+ /// Find more info here
///
/// A
/// Cancellation token to use when cancelling requests
@@ -77,7 +78,8 @@ public ExternalPartnersRequestBuilder(string rawUrl, IRequestAdapter requestAdap
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcExternalPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to externalPartners for deviceManagement
+ /// Create a new cloudPcExternalPartner object.
+ /// Find more info here
///
/// A
/// The request body
@@ -102,7 +104,7 @@ public ExternalPartnersRequestBuilder(string rawUrl, IRequestAdapter requestAdap
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcExternalPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get externalPartners from deviceManagement
+ /// Get a list of the cloudPcExternalPartner objects and their properties.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -121,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to externalPartners for deviceManagement
+ /// Create a new cloudPcExternalPartner object.
///
/// A
/// The request body
@@ -152,7 +154,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.DeviceManagement.VirtualEndpoint.ExternalPartners.ExternalPartnersRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get externalPartners from deviceManagement
+ /// Get a list of the cloudPcExternalPartner objects and their properties.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ExternalPartnersRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/CloudPcExternalPartnerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/CloudPcExternalPartnerItemRequestBuilder.cs
index 2bea3611aab..46c9e2ccfc8 100644
--- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/CloudPcExternalPartnerItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/ExternalPartners/Item/CloudPcExternalPartnerItemRequestBuilder.cs
@@ -57,7 +57,8 @@ public async Task DeleteAsync(Action
- /// Get externalPartners from deviceManagement
+ /// Read the properties and relationships of a cloudPcExternalPartner object.
+ /// Find more info here
///
/// A
/// Cancellation token to use when cancelling requests
@@ -80,7 +81,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CloudPcExternalPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Update the navigation property externalPartners in deviceManagement
+ /// Update the properties of a cloudPcExternalPartner object.
+ /// Find more info here
///
/// A
/// The request body
@@ -124,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get externalPartners from deviceManagement
+ /// Read the properties and relationships of a cloudPcExternalPartner object.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -143,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Update the navigation property externalPartners in deviceManagement
+ /// Update the properties of a cloudPcExternalPartner object.
///
/// A
/// The request body
@@ -182,7 +184,7 @@ public partial class CloudPcExternalPartnerItemRequestBuilderDeleteRequestConfig
{
}
///
- /// Get externalPartners from deviceManagement
+ /// Read the properties and relationships of a cloudPcExternalPartner object.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class CloudPcExternalPartnerItemRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs
index eb588f3f089..c4296da155f 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs
@@ -35,7 +35,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
{
}
///
- /// Restore a driveItem that has been deleted and is currently in the recycle bin.
+ /// Restore a deleted driveItem that is currently in the recycle bin.
/// Find more info here
///
/// A
@@ -61,7 +61,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Restore a driveItem that has been deleted and is currently in the recycle bin.
+ /// Restore a deleted driveItem that is currently in the recycle bin.
///
/// A
/// The request body
diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs
index da09fae47c0..5bc0b8f2506 100644
--- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs
@@ -34,8 +34,8 @@ public RestoreVersionRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
}
///
- /// Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file.
- /// Find more info here
+ /// Restore a previous version of a driveItem to be the current version. This operation creates a new version with the contents of the previous version, and it preserves all existing versions of the file.
+ /// Find more info here
///
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -57,7 +57,7 @@ public async Task PostAsync(Action>
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file.
+ /// Restore a previous version of a driveItem to be the current version. This operation creates a new version with the contents of the previous version, and it preserves all existing versions of the file.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/FraudProtectionProviders/FraudProtectionProvidersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/FraudProtectionProviders/FraudProtectionProvidersRequestBuilder.cs
index 7b2ee5d9823..3cd9da50e4a 100644
--- a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/FraudProtectionProviders/FraudProtectionProvidersRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/FraudProtectionProviders/FraudProtectionProvidersRequestBuilder.cs
@@ -54,7 +54,7 @@ public FraudProtectionProvidersRequestBuilder(string rawUrl, IRequestAdapter req
{
}
///
- /// Get fraudProtectionProviders from identity
+ /// Represents entry point for fraud protection provider configurations for Microsoft Entra External ID tenants.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -77,7 +77,8 @@ public FraudProtectionProvidersRequestBuilder(string rawUrl, IRequestAdapter req
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.FraudProtectionProviderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Create new navigation property to fraudProtectionProviders for identity
+ /// Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider.
+ /// Find more info here
///
/// A
/// The request body
@@ -102,7 +103,7 @@ public FraudProtectionProvidersRequestBuilder(string rawUrl, IRequestAdapter req
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.FraudProtectionProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Get fraudProtectionProviders from identity
+ /// Represents entry point for fraud protection provider configurations for Microsoft Entra External ID tenants.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -121,7 +122,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// Create new navigation property to fraudProtectionProviders for identity
+ /// Create a new fraudProtectionProvider object. You can create one of the following subtypes that are derived from fraudProtectionProvider.
///
/// A
/// The request body
@@ -152,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.
return new global::Microsoft.Graph.Beta.Identity.RiskPrevention.FraudProtectionProviders.FraudProtectionProvidersRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Get fraudProtectionProviders from identity
+ /// Represents entry point for fraud protection provider configurations for Microsoft Entra External ID tenants.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class FraudProtectionProvidersRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/FraudProtectionProviders/Item/FraudProtectionProviderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/FraudProtectionProviders/Item/FraudProtectionProviderItemRequestBuilder.cs
index 95ec659751d..c6bce72b4bb 100644
--- a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/FraudProtectionProviders/Item/FraudProtectionProviderItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/FraudProtectionProviders/Item/FraudProtectionProviderItemRequestBuilder.cs
@@ -57,7 +57,7 @@ public async Task DeleteAsync(Action
- /// Get fraudProtectionProviders from identity
+ /// Represents entry point for fraud protection provider configurations for Microsoft Entra External ID tenants.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get fraudProtectionProviders from identity
+ /// Represents entry point for fraud protection provider configurations for Microsoft Entra External ID tenants.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -182,7 +182,7 @@ public partial class FraudProtectionProviderItemRequestBuilderDeleteRequestConfi
{
}
///
- /// Get fraudProtectionProviders from identity
+ /// Represents entry point for fraud protection provider configurations for Microsoft Entra External ID tenants.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class FraudProtectionProviderItemRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/RiskPreventionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/RiskPreventionRequestBuilder.cs
index 2988293c9e5..cf7c894b2ae 100644
--- a/src/Microsoft.Graph/Generated/Identity/RiskPrevention/RiskPreventionRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/Identity/RiskPrevention/RiskPreventionRequestBuilder.cs
@@ -63,7 +63,7 @@ public async Task DeleteAsync(Action
- /// Get riskPrevention from identity
+ /// Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action
- /// Get riskPrevention from identity
+ /// Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -188,7 +188,7 @@ public partial class RiskPreventionRequestBuilderDeleteRequestConfiguration : Re
{
}
///
- /// Get riskPrevention from identity
+ /// Represents the entry point for fraud and risk prevention configurations in Microsoft Entra External ID, including third-party provider settings.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class RiskPreventionRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs
index e0c27c8e817..ff571f5f56b 100644
--- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs
@@ -54,7 +54,7 @@ public ExecutionScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
}
///
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -77,7 +77,7 @@ public ExecutionScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -105,7 +105,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ExecutionScopeRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs
index f16cea72ca0..61d5182b529 100644
--- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs
@@ -35,7 +35,7 @@ public UserProcessingResultItemRequestBuilder(string rawUrl, IRequestAdapter req
{
}
///
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -58,7 +58,7 @@ public UserProcessingResultItemRequestBuilder(string rawUrl, IRequestAdapter req
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class UserProcessingResultItemRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs
index dcdebdea40c..6b206808499 100644
--- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs
@@ -54,7 +54,7 @@ public ExecutionScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
{
}
///
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -77,7 +77,7 @@ public ExecutionScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapte
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -105,7 +105,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class ExecutionScopeRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs
index bf763355d7a..467b7d5e4d5 100644
--- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs
+++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs
@@ -35,7 +35,7 @@ public UserProcessingResultItemRequestBuilder(string rawUrl, IRequestAdapter req
{
}
///
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
/// A
/// Cancellation token to use when cancelling requests
@@ -58,7 +58,7 @@ public UserProcessingResultItemRequestBuilder(string rawUrl, IRequestAdapter req
return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IdentityGovernance.UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
@@ -86,7 +86,7 @@ public RequestInformation ToGetRequestInformation(Action
- /// The unique identifier of the Microsoft Entra identity that last modified the workflow object.
+ /// The list of users that meet the workflowExecutionConditions of a workflow.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class UserProcessingResultItemRequestBuilderGetQueryParameters
diff --git a/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs b/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs
new file mode 100644
index 00000000000..13c3f9b40a8
--- /dev/null
+++ b/src/Microsoft.Graph/Generated/Models/AgentIdentity.cs
@@ -0,0 +1,97 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+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 AgentIdentity : global::Microsoft.Graph.Beta.Models.ServicePrincipal, IParsable
+ #pragma warning restore CS1591
+ {
+ /// The agentAppId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? AgentAppId
+ {
+ get { return BackingStore?.Get("agentAppId"); }
+ set { BackingStore?.Set("agentAppId", value); }
+ }
+#nullable restore
+#else
+ public string AgentAppId
+ {
+ get { return BackingStore?.Get("agentAppId"); }
+ set { BackingStore?.Set("agentAppId", value); }
+ }
+#endif
+ /// The agentIdentityBlueprintId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? AgentIdentityBlueprintId
+ {
+ get { return BackingStore?.Get("agentIdentityBlueprintId"); }
+ set { BackingStore?.Set("agentIdentityBlueprintId", value); }
+ }
+#nullable restore
+#else
+ public string AgentIdentityBlueprintId
+ {
+ get { return BackingStore?.Get("agentIdentityBlueprintId"); }
+ set { BackingStore?.Set("agentIdentityBlueprintId", value); }
+ }
+#endif
+ /// The createdDateTime property
+ public DateTimeOffset? CreatedDateTime
+ {
+ get { return BackingStore?.Get("createdDateTime"); }
+ set { BackingStore?.Set("createdDateTime", value); }
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public AgentIdentity() : base()
+ {
+ OdataType = "#microsoft.graph.agentIdentity";
+ }
+ ///
+ /// 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 new global::Microsoft.Graph.Beta.Models.AgentIdentity CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.Beta.Models.AgentIdentity();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "agentAppId", n => { AgentAppId = n.GetStringValue(); } },
+ { "agentIdentityBlueprintId", n => { AgentIdentityBlueprintId = n.GetStringValue(); } },
+ { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public override void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ base.Serialize(writer);
+ writer.WriteStringValue("agentAppId", AgentAppId);
+ writer.WriteStringValue("agentIdentityBlueprintId", AgentIdentityBlueprintId);
+ writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Microsoft.Graph/Generated/Models/ArkoseFraudProtectionProvider.cs b/src/Microsoft.Graph/Generated/Models/ArkoseFraudProtectionProvider.cs
index 76922ee29c3..838dedaecf6 100644
--- a/src/Microsoft.Graph/Generated/Models/ArkoseFraudProtectionProvider.cs
+++ b/src/Microsoft.Graph/Generated/Models/ArkoseFraudProtectionProvider.cs
@@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models
public partial class ArkoseFraudProtectionProvider : global::Microsoft.Graph.Beta.Models.FraudProtectionProvider, IParsable
#pragma warning restore CS1591
{
- /// The clientSubDomain property
+ /// Used to invoke the Arkose service from the client application. Request from your Arkose Customer Success Manager or use the default client-api value.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ClientSubDomain
@@ -28,7 +28,7 @@ public string ClientSubDomain
set { BackingStore?.Set("clientSubDomain", value); }
}
#endif
- /// The privateKey property
+ /// The private key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? PrivateKey
@@ -44,7 +44,7 @@ public string PrivateKey
set { BackingStore?.Set("privateKey", value); }
}
#endif
- /// The publicKey property
+ /// The public key available on the Arkose Portal. Contact your Arkose Customer Success Manager for assistance with your keys.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? PublicKey
@@ -60,7 +60,7 @@ public string PublicKey
set { BackingStore?.Set("publicKey", value); }
}
#endif
- /// The verifySubDomain property
+ /// Used to invoke the Arkose service from the Microsoft authentication server. Request from your Arkose Customer Success Manager or use the default verify-api value.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? VerifySubDomain
diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs
index f643ecf6bb6..60d420132fc 100644
--- a/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs
+++ b/src/Microsoft.Graph/Generated/Models/AuthenticationEventListener.cs
@@ -44,7 +44,7 @@ public string AuthenticationEventsFlowId
set { BackingStore?.Set("conditions", value); }
}
#endif
- /// The displayName property
+ /// The display name of the listener.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName
diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs
index f33686ee54c..d9bff319077 100644
--- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs
+++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs
@@ -18,7 +18,7 @@ public DateTimeOffset? CreatedDateTime
get { return BackingStore?.Get("createdDateTime"); }
set { BackingStore?.Set("createdDateTime", value); }
}
- /// The lastUsedDateTime property
+ /// The date and time the authentication method was last used by the user. Read-only. Optional. This optional value is null if the authentication method doesn't populate it. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
public DateTimeOffset? LastUsedDateTime
{
get { return BackingStore?.Get("lastUsedDateTime"); }
diff --git a/src/Microsoft.Graph/Generated/Models/CallEvent.cs b/src/Microsoft.Graph/Generated/Models/CallEvent.cs
index bd0d36f8e4b..f325f763bd4 100644
--- a/src/Microsoft.Graph/Generated/Models/CallEvent.cs
+++ b/src/Microsoft.Graph/Generated/Models/CallEvent.cs
@@ -18,7 +18,7 @@ public partial class CallEvent : global::Microsoft.Graph.Beta.Models.Entity, IPa
get { return BackingStore?.Get("callEventType"); }
set { BackingStore?.Set("callEventType", value); }
}
- /// The time when event occurred.
+ /// The date and time when the event occurred. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
public DateTimeOffset? EventDateTime
{
get { return BackingStore?.Get("eventDateTime"); }
diff --git a/src/Microsoft.Graph/Generated/Models/CloudPC.cs b/src/Microsoft.Graph/Generated/Models/CloudPC.cs
index 9fea06fcb35..86765b6266e 100644
--- a/src/Microsoft.Graph/Generated/Models/CloudPC.cs
+++ b/src/Microsoft.Graph/Generated/Models/CloudPC.cs
@@ -408,7 +408,7 @@ public string ServicePlanName
get { return BackingStore?.Get("servicePlanType"); }
set { BackingStore?.Set("servicePlanType", value); }
}
- /// Indicates the Cloud PC device details (for example, assignedToUserPrincipalName) associated with the frontline shared service plan.
+ /// Indicates the Cloud PC device details associated with the frontline shared service plan, including the user's UPN and the session start date and time.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::Microsoft.Graph.Beta.Models.CloudPcFrontlineSharedDeviceDetail? SharedDeviceDetail
diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartner.cs b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartner.cs
index 1bc740138c8..30e1f4b5876 100644
--- a/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartner.cs
+++ b/src/Microsoft.Graph/Generated/Models/CloudPcExternalPartner.cs
@@ -18,19 +18,19 @@ public partial class CloudPcExternalPartner : global::Microsoft.Graph.Beta.Model
get { return BackingStore?.Get("connectionStatus"); }
set { BackingStore?.Set("connectionStatus", value); }
}
- /// The enableConnection property
+ /// Enable or disable the connection to an external partner. If true, an external partner API accepts incoming calls from external partners. Required. Supports $filter (eq).
public bool? EnableConnection
{
get { return BackingStore?.Get("enableConnection"); }
set { BackingStore?.Set("enableConnection", value); }
}
- /// The lastSyncDateTime property
+ /// Last data sync time for this external partner. The timeStamp type represents date and time information in ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 looks like this: '2014-01-01T00:00:00Z'.
public DateTimeOffset? LastSyncDateTime
{
get { return BackingStore?.Get("lastSyncDateTime"); }
set { BackingStore?.Set("lastSyncDateTime", value); }
}
- /// The partnerId property
+ /// The partner identifier used to identify the external partner. When the Cloud PC service is ready to integrate with a new external partner, it generates a GUID to represent this partner. The Cloud PC service provides this partner ID to the partner, which can then use it to call this Microsoft Graph API and external partner APIs. Read-only.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? PartnerId
@@ -46,7 +46,7 @@ public string PartnerId
set { BackingStore?.Set("partnerId", value); }
}
#endif
- /// The statusDetails property
+ /// Status details message. Read-only.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? StatusDetails
diff --git a/src/Microsoft.Graph/Generated/Models/CloudPcFrontLineServicePlan.cs b/src/Microsoft.Graph/Generated/Models/CloudPcFrontLineServicePlan.cs
index 567a017136b..fb9f0b1c6eb 100644
--- a/src/Microsoft.Graph/Generated/Models/CloudPcFrontLineServicePlan.cs
+++ b/src/Microsoft.Graph/Generated/Models/CloudPcFrontLineServicePlan.cs
@@ -18,7 +18,7 @@ public int? AllotmentLicensesCount
get { return BackingStore?.Get("allotmentLicensesCount"); }
set { BackingStore?.Set("allotmentLicensesCount", value); }
}
- /// The display name of the front-line service plan. For example, 2vCPU/8GB/128GB Front-line or 4vCPU/16GB/256GB Front-line.
+ /// The display name of the frontline service plan. For example, 2vCPU/8GB/128GB Front-line or 4vCPU/16GB/256GB Front-line.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? DisplayName
@@ -34,7 +34,7 @@ public string DisplayName
set { BackingStore?.Set("displayName", value); }
}
#endif
- /// The total number of front-line service plans purchased by the customer.
+ /// The total number of frontline service plans purchased by the customer.
public int? TotalCount
{
get { return BackingStore?.Get("totalCount"); }
diff --git a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs
index 7dc1f41cee1..664bfbb5551 100644
--- a/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs
+++ b/src/Microsoft.Graph/Generated/Models/ConfigurationMonitor.cs
@@ -81,6 +81,38 @@ public string DisplayName
get { return BackingStore?.Get("displayName"); }
set { BackingStore?.Set("displayName", value); }
}
+#endif
+ /// The inactivationReason property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? InactivationReason
+ {
+ get { return BackingStore?.Get("inactivationReason"); }
+ set { BackingStore?.Set("inactivationReason", value); }
+ }
+#nullable restore
+#else
+ public string InactivationReason
+ {
+ get { return BackingStore?.Get("inactivationReason"); }
+ set { BackingStore?.Set("inactivationReason", value); }
+ }
+#endif
+ /// The lastModifiedBy property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.Beta.Models.IdentitySet? LastModifiedBy
+ {
+ get { return BackingStore?.Get("lastModifiedBy"); }
+ set { BackingStore?.Set("lastModifiedBy", value); }
+ }
+#nullable restore
+#else
+ public global::Microsoft.Graph.Beta.Models.IdentitySet LastModifiedBy
+ {
+ get { return BackingStore?.Get("lastModifiedBy"); }
+ set { BackingStore?.Set("lastModifiedBy", value); }
+ }
#endif
/// The lastModifiedDateTime property
public DateTimeOffset? LastModifiedDateTime
@@ -116,6 +148,12 @@ public int? MonitorRunFrequencyInHours
set { BackingStore?.Set("parameters", value); }
}
#endif
+ /// The runAsUTCMServicePrincipal property
+ public bool? RunAsUTCMServicePrincipal
+ {
+ get { return BackingStore?.Get("runAsUTCMServicePrincipal"); }
+ set { BackingStore?.Set("runAsUTCMServicePrincipal", value); }
+ }
/// The runningOnBehalfOf property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -177,10 +215,13 @@ public override IDictionary> GetFieldDeserializers()
{ "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } },
{ "description", n => { Description = n.GetStringValue(); } },
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "inactivationReason", n => { InactivationReason = n.GetStringValue(); } },
+ { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } },
{ "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } },
{ "mode", n => { Mode = n.GetEnumValue(); } },
{ "monitorRunFrequencyInHours", n => { MonitorRunFrequencyInHours = n.GetIntValue(); } },
{ "parameters", n => { Parameters = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.OpenComplexDictionaryType.CreateFromDiscriminatorValue); } },
+ { "runAsUTCMServicePrincipal", n => { RunAsUTCMServicePrincipal = n.GetBoolValue(); } },
{ "runningOnBehalfOf", n => { RunningOnBehalfOf = n.GetObjectValue