diff --git a/src/Microsoft.Graph/Generated/Admin/Entra/EntraRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Entra/EntraRequestBuilder.cs index d27f7c5f67c..9b94f9b12d8 100644 --- a/src/Microsoft.Graph/Generated/Admin/Entra/EntraRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Entra/EntraRequestBuilder.cs @@ -20,7 +20,6 @@ namespace Microsoft.Graph.Beta.Admin.Entra public partial class EntraRequestBuilder : BaseRequestBuilder { /// Provides operations to manage the uxSetting property of the microsoft.graph.entra entity. - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] public global::Microsoft.Graph.Beta.Admin.Entra.UxSetting.UxSettingRequestBuilder UxSetting { get => new global::Microsoft.Graph.Beta.Admin.Entra.UxSetting.UxSettingRequestBuilder(PathParameters, RequestAdapter); @@ -47,7 +46,6 @@ public EntraRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -71,7 +69,6 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -96,7 +93,6 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.Entra body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -119,7 +115,6 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -139,7 +134,6 @@ public RequestInformation ToDeleteRequestInformation(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -160,7 +154,6 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.Entra body, Action>? requestConfiguration = default) @@ -182,7 +175,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] public global::Microsoft.Graph.Beta.Admin.Entra.EntraRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Admin.Entra.EntraRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Admin/Entra/UxSetting/UxSettingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Entra/UxSetting/UxSettingRequestBuilder.cs index 842080e0776..8aca0eb1714 100644 --- a/src/Microsoft.Graph/Generated/Admin/Entra/UxSetting/UxSettingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Entra/UxSetting/UxSettingRequestBuilder.cs @@ -40,7 +40,6 @@ public UxSettingRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -65,7 +64,6 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -91,7 +89,6 @@ public async Task DeleteAsync(ActionCancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. /// When receiving a 4XX or 5XX status code - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.UxSetting body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) @@ -114,7 +111,6 @@ public async Task DeleteAsync(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) @@ -134,7 +130,6 @@ public RequestInformation ToDeleteRequestInformation(Action /// A /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) @@ -155,7 +150,6 @@ public RequestInformation ToGetRequestInformation(ActionA /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.UxSetting body, Action>? requestConfiguration = default) @@ -177,7 +171,6 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta /// /// A /// The raw URL to use for the request builder. - [Obsolete(" as of 2023-11/PrivatePreview:BulkJobs")] public global::Microsoft.Graph.Beta.Admin.Entra.UxSetting.UxSettingRequestBuilder WithUrl(string rawUrl) { return new global::Microsoft.Graph.Beta.Admin.Entra.UxSetting.UxSettingRequestBuilder(rawUrl, RequestAdapter); diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs index 5a914d8079a..b98d5dbf9bf 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/ResourceConnections/Item/ResourceConnectionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public ResourceConnectionItemRequestBuilder(string rawUrl, IRequestAdapter reque { } /// - /// Delete a resourceConnection object. - /// Find more info here + /// Delete an operationalInsightsConnection object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an operationalInsightsConnection object. - /// Find more info here + /// Read the properties and relationships of a resourceConnection object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ResourceConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a resourceConnection object. + /// Delete an operationalInsightsConnection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an operationalInsightsConnection object. + /// Read the properties and relationships of a resourceConnection object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +184,7 @@ public partial class ResourceConnectionItemRequestBuilderDeleteRequestConfigurat { } /// - /// Read the properties and relationships of an operationalInsightsConnection object. + /// Read the properties and relationships of a resourceConnection object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ResourceConnectionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs index 7e6ab45e06a..57da5b8f70b 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatableAssets/Item/UpdatableAssetItemRequestBuilder.cs @@ -59,8 +59,8 @@ public UpdatableAssetItemRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. - /// Find more info here + /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -131,7 +131,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.UpdatableAsset.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup. + /// Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs index dc656cd1477..d5fd6aa0976 100644 --- a/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Windows/Updates/UpdatePolicies/Item/ComplianceChanges/Item/ComplianceChangeItemRequestBuilder.cs @@ -41,8 +41,8 @@ public ComplianceChangeItemRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Delete a contentApproval object. - /// Find more info here + /// Delete a complianceChange object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -88,8 +88,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a contentApproval object. - /// Find more info here + /// Update the properties of a complianceChange object. + /// Find more info here /// /// A /// The request body @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.WindowsUpdates.ComplianceChange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a contentApproval object. + /// Delete a complianceChange object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a contentApproval object. + /// Update the properties of a complianceChange object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/AuthenticationMethodDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/AuthenticationMethodDevicesRequestBuilder.cs new file mode 100644 index 00000000000..cff80aad92f --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/AuthenticationMethodDevicesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.AuthenticationMethodDevices.Count; +using Microsoft.Graph.Beta.AuthenticationMethodDevices.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.AuthenticationMethodDevices +{ + /// + /// Provides operations to manage the collection of authenticationMethodDevice entities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AuthenticationMethodDevicesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the collection of authenticationMethodDevice entities. + /// The unique identifier of authenticationMethodDevice + /// A + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("authenticationMethodDevice%2Did", position); + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder(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 AuthenticationMethodDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices{?%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 AuthenticationMethodDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get entities from authenticationMethodDevices + /// + /// 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.AuthenticationMethodDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add new entity to authenticationMethodDevices + /// + /// 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.AuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.AuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get entities from authenticationMethodDevices + /// + /// 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; + } + /// + /// Add new entity to authenticationMethodDevices + /// + /// 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.AuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get entities from authenticationMethodDevices + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AuthenticationMethodDevicesRequestBuilderGetQueryParameters + { + /// 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 AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration : 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 AuthenticationMethodDevicesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..47d0aa26364 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/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.AuthenticationMethodDevices.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}/authenticationMethodDevices/$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}/authenticationMethodDevices/$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.AuthenticationMethodDevices.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.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/AuthenticationMethodDevices/Item/AuthenticationMethodDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/AuthenticationMethodDeviceItemRequestBuilder.cs new file mode 100644 index 00000000000..e7045da0f9d --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/AuthenticationMethodDeviceItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.AuthenticationMethodDevices.Item +{ + /// + /// Provides operations to manage the collection of authenticationMethodDevice entities. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AuthenticationMethodDeviceItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.HardwareOathDevicesRequestBuilder HardwareOathDevices + { + get => new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.HardwareOathDevicesRequestBuilder(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 AuthenticationMethodDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%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 AuthenticationMethodDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete entity from authenticationMethodDevices + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get entity from authenticationMethodDevices by key + /// + /// 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.AuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update entity in authenticationMethodDevices + /// + /// 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.AuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.AuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete entity from authenticationMethodDevices + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get entity from authenticationMethodDevices by key + /// + /// 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 entity in authenticationMethodDevices + /// + /// 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.AuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder(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 AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get entity from authenticationMethodDevices by key + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters + { + /// 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 AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration : 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 AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..1d0f1e431f9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/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.AuthenticationMethodDevices.Item.HardwareOathDevices.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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/$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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/$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.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.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/AuthenticationMethodDevices/Item/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs new file mode 100644 index 00000000000..25c1a049280 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count; +using Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices +{ + /// + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathDevicesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// The unique identifier of hardwareOathTokenAuthenticationMethodDevice + /// A + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("hardwareOathTokenAuthenticationMethodDevice%2Did", position); + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(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 HardwareOathDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices{?%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 HardwareOathDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get hardwareOathDevices from authenticationMethodDevices + /// + /// 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.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hardwareOathDevices for authenticationMethodDevices + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathDevices from authenticationMethodDevices + /// + /// 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 hardwareOathDevices for authenticationMethodDevices + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.AuthenticationMethodDevices.Item.HardwareOathDevices.HardwareOathDevicesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.HardwareOathDevicesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get hardwareOathDevices from authenticationMethodDevices + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathDevicesRequestBuilderGetQueryParameters + { + /// 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 HardwareOathDevicesRequestBuilderGetRequestConfiguration : 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 HardwareOathDevicesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs new file mode 100644 index 00000000000..03e087e1888 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings; +using Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo +{ + /// + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(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 AssignToRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%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 AssignToRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get assignTo from authenticationMethodDevices + /// + /// 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.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get assignTo from authenticationMethodDevices + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get assignTo from authenticationMethodDevices + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilderGetQueryParameters + { + /// 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 AssignToRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..ee8134b7f4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \authenticationMethodDevices\{authenticationMethodDevice-id}\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%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 MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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 property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// 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 MailboxSettingsRequestBuilderGetRequestConfiguration : 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 MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..28fe3e48603 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/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.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$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}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$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.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.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/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..07cc22ec4d6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \authenticationMethodDevices\{authenticationMethodDevice-id}\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder(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 ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%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 ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// 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.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user 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; + } + /// + /// 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.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// 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 ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs new file mode 100644 index 00000000000..24282f2f350 --- /dev/null +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodDevices/Item/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item +{ + /// + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder AssignTo + { + get => new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/authenticationMethodDevices/{authenticationMethodDevice%2Did}/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hardwareOathDevices for authenticationMethodDevices + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathDevices from authenticationMethodDevices + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hardwareOathDevices in authenticationMethodDevices + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hardwareOathDevices for authenticationMethodDevices + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get hardwareOathDevices from authenticationMethodDevices + /// + /// 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 hardwareOathDevices in authenticationMethodDevices + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get hardwareOathDevices from authenticationMethodDevices + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters + { + /// 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration : 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs index f39c7c846e3..c25ffa0b619 100644 --- a/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs +++ b/src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs @@ -18,6 +18,7 @@ using Microsoft.Graph.Beta.ApprovalWorkflowProviders; using Microsoft.Graph.Beta.AuditLogs; using Microsoft.Graph.Beta.AuthenticationMethodConfigurations; +using Microsoft.Graph.Beta.AuthenticationMethodDevices; using Microsoft.Graph.Beta.AuthenticationMethodsPolicy; using Microsoft.Graph.Beta.BookingBusinesses; using Microsoft.Graph.Beta.BookingCurrencies; @@ -223,6 +224,11 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.AuthenticationMethodConfigurations.AuthenticationMethodConfigurationsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the collection of authenticationMethodDevice entities. + public global::Microsoft.Graph.Beta.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder AuthenticationMethodDevices + { + get => new global::Microsoft.Graph.Beta.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the authenticationMethodsPolicy singleton. public global::Microsoft.Graph.Beta.AuthenticationMethodsPolicy.AuthenticationMethodsPolicyRequestBuilder AuthenticationMethodsPolicy { diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index c3d21ab7a54..7b8592fafa7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -54,7 +54,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AssignmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IosLobAppProvisioningConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.IosLobAppProvisioningConfigurations.Item.Assignments.AssignmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AssignmentsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs index 7ec5ba17b36..d262fdf6fd8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosLobAppProvisioningConfigurations/Item/Assignments/Item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class IosLobAppProvisioningConfigurationAssignmentItemRequestBuil { } /// - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class IosLobAppProvisioningConfigurationAssignmentItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index b36caa4ad16..d9763b643eb 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs index 8b4c3bd0de6..5c4c054bec6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidForWorkApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidForWorkApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 1c717325622..24bab54b5b5 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs index da0ddb9ed14..67a7cfffe10 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index a44eacf77bd..2f67c961ac2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs index 7fd862da2c8..01ce854aff2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidManagedStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidManagedStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 46e168feb65..bf05a162a51 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs index e2cd2fa855d..a6112fb20e4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphAndroidStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphAndroidStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index d8a3600e99e..6de580705ce 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs index 3527d864392..4c0f4f48d8a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphIosLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 60ecd6b0262..bac4a8ea6d8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs index 02fc98f361d..4a6e8d2c672 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphIosStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index eb30640bf49..e6c5ff24f66 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs index a0ee863c8ad..d82207da425 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphIosVppApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphIosVppApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index e0058e10c47..ee511595a8d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs index 9a31348407b..c0f1823b9c7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSDmgApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMacOSDmgApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index ea4c2284be6..88f556b0457 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs index 508f0f42f2c..f13f70db936 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMacOSLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index c6661debb23..e72ec48c851 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs index 95800eee023..3a4f866d7bb 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMacOSPkgApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMacOSPkgApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index cb0ef8b69dd..3187c5c346c 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs index e37f7790581..afcb03042d5 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedAndroidLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphManagedAndroidLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 3be31a3d98d..c57f26f98f7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs index d60de5e4db4..869d2d00a18 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedIOSLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphManagedIOSLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index a9510c02797..92eed8abcd0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs index 35b21b0645c..44da5d374bf 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphManagedMobileLobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index d0a0d0b3ea4..b0654c460d6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs index 90c58228e38..3382c29b259 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMicrosoftStoreForBusinessApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphMicrosoftStoreForBusinessApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 9e092813d16..657e270d94d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs index 75acaa5b72b..97f819ff21c 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWin32LobApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWin32LobApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index a211abfd039..65e290d0fb1 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs index 0a58beb7121..414e8e4bae2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWinGetApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWinGetApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index e609fb0586d..cb4b1070a74 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs index d4ea0bcf5ea..3c52558da6e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsAppX/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsAppX.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 3bd632d837a..530f523d6a8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs index b099cb95b2a..602b46f77f8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsMobileMSI/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsMobileMSI.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 8d23dc70a23..fefd972e411 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs index 38352b793b9..fee35cec435 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsStoreApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsStoreApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 1b3d4ccb464..943083e601d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs index 66c682b72a4..3ec862aca5a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsUniversalAppX/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsUniversalAppX.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 6d0925aa2f2..4fcd9bfad5f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs index f243ad62d21..e305b19df9c 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphWindowsWebApp/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.GraphWindowsWebApp.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs index 047bc7e1a2a..1b462157749 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/Item/MobileAppRelationshipItemRequestBuilder.cs @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +124,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +182,7 @@ public partial class MobileAppRelationshipItemRequestBuilderDeleteRequestConfigu { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MobileAppRelationshipItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs index 56462d5515f..ec6dea89815 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Relationships/RelationshipsRequestBuilder.cs @@ -54,7 +54,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public RelationshipsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MobileAppRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceAppManagement.MobileApps.Item.Relationships.RelationshipsRequestBuilder(rawUrl, RequestAdapter); } /// - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RelationshipsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs index 97f60809e9d..fb8008b7120 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class DeviceComplianceScheduledActionForRuleItemRequestBuilderDel { } /// - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class DeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs index b32236608d4..ada77a13392 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs @@ -54,7 +54,7 @@ public ScheduledActionsForRuleRequestBuilder(string rawUrl, IRequestAdapter requ { } /// - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public ScheduledActionsForRuleRequestBuilder(string rawUrl, IRequestAdapter requ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceManagement.DeviceCompliancePolicies.Item.ScheduledActionsForRule.ScheduledActionsForRuleRequestBuilder(rawUrl, RequestAdapter); } /// - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ScheduledActionsForRuleRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index b2453d21ade..9bafd9c77c7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -54,7 +54,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.DeviceManagement.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.AppLogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index 7e111fee7c7..3251aece9f4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfi { } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetCloudPcPerformanceReport/GetCloudPcPerformanceReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetCloudPcPerformanceReport/GetCloudPcPerformanceReportRequestBuilder.cs index 1e583aaec33..16b47acb572 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetCloudPcPerformanceReport/GetCloudPcPerformanceReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VirtualEndpoint/Reports/GetCloudPcPerformanceReport/GetCloudPcPerformanceReportRequestBuilder.cs @@ -34,7 +34,8 @@ public GetCloudPcPerformanceReportRequestBuilder(string rawUrl, IRequestAdapter { } /// - /// Invoke action getCloudPcPerformanceReport + /// Get a report related to the performance of Cloud PCs. + /// Find more info here /// /// A /// The request body @@ -59,7 +60,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.DeviceManagemen return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke action getCloudPcPerformanceReport + /// Get a report related to the performance of Cloud PCs. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/AuthenticationMethodDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/AuthenticationMethodDevicesRequestBuilder.cs new file mode 100644 index 00000000000..4af666cf321 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/AuthenticationMethodDevicesRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices +{ + /// + /// Provides operations to manage the authenticationMethodDevices property of the microsoft.graph.directory entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AuthenticationMethodDevicesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.HardwareOathDevicesRequestBuilder HardwareOathDevices + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.HardwareOathDevicesRequestBuilder(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 AuthenticationMethodDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices{?%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 AuthenticationMethodDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property authenticationMethodDevices for directory + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get authenticationMethodDevices from directory + /// + /// 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.AuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property authenticationMethodDevices in directory + /// + /// 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.AuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.AuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property authenticationMethodDevices for directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get authenticationMethodDevices from directory + /// + /// 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 authenticationMethodDevices in directory + /// + /// 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.AuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.DirectoryNamespace.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder(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 AuthenticationMethodDevicesRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get authenticationMethodDevices from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AuthenticationMethodDevicesRequestBuilderGetQueryParameters + { + /// 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 AuthenticationMethodDevicesRequestBuilderGetRequestConfiguration : 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 AuthenticationMethodDevicesRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b9abf055138 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/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.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.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}/directory/authenticationMethodDevices/hardwareOathDevices/$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}/directory/authenticationMethodDevices/hardwareOathDevices/$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.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.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/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs new file mode 100644 index 00000000000..e56be55c028 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count; +using Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices +{ + /// + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathDevicesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// The unique identifier of hardwareOathTokenAuthenticationMethodDevice + /// A + public global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("hardwareOathTokenAuthenticationMethodDevice%2Did", position); + return new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(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 HardwareOathDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices{?%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 HardwareOathDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get hardwareOathDevices from directory + /// + /// 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.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hardwareOathDevices for directory + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathDevices from directory + /// + /// 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 hardwareOathDevices for directory + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.HardwareOathDevicesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.HardwareOathDevicesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get hardwareOathDevices from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathDevicesRequestBuilderGetQueryParameters + { + /// 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 HardwareOathDevicesRequestBuilderGetRequestConfiguration : 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 HardwareOathDevicesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs new file mode 100644 index 00000000000..8eb2e9a06e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings; +using Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo +{ + /// + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(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 AssignToRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%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 AssignToRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get assignTo from directory + /// + /// 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.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get assignTo from directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get assignTo from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilderGetQueryParameters + { + /// 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 AssignToRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..396f650f564 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \directory\authenticationMethodDevices\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%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 MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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 property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// 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 MailboxSettingsRequestBuilderGetRequestConfiguration : 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 MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..8fb44c7b3a7 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/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.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.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}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$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}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$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.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.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/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..d9b24efb715 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \directory\authenticationMethodDevices\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder(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 ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%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 ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// 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.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user 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; + } + /// + /// 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.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// 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 ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs new file mode 100644 index 00000000000..033d7fa313d --- /dev/null +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AuthenticationMethodDevices/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item +{ + /// + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder AssignTo + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/directory/authenticationMethodDevices/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hardwareOathDevices for directory + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathDevices from directory + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hardwareOathDevices in directory + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hardwareOathDevices for directory + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get hardwareOathDevices from directory + /// + /// 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 hardwareOathDevices in directory + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get hardwareOathDevices from directory + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters + { + /// 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration : 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs index e76843ba86e..4c2d1fda242 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.DirectoryNamespace.AdministrativeUnits; using Microsoft.Graph.Beta.DirectoryNamespace.AttributeSets; +using Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices; using Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities; using Microsoft.Graph.Beta.DirectoryNamespace.CustomSecurityAttributeDefinitions; using Microsoft.Graph.Beta.DirectoryNamespace.DeletedItems; @@ -48,6 +49,11 @@ public partial class DirectoryRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.DirectoryNamespace.AttributeSets.AttributeSetsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the authenticationMethodDevices property of the microsoft.graph.directory entity. + public global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder AuthenticationMethodDevices + { + get => new global::Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the certificateAuthorities property of the microsoft.graph.directory entity. public global::Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.CertificateAuthoritiesRequestBuilder CertificateAuthorities { diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs index 5698378a270..46069cb2337 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/RetentionLabel/RetentionLabelRequestBuilder.cs @@ -81,8 +81,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ItemRetentionLabel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. - /// Find more info here + /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + /// Find more info here /// /// A /// The request body @@ -145,7 +145,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + /// Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 238960efd80..20f99d8960d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. - /// Find more info here + /// Retrieve the properties and relationships of range object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Workbook.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Retrieve the properties and relationships of range object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index ce0cbf8464b..63a2476af28 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs index e0fb5032d39..4dca4921ec6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -213,8 +213,8 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base { } /// - /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. - /// Find more info here + /// Retrieve the properties and relationships of range object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -301,7 +301,7 @@ public RangeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base return new global::Microsoft.Graph.Beta.Drives.Item.Items.Item.Workbook.Worksheets.Item.Names.Item.RangeNamespace.RowWithRow.RowWithRowRequestBuilder(PathParameters, RequestAdapter, row); } /// - /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. + /// Retrieve the properties and relationships of range object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs index b79ef75ce74..daf0f900f25 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs @@ -35,8 +35,8 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to create a new Table. - /// Find more info here + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. + /// Find more info here /// /// A /// The request body @@ -61,7 +61,7 @@ public AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to create a new Table. + /// Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs index 57863748432..e31b53b0180 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs @@ -118,8 +118,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the relatedContact collection of an educationUser object. - /// Find more info here + /// Update the properties of an educationuser object. + /// Find more info here /// /// A /// The request body @@ -182,7 +182,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the relatedContact collection of an educationUser object. + /// Update the properties of an educationuser object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs index e7b366ed06c..ab6ac4da659 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs @@ -59,8 +59,8 @@ public SchemaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a schema for an externalConnection. - /// Find more info here + /// Create a new or update an existing schema for a Microsoft Search connection. + /// Find more info here /// /// A /// The request body @@ -104,7 +104,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a schema for an externalConnection. + /// Create a new or update an existing schema for a Microsoft Search connection. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs index 19e50f7f6d1..0e11b5d679e 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/DataConnectors/DataConnectorsRequestBuilder.cs @@ -78,8 +78,8 @@ public DataConnectorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapte return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.IndustryDataConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new oneRosterApiDataConnector object. - /// Find more info here + /// Create a new azureDataLakeConnector object. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new oneRosterApiDataConnector object. + /// Create a new azureDataLakeConnector object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs index 3ee92cf086e..59de2d49a91 100644 --- a/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/IndustryData/InboundFlows/Item/InboundFlowItemRequestBuilder.cs @@ -94,8 +94,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.IndustryData.InboundFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of an inboundFileFlow object. - /// Find more info here + /// Update the properties of an inboundApiFlow object. + /// Find more info here /// /// A /// The request body @@ -158,7 +158,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of an inboundFileFlow object. + /// Update the properties of an inboundApiFlow object. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs index bf605d20822..e51263f4df0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs @@ -35,7 +35,7 @@ public AppRoleAssignmentItemRequestBuilder(string rawUrl, IRequestAdapter reques { } /// - /// Deletes an appRoleAssignment that a group has been granted. + /// Delete an appRoleAssignment that a group has been granted. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -106,7 +106,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes an appRoleAssignment that a group has been granted. + /// Delete an appRoleAssignment that a group has been granted. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs index 25727580b10..26e14f652a2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs @@ -35,7 +35,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter { } /// - /// Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. + /// Add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. /// Find more info here /// /// A @@ -61,7 +61,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. + /// Add or remove licenses on a group. Licenses assigned to the group will be assigned to all users in the group. Group-based licensing is an alternative to direct user licensing. To learn more about group-based licensing, see What is group-based licensing in Microsoft Entra ID. To get the subscriptions available in the directory, perform a GET subscribedSkus request. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index a125cdcec76..71a3826e0d9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -78,8 +78,8 @@ public ConversationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. - /// Find more info here + /// Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. + /// Find more info here /// /// A /// The request body @@ -123,7 +123,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs index a64ffe8ae77..49dd9ad66c0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs @@ -317,7 +317,7 @@ public GroupItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. + /// Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -390,7 +390,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. + /// Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs index 14d8295058b..bad1d6721bd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs @@ -34,7 +34,7 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + /// Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -57,7 +57,7 @@ public async Task DeleteAsync(Action - /// Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + /// Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs index 838bf9f96e7..dfe7d87da0d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs @@ -35,7 +35,7 @@ public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r { } /// - /// Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + /// Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -107,7 +107,7 @@ public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ReferenceCreate await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + /// Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -176,7 +176,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Groups.Item.Owners.Ref.RefRequestBuilder(rawUrl, RequestAdapter); } /// - /// Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. + /// Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RefRequestBuilderDeleteQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 13d411c73f7..a74f237a5d2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -54,7 +54,7 @@ public PermissionGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdap { } /// - /// List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. + /// List all resource-specific permission grants on a group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. /// Find more info here /// /// A @@ -103,7 +103,7 @@ public PermissionGrantsRequestBuilder(string rawUrl, IRequestAdapter requestAdap return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. + /// List all resource-specific permission grants on a group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -153,7 +153,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Groups.Item.PermissionGrants.PermissionGrantsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List all resource-specific permission grants on the group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. + /// List all resource-specific permission grants on a group. This list specifies the Microsoft Entra apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PermissionGrantsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs index b56ed7e2d0c..23ea9c0fa29 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.CompleteMigration; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Members; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages; using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ProvisionEmail; @@ -49,6 +50,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder GetAllMembers + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Members.MembersRequestBuilder Members { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..c1633f5348f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..dd9c3e1a605 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..70a3363ebcb --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..36e71b4df14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Add/AddResponse.cs @@ -0,0 +1,28 @@ +// +#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.Groups.Item.Team.Channels.Item.GetAllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d637ccd98cc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs new file mode 100644 index 00000000000..a8b4e67f93d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item; +using Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 GetAllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers{?%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 GetAllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get getAllMembers from groups + /// + /// 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.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to getAllMembers for groups + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from groups + /// + /// 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 getAllMembers for groups + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get getAllMembers from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilderGetQueryParameters + { + /// 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 GetAllMembersRequestBuilderGetRequestConfiguration : 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 GetAllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..1667c399f8f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property getAllMembers for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from groups + /// + /// 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property getAllMembers in groups + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property getAllMembers for groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get getAllMembers from groups + /// + /// 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 getAllMembers in groups + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get getAllMembers from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..8c740ac2bac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..962f6639b4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..5f053510406 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/getAllMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..abae19bbb7b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#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.Groups.Item.Team.Channels.Item.GetAllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..e82dfcc573a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..9df646f93c9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..36a6374626a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..04e51a7ffde --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Add/AddResponse.cs @@ -0,0 +1,28 @@ +// +#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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..2c5034587b9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs new file mode 100644 index 00000000000..988e0fcf9c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 GetAllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers{?%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 GetAllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get getAllMembers from groups + /// + /// 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.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to getAllMembers for groups + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from groups + /// + /// 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 getAllMembers for groups + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get getAllMembers from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilderGetQueryParameters + { + /// 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 GetAllMembersRequestBuilderGetRequestConfiguration : 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 GetAllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..83e20299efd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property getAllMembers for groups + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from groups + /// + /// 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property getAllMembers in groups + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property getAllMembers for groups + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get getAllMembers from groups + /// + /// 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 getAllMembers in groups + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get getAllMembers from groups + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..e1ba232c00f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..01b2d14d73a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..78c067a8996 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/getAllMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..0dc0ed61825 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs index d80526dc735..dd098ed236c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.FilesFolder; +using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Members; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages; using Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.ProvisionEmail; @@ -49,6 +50,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder GetAllMembers + { + get => new global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Members.MembersRequestBuilder Members { diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index c5d9b81cb26..55beffa0336 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -70,8 +70,8 @@ public async Task DeleteAsync(Action - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. - /// Find more info here + /// Get a thread object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -139,7 +139,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Get a thread object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -197,7 +197,7 @@ public partial class ConversationThreadItemRequestBuilderDeleteRequestConfigurat { } /// - /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Get a thread object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ConversationThreadItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index b5d7aeed936..46b3cc3d227 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -66,7 +66,7 @@ public TransitiveMemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAd { } /// - /// Get groups and administrative units that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get groups and administrative units that a group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// Find more info here /// /// A @@ -90,7 +90,7 @@ public TransitiveMemberOfRequestBuilder(string rawUrl, IRequestAdapter requestAd return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get groups and administrative units that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get groups and administrative units that a group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -118,7 +118,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get groups and administrative units that the group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. + /// Get groups and administrative units that a group is a member of. This operation is transitive and will also include all groups that this group is a nested member of. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TransitiveMemberOfRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs index 26a836d5630..fe6c78f69b6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs @@ -41,7 +41,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// Find more info here /// /// A @@ -65,7 +65,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs index 09264dc5ded..80e5b1b61e9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs @@ -41,7 +41,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// Find more info here /// /// A @@ -65,7 +65,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -93,7 +93,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphUserRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs index dc9626811f0..25903c96a80 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -35,7 +35,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphGroupRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs index 7caa8da2299..363d1b676a5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs @@ -35,7 +35,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// Find more info here /// /// A @@ -59,7 +59,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -87,7 +87,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GraphUserRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs index 7090c54e3bd..9afb4497880 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs @@ -90,7 +90,7 @@ public TransitiveMembersRequestBuilder(string rawUrl, IRequestAdapter requestAda { } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// Find more info here /// /// A @@ -114,7 +114,7 @@ public TransitiveMembersRequestBuilder(string rawUrl, IRequestAdapter requestAda return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -142,7 +142,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. + /// Get a list of a group's members. A group can have different object types as members. For more information about supported member types for different groups, see Group membership. This operation is transitive and returns a flat list of all nested members. An attempt to filter by an OData cast that represents an unsupported member type returns a 400 Bad Request error with the Request_UnsupportedQuery code. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class TransitiveMembersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/GroupsWithUniqueName/GroupsWithUniqueNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupsWithUniqueName/GroupsWithUniqueNameRequestBuilder.cs index 585b4099ef2..d3302e5a1e1 100644 --- a/src/Microsoft.Graph/Generated/GroupsWithUniqueName/GroupsWithUniqueNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupsWithUniqueName/GroupsWithUniqueNameRequestBuilder.cs @@ -37,7 +37,7 @@ public GroupsWithUniqueNameRequestBuilder(string rawUrl, IRequestAdapter request { } /// - /// Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. + /// Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. /// Find more info here /// /// Cancellation token to use when cancelling requests @@ -110,7 +110,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. + /// Delete a group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This isn't applicable to Security groups and Distribution groups that are permanently deleted immediately. To learn more, see deletedItems. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs index 9846738eca5..93d07dcebfe 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of an ipNamedLocation object. - /// Find more info here + /// Read the properties and relationships of a compliantNetworkNamedLocation object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of an ipNamedLocation object. + /// Read the properties and relationships of a compliantNetworkNamedLocation object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -185,7 +185,7 @@ public partial class NamedLocationItemRequestBuilderDeleteRequestConfiguration : { } /// - /// Retrieve the properties and relationships of an ipNamedLocation object. + /// Read the properties and relationships of a compliantNetworkNamedLocation object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class NamedLocationItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 0be26682484..ca29199f684 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/AccessPackageCustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -58,8 +58,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. - /// Find more info here + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -191,7 +191,7 @@ public partial class CustomCalloutExtensionItemRequestBuilderDeleteRequestConfig { } /// - /// Read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. + /// Read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class CustomCalloutExtensionItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs index b04adb09075..41a8661ae52 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageCatalogs/Item/CustomAccessPackageWorkflowExtensions/Item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.cs @@ -35,8 +35,8 @@ public CustomAccessPackageWorkflowExtensionItemRequestBuilder(string rawUrl, IRe { } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. - /// Find more info here + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CustomAccessPackageWorkflowExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + /// Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs index bd79d4905f5..34273ef8ede 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -76,8 +76,8 @@ public async Task DeleteAsync(Action - /// Retrieve all files related to an agreement. This includes the default file and all localized files. - /// Find more info here + /// Retrieve the properties and relationships of an agreement object. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Retrieve the properties and relationships of an agreement object. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -203,7 +203,7 @@ public partial class AgreementItemRequestBuilderDeleteRequestConfiguration : Req { } /// - /// Retrieve all files related to an agreement. This includes the default file and all localized files. + /// Retrieve the properties and relationships of an agreement object. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AgreementItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs index e18b7cfdeda..65b0db4cfbd 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs @@ -66,8 +66,8 @@ public RiskyUsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : { } /// - /// Retrieve the properties and relationships of a riskyUser object. - /// Find more info here + /// Retrieve the properties and relationships of a collection of riskyUser objects. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -115,7 +115,7 @@ public RiskyUsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve the properties and relationships of a riskyUser object. + /// Retrieve the properties and relationships of a collection of riskyUser objects. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -165,7 +165,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.IdentityProtection.RiskyUsers.RiskyUsersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of a riskyUser object. + /// Retrieve the properties and relationships of a collection of riskyUser objects. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RiskyUsersRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs index 3903faa5a88..63715965ff1 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs @@ -54,7 +54,7 @@ public RecoveryKeysRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. + /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. /// Find more info here /// /// A @@ -78,7 +78,7 @@ public RecoveryKeysRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.BitlockerRecoveryKeyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. + /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. + /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. You can use this API to programmatically iterate through the list of recovery keys in the tenant and identify devices with BitLocker enabled. For more information, see the sample PowerShell code in BitLocker recovery process. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RecoveryKeysRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs index 232d1235e12..5a6ab9cda7c 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs @@ -2,6 +2,7 @@ #pragma warning disable CS0618 using Microsoft.Graph.Beta.Me.Authentication.EmailMethods; using Microsoft.Graph.Beta.Me.Authentication.Fido2Methods; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods; using Microsoft.Graph.Beta.Me.Authentication.Methods; using Microsoft.Graph.Beta.Me.Authentication.MicrosoftAuthenticatorMethods; using Microsoft.Graph.Beta.Me.Authentication.Operations; @@ -42,6 +43,11 @@ public partial class AuthenticationRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder HardwareOathMethods + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the methods property of the microsoft.graph.authentication entity. public global::Microsoft.Graph.Beta.Me.Authentication.Methods.MethodsRequestBuilder Methods { diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivatePostRequestBody.cs new file mode 100644 index 00000000000..839d835780e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivatePostRequestBody.cs @@ -0,0 +1,118 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignAndActivatePostRequestBody : 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 device property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice? Device + { + get { return BackingStore?.Get("device"); } + set { BackingStore?.Set("device", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice Device + { + get { return BackingStore?.Get("device"); } + set { BackingStore?.Set("device", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The verificationCode property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#nullable restore +#else + public string VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AssignAndActivatePostRequestBody() + { + 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.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "device", n => { Device = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "verificationCode", n => { VerificationCode = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("device", Device); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("verificationCode", VerificationCode); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivateRequestBuilder.cs new file mode 100644 index 00000000000..97ed05ad1f6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivateRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate +{ + /// + /// Provides operations to call the assignAndActivate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignAndActivateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignAndActivateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/assignAndActivate", 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 AssignAndActivateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/assignAndActivate", rawUrl) + { + } + /// + /// Invoke action assignAndActivate + /// + /// 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.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action assignAndActivate + /// + /// 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.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder(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 AssignAndActivateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberPostRequestBody.cs new file mode 100644 index 00000000000..a0fe2a702a9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberPostRequestBody.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignAndActivateBySerialNumberPostRequestBody : 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 displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The serialNumber property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SerialNumber + { + get { return BackingStore?.Get("serialNumber"); } + set { BackingStore?.Set("serialNumber", value); } + } +#nullable restore +#else + public string SerialNumber + { + get { return BackingStore?.Get("serialNumber"); } + set { BackingStore?.Set("serialNumber", value); } + } +#endif + /// The verificationCode property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#nullable restore +#else + public string VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AssignAndActivateBySerialNumberPostRequestBody() + { + 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.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "serialNumber", n => { SerialNumber = n.GetStringValue(); } }, + { "verificationCode", n => { VerificationCode = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("serialNumber", SerialNumber); + writer.WriteStringValue("verificationCode", VerificationCode); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberRequestBuilder.cs new file mode 100644 index 00000000000..942499aebec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber +{ + /// + /// Provides operations to call the assignAndActivateBySerialNumber method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignAndActivateBySerialNumberRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignAndActivateBySerialNumberRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/assignAndActivateBySerialNumber", 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 AssignAndActivateBySerialNumberRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/assignAndActivateBySerialNumber", rawUrl) + { + } + /// + /// Invoke action assignAndActivateBySerialNumber + /// + /// 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.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action assignAndActivateBySerialNumber + /// + /// 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.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder(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 AssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..a835979f717 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/HardwareOathMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/HardwareOathMethodsRequestBuilder.cs new file mode 100644 index 00000000000..8ca95b685db --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/HardwareOathMethodsRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods +{ + /// + /// Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathMethodsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the assignAndActivate method. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder AssignAndActivate + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the assignAndActivateBySerialNumber method. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder AssignAndActivateBySerialNumber + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + /// The unique identifier of hardwareOathAuthenticationMethod + /// A + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("hardwareOathAuthenticationMethod%2Did", position); + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder(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 HardwareOathMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods{?%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 HardwareOathMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get hardwareOathMethods from me + /// + /// 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.HardwareOathAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hardwareOathMethods for me + /// + /// 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.HardwareOathAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathMethods from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 hardwareOathMethods for me + /// + /// 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.HardwareOathAuthenticationMethod body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Me.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get hardwareOathMethods from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathMethodsRequestBuilderGetQueryParameters + { + /// 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 HardwareOathMethodsRequestBuilderGetRequestConfiguration : 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 HardwareOathMethodsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Activate/ActivatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Activate/ActivatePostRequestBody.cs new file mode 100644 index 00000000000..bbd888f3fac --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Activate/ActivatePostRequestBody.cs @@ -0,0 +1,99 @@ +// +#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.Me.Authentication.HardwareOathMethods.Item.Activate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActivatePostRequestBody : 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 displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The verificationCode property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#nullable restore +#else + public string VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ActivatePostRequestBody() + { + 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.Me.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "verificationCode", n => { VerificationCode = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("verificationCode", VerificationCode); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Activate/ActivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Activate/ActivateRequestBuilder.cs new file mode 100644 index 00000000000..2989a70fb34 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Activate/ActivateRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate +{ + /// + /// Provides operations to call the activate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ActivateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/activate", 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 ActivateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/activate", rawUrl) + { + } + /// + /// Invoke action activate + /// + /// 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.Me.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action activate + /// + /// 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.Me.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Me.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder(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 ActivateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Deactivate/DeactivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Deactivate/DeactivateRequestBuilder.cs new file mode 100644 index 00000000000..3aef22e505f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Deactivate/DeactivateRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate +{ + /// + /// Provides operations to call the deactivate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeactivateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeactivateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/deactivate", 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 DeactivateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/deactivate", rawUrl) + { + } + /// + /// Invoke action deactivate + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action deactivate + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder(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 DeactivateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/AssignToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/AssignToRequestBuilder.cs new file mode 100644 index 00000000000..2ce39ada120 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/AssignToRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo +{ + /// + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(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 AssignToRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo{?%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 AssignToRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get assignTo from me + /// + /// 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.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get assignTo from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get assignTo from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilderGetQueryParameters + { + /// 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 AssignToRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..6d435f51dc6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \me\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\assignTo\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/mailboxSettings{?%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 MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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 property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// 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 MailboxSettingsRequestBuilderGetRequestConfiguration : 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 MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..0b5d4755e13 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..c097c7ed776 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \me\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\assignTo\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder(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 ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors{?%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 ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// 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.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user 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; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// 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 ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/DeviceRequestBuilder.cs new file mode 100644 index 00000000000..f53270185fe --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/DeviceRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device +{ + /// + /// Provides operations to manage the device property of the microsoft.graph.hardwareOathAuthenticationMethod entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder AssignTo + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder HardwareOathDevices + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder(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 DeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property device for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get device from me + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property device in me + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property device for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get device from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 device in me + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Me.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder(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 DeviceRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get device from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// 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 DeviceRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..9dc4e1754c4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs new file mode 100644 index 00000000000..87ee5eaa6cd --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices +{ + /// + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathDevicesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// The unique identifier of hardwareOathTokenAuthenticationMethodDevice + /// A + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("hardwareOathTokenAuthenticationMethodDevice%2Did", position); + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(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 HardwareOathDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices{?%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 HardwareOathDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get hardwareOathDevices from me + /// + /// 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.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hardwareOathDevices for me + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathDevices from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 hardwareOathDevices for me + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get hardwareOathDevices from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathDevicesRequestBuilderGetQueryParameters + { + /// 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 HardwareOathDevicesRequestBuilderGetRequestConfiguration : 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 HardwareOathDevicesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs new file mode 100644 index 00000000000..73f90681e33 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo +{ + /// + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(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 AssignToRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%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 AssignToRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get assignTo from me + /// + /// 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.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get assignTo from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get assignTo from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilderGetQueryParameters + { + /// 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 AssignToRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..e5800781884 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \me\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%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 MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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 property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// 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 MailboxSettingsRequestBuilderGetRequestConfiguration : 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 MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..afdfdeb1d49 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs @@ -0,0 +1,124 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count +{ + /// + /// Provides operations to count the resources in the collection. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$count{?%24filter,%24search}", rawUrl) + { + } + /// + /// Get the number of the resource + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToGetRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetQueryParameters + { + /// Filter items by property values +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24filter")] + public string? Filter { get; set; } +#nullable restore +#else + [QueryParameter("%24filter")] + public string Filter { get; set; } +#endif + /// Search items by search phrases +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24search")] + public string? Search { get; set; } +#nullable restore +#else + [QueryParameter("%24search")] + public string Search { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..dd5be56d2e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \me\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder(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 ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%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 ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// 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.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user 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; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// 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 ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs new file mode 100644 index 00000000000..d7d56a70967 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item +{ + /// + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder AssignTo + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hardwareOathDevices for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathDevices from me + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hardwareOathDevices in me + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hardwareOathDevices for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get hardwareOathDevices from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation 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 hardwareOathDevices in me + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get hardwareOathDevices from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters + { + /// 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration : 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/HardwareOathAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/HardwareOathAuthenticationMethodItemRequestBuilder.cs new file mode 100644 index 00000000000..9090436a483 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Me/Authentication/HardwareOathMethods/Item/HardwareOathAuthenticationMethodItemRequestBuilder.cs @@ -0,0 +1,192 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate; +using Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device; +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item +{ + /// + /// Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathAuthenticationMethodItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the activate method. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder Activate + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the deactivate method. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder Deactivate + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the device property of the microsoft.graph.hardwareOathAuthenticationMethod entity. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder Device + { + get => new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HardwareOathAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%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 HardwareOathAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hardwareOathMethods for me + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathMethods from me + /// + /// 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.HardwareOathAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hardwareOathMethods for me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get hardwareOathMethods from me + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder(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 HardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get hardwareOathMethods from me + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters + { + /// 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 HardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index 735398d17ed..0aaa8e5573c 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -743,8 +743,8 @@ public MeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(re return new global::Microsoft.Graph.Beta.Me.FindRoomsWithRoomList.FindRoomsWithRoomListRequestBuilder(PathParameters, RequestAdapter, roomList); } /// - /// Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. - /// Find more info here + /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -815,7 +815,7 @@ public MeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(re return new global::Microsoft.Graph.Beta.Me.ReminderViewWithStartDateTimeWithEndDateTime.ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// - /// Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -865,7 +865,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta return new global::Microsoft.Graph.Beta.Me.MeRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. + /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MeRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 1cd343bf8aa..6a2189283af 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -84,8 +84,8 @@ public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. - /// Find more info here + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or to a newmessage that is being drafted, or created and sent on the fly. + /// Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index fd6686da13b..9bf0b148690 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -137,8 +137,8 @@ public MessageItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -160,8 +160,8 @@ public async Task DeleteAsync(Action - /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the eventnavigation property to get the associated event in an attendee's calendar. - /// Find more info here + /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -210,7 +210,7 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -229,7 +229,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the eventnavigation property to get the associated event in an attendee's calendar. + /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -287,7 +287,7 @@ public partial class MessageItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the eventnavigation property to get the associated event in an attendee's calendar. + /// You can get a single resource instance expanded with a specific extended property, or a collection of resource instancesthat include extended properties matching a filter. Using the query parameter $expand allows you to get the specified resource instance expanded with a specific extendedproperty. Use a $filter and eq operator on the id property to specify the extended property. This is currently the only way to get the singleValueLegacyExtendedProperty object that represents an extended property. To get resource instances that have certain extended properties, use the $filter query parameter and apply an eq operatoron the id property. In addition, for numeric extended properties, apply one of the following operators on the value property:eq, ne,ge, gt, le, or lt. For string-typed extended properties, apply a contains, startswith, eq, or ne operator on value. Filtering the string name (Name) in the id of an extended property is case-sensitive. Filtering the value property of an extendedproperty is case-insensitive. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MessageItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index d17db9ec5d6..613497bf208 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -34,8 +34,8 @@ public ContentRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba { } /// - /// Delete eventMessage. - /// Find more info here + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -107,7 +107,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete eventMessage. + /// Delete a message in the specified user's mailbox, or delete a relationship of the message. For example, you can delete a specific @-mention of the specified user in the message. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index 631d96982cd..d4ff2d3c80b 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. - /// Find more info here + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment.- Use a mention to call out another user in the new message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single action, or create a draft to forward, to reply or to reply-all to an existing message. + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index 53fe46da21f..6014d7edafa 100644 --- a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -54,7 +54,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Me.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.AppLogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index e75160f4888..10b85f312e3 100644 --- a/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfi { } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs index 2e741b0a3b2..b0d03559d3a 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/Registration/RegistrationRequestBuilder.cs @@ -73,8 +73,8 @@ public async Task DeleteAsync(Action - /// Get the externalMeetingRegistration details associated with an onlineMeeting. - /// Find more info here + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the externalMeetingRegistration details associated with an onlineMeeting. + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -206,7 +206,7 @@ public partial class RegistrationRequestBuilderDeleteRequestConfiguration : Requ { } /// - /// Get the externalMeetingRegistration details associated with an onlineMeeting. + /// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class RegistrationRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Models/AppRoleAssignment.cs b/src/Microsoft.Graph/Generated/Models/AppRoleAssignment.cs index edde6f7d781..f48e464d888 100644 --- a/src/Microsoft.Graph/Generated/Models/AppRoleAssignment.cs +++ b/src/Microsoft.Graph/Generated/Models/AppRoleAssignment.cs @@ -24,7 +24,7 @@ public DateTimeOffset? CreationTimestamp get { return BackingStore?.Get("creationTimestamp"); } set { BackingStore?.Set("creationTimestamp", value); } } - /// The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith). + /// The display name of the user, group, or service principal that was granted the app role assignment. Maximum length is 256 characters. Read-only. Supports $filter (eq and startswith). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PrincipalDisplayName @@ -62,7 +62,7 @@ public string PrincipalType set { BackingStore?.Set("principalType", value); } } #endif - /// The display name of the resource app's service principal to which the assignment is made. + /// The display name of the resource app's service principal to which the assignment is made. Maximum length is 256 characters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ResourceDisplayName diff --git a/src/Microsoft.Graph/Generated/Models/Application.cs b/src/Microsoft.Graph/Generated/Models/Application.cs index d648942067a..aeaeb402f2e 100644 --- a/src/Microsoft.Graph/Generated/Models/Application.cs +++ b/src/Microsoft.Graph/Generated/Models/Application.cs @@ -194,7 +194,7 @@ public string DisabledByMicrosoftStatus set { BackingStore?.Set("disabledByMicrosoftStatus", value); } } #endif - /// The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. + /// The display name for the application. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName diff --git a/src/Microsoft.Graph/Generated/Models/Authentication.cs b/src/Microsoft.Graph/Generated/Models/Authentication.cs index 9de56b3cdda..2b407224254 100644 --- a/src/Microsoft.Graph/Generated/Models/Authentication.cs +++ b/src/Microsoft.Graph/Generated/Models/Authentication.cs @@ -43,6 +43,22 @@ public partial class Authentication : global::Microsoft.Graph.Beta.Models.Entity get { return BackingStore?.Get>("fido2Methods"); } set { BackingStore?.Set("fido2Methods", value); } } +#endif + /// The hardwareOathMethods property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? HardwareOathMethods + { + get { return BackingStore?.Get?>("hardwareOathMethods"); } + set { BackingStore?.Set("hardwareOathMethods", value); } + } +#nullable restore +#else + public List HardwareOathMethods + { + get { return BackingStore?.Get>("hardwareOathMethods"); } + set { BackingStore?.Set("hardwareOathMethods", value); } + } #endif /// Represents all authentication methods registered to a user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -256,6 +272,7 @@ public override IDictionary> GetFieldDeserializers() { { "emailMethods", n => { EmailMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.EmailAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, { "fido2Methods", n => { Fido2Methods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Fido2AuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, + { "hardwareOathMethods", n => { HardwareOathMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, { "methods", n => { Methods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, { "microsoftAuthenticatorMethods", n => { MicrosoftAuthenticatorMethods = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.MicrosoftAuthenticatorAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, { "operations", n => { Operations = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.LongRunningOperation.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -280,6 +297,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("emailMethods", EmailMethods); writer.WriteCollectionOfObjectValues("fido2Methods", Fido2Methods); + writer.WriteCollectionOfObjectValues("hardwareOathMethods", HardwareOathMethods); writer.WriteCollectionOfObjectValues("methods", Methods); writer.WriteCollectionOfObjectValues("microsoftAuthenticatorMethods", MicrosoftAuthenticatorMethods); writer.WriteCollectionOfObjectValues("operations", Operations); diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs index 933786e0a40..e49203abdce 100644 --- a/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethod.cs @@ -31,6 +31,7 @@ public DateTimeOffset? CreatedDateTime { "#microsoft.graph.emailAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.EmailAuthenticationMethod(), "#microsoft.graph.fido2AuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.Fido2AuthenticationMethod(), + "#microsoft.graph.hardwareOathAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod(), "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.MicrosoftAuthenticatorAuthenticationMethod(), "#microsoft.graph.passwordAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.PasswordAuthenticationMethod(), "#microsoft.graph.passwordlessMicrosoftAuthenticatorAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.PasswordlessMicrosoftAuthenticatorAuthenticationMethod(), diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodDevice.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodDevice.cs new file mode 100644 index 00000000000..b4418337d2f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodDevice.cs @@ -0,0 +1,87 @@ +// +#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 AuthenticationMethodDevice : global::Microsoft.Graph.Beta.Models.Entity, IParsable + #pragma warning restore CS1591 + { + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The hardwareOathDevices property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? HardwareOathDevices + { + get { return BackingStore?.Get?>("hardwareOathDevices"); } + set { BackingStore?.Set("hardwareOathDevices", value); } + } +#nullable restore +#else + public List HardwareOathDevices + { + get { return BackingStore?.Get>("hardwareOathDevices"); } + set { BackingStore?.Set("hardwareOathDevices", value); } + } +#endif + /// + /// 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.AuthenticationMethodDevice CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + var mappingValue = parseNode.GetChildNode("@odata.type")?.GetStringValue(); + return mappingValue switch + { + "#microsoft.graph.hardwareOathTokenAuthenticationMethodDevice" => new global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice(), + _ => new global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice(), + }; + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "hardwareOathDevices", n => { HardwareOathDevices = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteCollectionOfObjectValues("hardwareOathDevices", HardwareOathDevices); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/AuthenticationMethodDeviceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodDeviceCollectionResponse.cs new file mode 100644 index 00000000000..73aa753456a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/AuthenticationMethodDeviceCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#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 AuthenticationMethodDeviceCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.AuthenticationMethodDeviceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.AuthenticationMethodDeviceCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/Channel.cs b/src/Microsoft.Graph/Generated/Models/Channel.cs index 36ec59e8e46..20fd1913764 100644 --- a/src/Microsoft.Graph/Generated/Models/Channel.cs +++ b/src/Microsoft.Graph/Generated/Models/Channel.cs @@ -81,6 +81,22 @@ public string Email get { return BackingStore?.Get("filesFolder"); } set { BackingStore?.Set("filesFolder", value); } } +#endif + /// The getAllMembers property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? GetAllMembers + { + get { return BackingStore?.Get?>("getAllMembers"); } + set { BackingStore?.Set("getAllMembers", value); } + } +#nullable restore +#else + public List GetAllMembers + { + get { return BackingStore?.Get>("getAllMembers"); } + set { BackingStore?.Set("getAllMembers", value); } + } #endif /// Indicates whether the channel is archived. Read-only. public bool? IsArchived @@ -251,6 +267,7 @@ public override IDictionary> GetFieldDeserializers() { "displayName", n => { DisplayName = n.GetStringValue(); } }, { "email", n => { Email = n.GetStringValue(); } }, { "filesFolder", n => { FilesFolder = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.DriveItem.CreateFromDiscriminatorValue); } }, + { "getAllMembers", n => { GetAllMembers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, { "isArchived", n => { IsArchived = n.GetBoolValue(); } }, { "isFavoriteByDefault", n => { IsFavoriteByDefault = n.GetBoolValue(); } }, { "members", n => { Members = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -277,6 +294,7 @@ public override void Serialize(ISerializationWriter writer) writer.WriteStringValue("displayName", DisplayName); writer.WriteStringValue("email", Email); writer.WriteObjectValue("filesFolder", FilesFolder); + writer.WriteCollectionOfObjectValues("getAllMembers", GetAllMembers); writer.WriteBoolValue("isArchived", IsArchived); writer.WriteBoolValue("isFavoriteByDefault", IsFavoriteByDefault); writer.WriteCollectionOfObjectValues("members", Members); diff --git a/src/Microsoft.Graph/Generated/Models/CommsOperation.cs b/src/Microsoft.Graph/Generated/Models/CommsOperation.cs index d01eaa705b2..cc88b64f415 100644 --- a/src/Microsoft.Graph/Generated/Models/CommsOperation.cs +++ b/src/Microsoft.Graph/Generated/Models/CommsOperation.cs @@ -70,7 +70,11 @@ public string ClientContext "#microsoft.graph.recordOperation" => new global::Microsoft.Graph.Beta.Models.RecordOperation(), "#microsoft.graph.sendDtmfTonesOperation" => new global::Microsoft.Graph.Beta.Models.SendDtmfTonesOperation(), "#microsoft.graph.startHoldMusicOperation" => new global::Microsoft.Graph.Beta.Models.StartHoldMusicOperation(), + "#microsoft.graph.startRecordingOperation" => new global::Microsoft.Graph.Beta.Models.StartRecordingOperation(), + "#microsoft.graph.startTranscriptionOperation" => new global::Microsoft.Graph.Beta.Models.StartTranscriptionOperation(), "#microsoft.graph.stopHoldMusicOperation" => new global::Microsoft.Graph.Beta.Models.StopHoldMusicOperation(), + "#microsoft.graph.stopRecordingOperation" => new global::Microsoft.Graph.Beta.Models.StopRecordingOperation(), + "#microsoft.graph.stopTranscriptionOperation" => new global::Microsoft.Graph.Beta.Models.StopTranscriptionOperation(), "#microsoft.graph.subscribeToToneOperation" => new global::Microsoft.Graph.Beta.Models.SubscribeToToneOperation(), "#microsoft.graph.unmuteParticipantOperation" => new global::Microsoft.Graph.Beta.Models.UnmuteParticipantOperation(), "#microsoft.graph.updateRecordingStatusOperation" => new global::Microsoft.Graph.Beta.Models.UpdateRecordingStatusOperation(), diff --git a/src/Microsoft.Graph/Generated/Models/Device.cs b/src/Microsoft.Graph/Generated/Models/Device.cs index f87c47028d3..fbb9ea4e554 100644 --- a/src/Microsoft.Graph/Generated/Models/Device.cs +++ b/src/Microsoft.Graph/Generated/Models/Device.cs @@ -132,7 +132,7 @@ public int? DeviceVersion get { return BackingStore?.Get("deviceVersion"); } set { BackingStore?.Set("deviceVersion", value); } } - /// The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. + /// The display name for the device. Maximum length is 256 characters. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName diff --git a/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs b/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs index ca9bcef9248..d1090bda124 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceCompliancePolicy.cs @@ -137,7 +137,7 @@ public List RoleScopeTagIds set { BackingStore?.Set("roleScopeTagIds", value); } } #endif - /// The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. + /// The list of scheduled action for this rule #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ScheduledActionsForRule diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs index bd4e27d3a4a..3dfc5abe6dc 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationReferredSettingInformation.cs @@ -38,7 +38,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Setting definition id that is being referred to a setting. Applicable for reusable setting + /// Setting definition id that is being referred to a setting. Applicable for reusable setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? SettingDefinitionId diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs index 49e19576521..77111e2ae9a 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSettingDefinition.cs @@ -18,7 +18,7 @@ public partial class DeviceManagementConfigurationSettingDefinition : global::Mi get { return BackingStore?.Get("accessTypes"); } set { BackingStore?.Set("accessTypes", value); } } - /// Details which device setting is applicable on + /// Details which device setting is applicable on. Supports: $filters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSettingApplicability? Applicability @@ -50,7 +50,7 @@ public string BaseUri set { BackingStore?.Set("baseUri", value); } } #endif - /// Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) + /// Specify category in which the setting is under. Support $filters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CategoryId @@ -66,7 +66,7 @@ public string CategoryId set { BackingStore?.Set("categoryId", value); } } #endif - /// Description of the item + /// Description of the setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Description @@ -82,7 +82,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// Display name of the item + /// Name of the setting. For example: Allow Toast. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -98,7 +98,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Help text of the item + /// Help text of the setting. Give more details of the setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? HelpText @@ -114,7 +114,7 @@ public string HelpText set { BackingStore?.Set("helpText", value); } } #endif - /// List of links more info for the setting can be found at + /// List of links more info for the setting can be found at. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? InfoUrls @@ -210,7 +210,7 @@ public string OffsetUri set { BackingStore?.Set("referredSettingInformationList", value); } } #endif - /// Root setting definition if the setting is a child setting. + /// Root setting definition id if the setting is a child setting. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? RootDefinitionId diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs index d404905af3f..1475e256b38 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationSimpleSettingCollectionDefinition.cs @@ -12,13 +12,13 @@ namespace Microsoft.Graph.Beta.Models public partial class DeviceManagementConfigurationSimpleSettingCollectionDefinition : global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationSimpleSettingDefinition, IParsable #pragma warning restore CS1591 { - /// Maximum number of simple settings in the collection. Valid values 1 to 100 + /// Maximum number of simple settings in the collection public int? MaximumCount { get { return BackingStore?.Get("maximumCount"); } set { BackingStore?.Set("maximumCount", value); } } - /// Minimum number of simple settings in the collection. Valid values 1 to 100 + /// Minimum number of simple settings in the collection public int? MinimumCount { get { return BackingStore?.Get("minimumCount"); } diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.cs index 96decd1cdf8..f1f5e5a2ba6 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagementConfigurationStringSettingValueDefinition.cs @@ -29,7 +29,7 @@ public List FileTypes set { BackingStore?.Set("fileTypes", value); } } #endif - /// Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. + /// Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. public global::Microsoft.Graph.Beta.Models.DeviceManagementConfigurationStringFormat? Format { get { return BackingStore?.Get("format"); } @@ -57,13 +57,13 @@ public bool? IsSecret get { return BackingStore?.Get("isSecret"); } set { BackingStore?.Set("isSecret", value); } } - /// Maximum length of string + /// Maximum length of string. Valid values 0 to 87516 public long? MaximumLength { get { return BackingStore?.Get("maximumLength"); } set { BackingStore?.Set("maximumLength", value); } } - /// Minimum length of string + /// Minimum length of string. Valid values 0 to 87516 public long? MinimumLength { get { return BackingStore?.Get("minimumLength"); } diff --git a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs index ce6f58b1361..f093fff3c7c 100644 --- a/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs +++ b/src/Microsoft.Graph/Generated/Models/DirectoryObject1.cs @@ -43,6 +43,22 @@ public partial class DirectoryObject1 : global::Microsoft.Graph.Beta.Models.Enti get { return BackingStore?.Get>("attributeSets"); } set { BackingStore?.Set("attributeSets", value); } } +#endif + /// The authenticationMethodDevices property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice? AuthenticationMethodDevices + { + get { return BackingStore?.Get("authenticationMethodDevices"); } + set { BackingStore?.Set("authenticationMethodDevices", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice AuthenticationMethodDevices + { + get { return BackingStore?.Get("authenticationMethodDevices"); } + set { BackingStore?.Set("authenticationMethodDevices", value); } + } #endif /// The certificateAuthorities property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -320,6 +336,7 @@ public override IDictionary> GetFieldDeserializers() { { "administrativeUnits", n => { AdministrativeUnits = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AdministrativeUnit.CreateFromDiscriminatorValue)?.AsList(); } }, { "attributeSets", n => { AttributeSets = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.AttributeSet.CreateFromDiscriminatorValue)?.AsList(); } }, + { "authenticationMethodDevices", n => { AuthenticationMethodDevices = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice.CreateFromDiscriminatorValue); } }, { "certificateAuthorities", n => { CertificateAuthorities = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.CertificateAuthorityPath.CreateFromDiscriminatorValue); } }, { "customSecurityAttributeDefinitions", n => { CustomSecurityAttributeDefinitions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue)?.AsList(); } }, { "deletedItems", n => { DeletedItems = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.DirectoryObject.CreateFromDiscriminatorValue)?.AsList(); } }, @@ -348,6 +365,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteCollectionOfObjectValues("administrativeUnits", AdministrativeUnits); writer.WriteCollectionOfObjectValues("attributeSets", AttributeSets); + writer.WriteObjectValue("authenticationMethodDevices", AuthenticationMethodDevices); writer.WriteObjectValue("certificateAuthorities", CertificateAuthorities); writer.WriteCollectionOfObjectValues("customSecurityAttributeDefinitions", CustomSecurityAttributeDefinitions); writer.WriteCollectionOfObjectValues("deletedItems", DeletedItems); diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 70f09f21836..f404380ffd0 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -277,6 +277,7 @@ public Entity() "#microsoft.graph.authenticationListener" => new global::Microsoft.Graph.Beta.Models.AuthenticationListener(), "#microsoft.graph.authenticationMethod" => new global::Microsoft.Graph.Beta.Models.AuthenticationMethod(), "#microsoft.graph.authenticationMethodConfiguration" => new global::Microsoft.Graph.Beta.Models.AuthenticationMethodConfiguration(), + "#microsoft.graph.authenticationMethodDevice" => new global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice(), "#microsoft.graph.authenticationMethodModeDetail" => new global::Microsoft.Graph.Beta.Models.AuthenticationMethodModeDetail(), "#microsoft.graph.authenticationMethodsPolicy" => new global::Microsoft.Graph.Beta.Models.AuthenticationMethodsPolicy(), "#microsoft.graph.authenticationMethodsRoot" => new global::Microsoft.Graph.Beta.Models.AuthenticationMethodsRoot(), @@ -846,7 +847,9 @@ public Entity() "#microsoft.graph.hardwareConfigurationDeviceState" => new global::Microsoft.Graph.Beta.Models.HardwareConfigurationDeviceState(), "#microsoft.graph.hardwareConfigurationRunSummary" => new global::Microsoft.Graph.Beta.Models.HardwareConfigurationRunSummary(), "#microsoft.graph.hardwareConfigurationUserState" => new global::Microsoft.Graph.Beta.Models.HardwareConfigurationUserState(), + "#microsoft.graph.hardwareOathAuthenticationMethod" => new global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod(), "#microsoft.graph.hardwareOathAuthenticationMethodConfiguration" => new global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethodConfiguration(), + "#microsoft.graph.hardwareOathTokenAuthenticationMethodDevice" => new global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice(), "#microsoft.graph.hardwarePasswordDetail" => new global::Microsoft.Graph.Beta.Models.HardwarePasswordDetail(), "#microsoft.graph.hardwarePasswordInfo" => new global::Microsoft.Graph.Beta.Models.HardwarePasswordInfo(), "#microsoft.graph.healthMonitoring.alert" => new global::Microsoft.Graph.Beta.Models.HealthMonitoring.Alert(), @@ -1681,7 +1684,11 @@ public Entity() "#microsoft.graph.staleSignInAlertIncident" => new global::Microsoft.Graph.Beta.Models.StaleSignInAlertIncident(), "#microsoft.graph.standardWebPart" => new global::Microsoft.Graph.Beta.Models.StandardWebPart(), "#microsoft.graph.startHoldMusicOperation" => new global::Microsoft.Graph.Beta.Models.StartHoldMusicOperation(), + "#microsoft.graph.startRecordingOperation" => new global::Microsoft.Graph.Beta.Models.StartRecordingOperation(), + "#microsoft.graph.startTranscriptionOperation" => new global::Microsoft.Graph.Beta.Models.StartTranscriptionOperation(), "#microsoft.graph.stopHoldMusicOperation" => new global::Microsoft.Graph.Beta.Models.StopHoldMusicOperation(), + "#microsoft.graph.stopRecordingOperation" => new global::Microsoft.Graph.Beta.Models.StopRecordingOperation(), + "#microsoft.graph.stopTranscriptionOperation" => new global::Microsoft.Graph.Beta.Models.StopTranscriptionOperation(), "#microsoft.graph.storageQuotaBreakdown" => new global::Microsoft.Graph.Beta.Models.StorageQuotaBreakdown(), "#microsoft.graph.storageSettings" => new global::Microsoft.Graph.Beta.Models.StorageSettings(), "#microsoft.graph.strongAuthenticationDetail" => new global::Microsoft.Graph.Beta.Models.StrongAuthenticationDetail(), diff --git a/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs b/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs index ec7e3bfe4a6..672bb33de6c 100644 --- a/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs +++ b/src/Microsoft.Graph/Generated/Models/ExtendedKeyUsage.cs @@ -22,7 +22,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Extended Key Usage Name + /// The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -38,7 +38,7 @@ public string Name set { BackingStore?.Set("name", value); } } #endif - /// Extended Key Usage Object Identifier + /// The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? ObjectIdentifier diff --git a/src/Microsoft.Graph/Generated/Models/HardwareOathAuthenticationMethod.cs b/src/Microsoft.Graph/Generated/Models/HardwareOathAuthenticationMethod.cs new file mode 100644 index 00000000000..44446aa667e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HardwareOathAuthenticationMethod.cs @@ -0,0 +1,71 @@ +// +#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 HardwareOathAuthenticationMethod : global::Microsoft.Graph.Beta.Models.AuthenticationMethod, IParsable + #pragma warning restore CS1591 + { + /// The device property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice? Device + { + get { return BackingStore?.Get("device"); } + set { BackingStore?.Set("device", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice Device + { + get { return BackingStore?.Get("device"); } + set { BackingStore?.Set("device", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public HardwareOathAuthenticationMethod() : base() + { + OdataType = "#microsoft.graph.hardwareOathAuthenticationMethod"; + } + /// + /// 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.HardwareOathAuthenticationMethod CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "device", n => { Device = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("device", Device); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/HardwareOathAuthenticationMethodCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/HardwareOathAuthenticationMethodCollectionResponse.cs new file mode 100644 index 00000000000..eff66db56a3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HardwareOathAuthenticationMethodCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#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 HardwareOathAuthenticationMethodCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.HardwareOathAuthenticationMethodCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethodCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/HardwareOathTokenAuthenticationMethodDevice.cs b/src/Microsoft.Graph/Generated/Models/HardwareOathTokenAuthenticationMethodDevice.cs new file mode 100644 index 00000000000..b596382b048 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HardwareOathTokenAuthenticationMethodDevice.cs @@ -0,0 +1,185 @@ +// +#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 HardwareOathTokenAuthenticationMethodDevice : global::Microsoft.Graph.Beta.Models.AuthenticationMethodDevice, IParsable + #pragma warning restore CS1591 + { + /// The assignedTo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.Identity? AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.Identity AssignedTo + { + get { return BackingStore?.Get("assignedTo"); } + set { BackingStore?.Set("assignedTo", value); } + } +#endif + /// The assignTo property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.User? AssignTo + { + get { return BackingStore?.Get("assignTo"); } + set { BackingStore?.Set("assignTo", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.User AssignTo + { + get { return BackingStore?.Get("assignTo"); } + set { BackingStore?.Set("assignTo", value); } + } +#endif + /// The hashFunction property + public global::Microsoft.Graph.Beta.Models.HardwareOathTokenHashFunction? HashFunction + { + get { return BackingStore?.Get("hashFunction"); } + set { BackingStore?.Set("hashFunction", value); } + } + /// The manufacturer property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Manufacturer + { + get { return BackingStore?.Get("manufacturer"); } + set { BackingStore?.Set("manufacturer", value); } + } +#nullable restore +#else + public string Manufacturer + { + get { return BackingStore?.Get("manufacturer"); } + set { BackingStore?.Set("manufacturer", value); } + } +#endif + /// The model property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Model + { + get { return BackingStore?.Get("model"); } + set { BackingStore?.Set("model", value); } + } +#nullable restore +#else + public string Model + { + get { return BackingStore?.Get("model"); } + set { BackingStore?.Set("model", value); } + } +#endif + /// The secretKey property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SecretKey + { + get { return BackingStore?.Get("secretKey"); } + set { BackingStore?.Set("secretKey", value); } + } +#nullable restore +#else + public string SecretKey + { + get { return BackingStore?.Get("secretKey"); } + set { BackingStore?.Set("secretKey", value); } + } +#endif + /// The serialNumber property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SerialNumber + { + get { return BackingStore?.Get("serialNumber"); } + set { BackingStore?.Set("serialNumber", value); } + } +#nullable restore +#else + public string SerialNumber + { + get { return BackingStore?.Get("serialNumber"); } + set { BackingStore?.Set("serialNumber", value); } + } +#endif + /// The status property + public global::Microsoft.Graph.Beta.Models.HardwareOathTokenStatus? Status + { + get { return BackingStore?.Get("status"); } + set { BackingStore?.Set("status", value); } + } + /// The timeIntervalInSeconds property + public int? TimeIntervalInSeconds + { + get { return BackingStore?.Get("timeIntervalInSeconds"); } + set { BackingStore?.Set("timeIntervalInSeconds", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public HardwareOathTokenAuthenticationMethodDevice() : base() + { + OdataType = "#microsoft.graph.hardwareOathTokenAuthenticationMethodDevice"; + } + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "assignTo", n => { AssignTo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.User.CreateFromDiscriminatorValue); } }, + { "assignedTo", n => { AssignedTo = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.Identity.CreateFromDiscriminatorValue); } }, + { "hashFunction", n => { HashFunction = n.GetEnumValue(); } }, + { "manufacturer", n => { Manufacturer = n.GetStringValue(); } }, + { "model", n => { Model = n.GetStringValue(); } }, + { "secretKey", n => { SecretKey = n.GetStringValue(); } }, + { "serialNumber", n => { SerialNumber = n.GetStringValue(); } }, + { "status", n => { Status = n.GetEnumValue(); } }, + { "timeIntervalInSeconds", n => { TimeIntervalInSeconds = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteObjectValue("assignedTo", AssignedTo); + writer.WriteObjectValue("assignTo", AssignTo); + writer.WriteEnumValue("hashFunction", HashFunction); + writer.WriteStringValue("manufacturer", Manufacturer); + writer.WriteStringValue("model", Model); + writer.WriteStringValue("secretKey", SecretKey); + writer.WriteStringValue("serialNumber", SerialNumber); + writer.WriteEnumValue("status", Status); + writer.WriteIntValue("timeIntervalInSeconds", TimeIntervalInSeconds); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.cs new file mode 100644 index 00000000000..7d5a5b87d4d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.cs @@ -0,0 +1,64 @@ +// +#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 HardwareOathTokenAuthenticationMethodDeviceCollectionResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/HardwareOathTokenHashFunction.cs b/src/Microsoft.Graph/Generated/Models/HardwareOathTokenHashFunction.cs new file mode 100644 index 00000000000..c06535f3472 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HardwareOathTokenHashFunction.cs @@ -0,0 +1,24 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum HardwareOathTokenHashFunction + #pragma warning restore CS1591 + { + [EnumMember(Value = "hmacsha1")] + #pragma warning disable CS1591 + Hmacsha1, + #pragma warning restore CS1591 + [EnumMember(Value = "hmacsha256")] + #pragma warning disable CS1591 + Hmacsha256, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/HardwareOathTokenStatus.cs b/src/Microsoft.Graph/Generated/Models/HardwareOathTokenStatus.cs new file mode 100644 index 00000000000..128e8d82301 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/HardwareOathTokenStatus.cs @@ -0,0 +1,32 @@ +// +using System.Runtime.Serialization; +using System; +namespace Microsoft.Graph.Beta.Models +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public enum HardwareOathTokenStatus + #pragma warning restore CS1591 + { + [EnumMember(Value = "available")] + #pragma warning disable CS1591 + Available, + #pragma warning restore CS1591 + [EnumMember(Value = "assigned")] + #pragma warning disable CS1591 + Assigned, + #pragma warning restore CS1591 + [EnumMember(Value = "activated")] + #pragma warning disable CS1591 + Activated, + #pragma warning restore CS1591 + [EnumMember(Value = "failedActivation")] + #pragma warning disable CS1591 + FailedActivation, + #pragma warning restore CS1591 + [EnumMember(Value = "unknownFutureValue")] + #pragma warning disable CS1591 + UnknownFutureValue, + #pragma warning restore CS1591 + } +} diff --git a/src/Microsoft.Graph/Generated/Models/Identity.cs b/src/Microsoft.Graph/Generated/Models/Identity.cs index 9d31146a14d..3d136784186 100644 --- a/src/Microsoft.Graph/Generated/Models/Identity.cs +++ b/src/Microsoft.Graph/Generated/Models/Identity.cs @@ -23,7 +23,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The display name of the identity. This property is read-only. + /// The display name of the identity. For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -39,7 +39,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The identifier of the identity. This property is read-only. + /// Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Id diff --git a/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs b/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs index a16f3f6ccdb..bf0e4480b5b 100644 --- a/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/IosLobAppProvisioningConfiguration.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class IosLobAppProvisioningConfiguration : global::Microsoft.Graph.Beta.Models.Entity, IParsable { - /// The associated group assignments for IosLobAppProvisioningConfiguration. + /// The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Assignments @@ -83,7 +83,7 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// Optional profile expiration date and time. + /// Optional profile expiration date and time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. public DateTimeOffset? ExpirationDateTime { get { return BackingStore?.Get("expirationDateTime"); } diff --git a/src/Microsoft.Graph/Generated/Models/IosManagedAppProtection.cs b/src/Microsoft.Graph/Generated/Models/IosManagedAppProtection.cs index fc663f0c803..67c9d1e3ff6 100644 --- a/src/Microsoft.Graph/Generated/Models/IosManagedAppProtection.cs +++ b/src/Microsoft.Graph/Generated/Models/IosManagedAppProtection.cs @@ -69,7 +69,7 @@ public bool? AllowWidgetContentSync set { BackingStore?.Set("apps", value); } } #endif - /// A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. + /// A custom browser protocol to open weblink on iOS. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CustomBrowserProtocol diff --git a/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs b/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs index e4d1516c5ce..7a886c3b63e 100644 --- a/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/KeyCredentialConfiguration.cs @@ -71,7 +71,7 @@ public DateTimeOffset? RestrictForAppsCreatedAfterDateTime get { return BackingStore?.Get("restrictionType"); } set { BackingStore?.Set("restrictionType", value); } } - /// String value that indicates if the restriction is evaluated. The possible values are: enabled, disabled, and unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. + /// Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. public global::Microsoft.Graph.Beta.Models.AppManagementRestrictionState? State { get { return BackingStore?.Get("state"); } diff --git a/src/Microsoft.Graph/Generated/Models/KeyValue.cs b/src/Microsoft.Graph/Generated/Models/KeyValue.cs index 78ddab06a5b..885de6a108c 100644 --- a/src/Microsoft.Graph/Generated/Models/KeyValue.cs +++ b/src/Microsoft.Graph/Generated/Models/KeyValue.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Contains the name of the field that a value is associated with. + /// Key. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Key @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Contains the corresponding value for the specified key. + /// Value. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Value diff --git a/src/Microsoft.Graph/Generated/Models/KeyValuePair.cs b/src/Microsoft.Graph/Generated/Models/KeyValuePair.cs index 39fc2864fd1..1aa08145d6b 100644 --- a/src/Microsoft.Graph/Generated/Models/KeyValuePair.cs +++ b/src/Microsoft.Graph/Generated/Models/KeyValuePair.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// Name for this key-value pair + /// Name for this key-value pair. For more information about possible names for each resource type that uses this configuration, see keyValuePair names and values. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Name @@ -53,7 +53,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// Value for this key-value pair + /// Value for this key-value pair. For more information about possible values for each resource type that uses this configuration, see keyValuePair names and values. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Value diff --git a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs index 555d45a12a1..dd567b05e3b 100644 --- a/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/MacOsLobAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class MacOsLobAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. + /// Whether or not to uninstall the app when device is removed from Intune. public bool? UninstallOnDeviceRemoval { get { return BackingStore?.Get("uninstallOnDeviceRemoval"); } diff --git a/src/Microsoft.Graph/Generated/Models/MobileApp.cs b/src/Microsoft.Graph/Generated/Models/MobileApp.cs index 21b020d81d8..28243862130 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileApp.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileApp.cs @@ -45,13 +45,13 @@ public partial class MobileApp : global::Microsoft.Graph.Beta.Models.Entity, IPa set { BackingStore?.Set("categories", value); } } #endif - /// The date and time the app was created. This property is read-only. + /// The date and time the app was created. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// The total number of dependencies the child app has. This property is read-only. + /// The total number of dependencies the child app has. public int? DependentAppCount { get { return BackingStore?.Get("dependentAppCount"); } @@ -121,7 +121,7 @@ public string InformationUrl set { BackingStore?.Set("informationUrl", value); } } #endif - /// The value indicating whether the app is assigned to at least one group. This property is read-only. + /// The value indicating whether the app is assigned to at least one group. public bool? IsAssigned { get { return BackingStore?.Get("isAssigned"); } @@ -149,7 +149,7 @@ public bool? IsFeatured set { BackingStore?.Set("largeIcon", value); } } #endif - /// The date and time the app was last modified. This property is read-only. + /// The date and time the app was last modified. public DateTimeOffset? LastModifiedDateTime { get { return BackingStore?.Get("lastModifiedDateTime"); } @@ -225,7 +225,7 @@ public string Publisher get { return BackingStore?.Get("publishingState"); } set { BackingStore?.Set("publishingState", value); } } - /// The set of direct relationships for this app. + /// List of relationships for this mobile app. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Relationships @@ -269,7 +269,7 @@ public int? SupersedingAppCount get { return BackingStore?.Get("supersedingAppCount"); } set { BackingStore?.Set("supersedingAppCount", value); } } - /// The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. + /// The upload state. public int? UploadState { get { return BackingStore?.Get("uploadState"); } diff --git a/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs b/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs index 9011e830be5..6c0cc82d5ea 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileAppTroubleshootingEvent.cs @@ -29,7 +29,7 @@ public string ApplicationId set { BackingStore?.Set("applicationId", value); } } #endif - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AppLogCollectionRequests diff --git a/src/Microsoft.Graph/Generated/Models/Networkaccess/AlertSummary.cs b/src/Microsoft.Graph/Generated/Models/Networkaccess/AlertSummary.cs new file mode 100644 index 00000000000..6b8d38f60f4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/Networkaccess/AlertSummary.cs @@ -0,0 +1,105 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Models.Networkaccess +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AlertSummary : 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 alertType property + public global::Microsoft.Graph.Beta.Models.Networkaccess.AlertType? AlertType + { + get { return BackingStore?.Get("alertType"); } + set { BackingStore?.Set("alertType", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The count property + public long? Count + { + get { return BackingStore?.Get("count"); } + set { BackingStore?.Set("count", value); } + } + /// The OdataType property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#nullable restore +#else + public string OdataType + { + get { return BackingStore?.Get("@odata.type"); } + set { BackingStore?.Set("@odata.type", value); } + } +#endif + /// The severity property + public global::Microsoft.Graph.Beta.Models.Networkaccess.AlertSeverity? Severity + { + get { return BackingStore?.Get("severity"); } + set { BackingStore?.Set("severity", value); } + } + /// + /// Instantiates a new and sets the default values. + /// + public AlertSummary() + { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// A + /// The parse node to use to read the discriminator value and create the object + public static global::Microsoft.Graph.Beta.Models.Networkaccess.AlertSummary CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.Networkaccess.AlertSummary(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "alertType", n => { AlertType = n.GetEnumValue(); } }, + { "count", n => { Count = n.GetLongValue(); } }, + { "@odata.type", n => { OdataType = n.GetStringValue(); } }, + { "severity", n => { Severity = n.GetEnumValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteEnumValue("alertType", AlertType); + writer.WriteLongValue("count", Count); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteEnumValue("severity", Severity); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/OrgContact.cs b/src/Microsoft.Graph/Generated/Models/OrgContact.cs index f65980dde07..4b3d42f60ea 100644 --- a/src/Microsoft.Graph/Generated/Models/OrgContact.cs +++ b/src/Microsoft.Graph/Generated/Models/OrgContact.cs @@ -76,7 +76,7 @@ public string Department set { BackingStore?.Set("directReports", value); } } #endif - /// Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. + /// Display name for this organizational contact. Maximum length is 256 characters. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName diff --git a/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs b/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs index a68a6b813fb..504c9519691 100644 --- a/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs +++ b/src/Microsoft.Graph/Generated/Models/PasswordCredentialConfiguration.cs @@ -55,7 +55,7 @@ public DateTimeOffset? RestrictForAppsCreatedAfterDateTime get { return BackingStore?.Get("restrictionType"); } set { BackingStore?.Set("restrictionType", value); } } - /// String value that indicates if the restriction is evaluated. The possible values are: enabled, disabled, and unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. + /// Indicates whether the restriction is evaluated. The possible values are: enabled, disabled, unknownFutureValue. If enabled, the restriction is evaluated. If disabled, the restriction isn't evaluated or enforced. public global::Microsoft.Graph.Beta.Models.AppManagementRestrictionState? State { get { return BackingStore?.Get("state"); } diff --git a/src/Microsoft.Graph/Generated/Models/Payload.cs b/src/Microsoft.Graph/Generated/Models/Payload.cs index 925bd234051..a514b70ef8d 100644 --- a/src/Microsoft.Graph/Generated/Models/Payload.cs +++ b/src/Microsoft.Graph/Generated/Models/Payload.cs @@ -62,7 +62,7 @@ public string Description set { BackingStore?.Set("description", value); } } #endif - /// Additional details about the payload. + /// More details about the payload. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PayloadDetail? Detail @@ -202,7 +202,7 @@ public double? PredictedCompromiseRate get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } } - /// The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. + /// The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. public global::Microsoft.Graph.Beta.Models.SimulationAttackTechnique? Technique { get { return BackingStore?.Get("technique"); } diff --git a/src/Microsoft.Graph/Generated/Models/PrinterBase.cs b/src/Microsoft.Graph/Generated/Models/PrinterBase.cs index b498328d6c0..ec501f8385d 100644 --- a/src/Microsoft.Graph/Generated/Models/PrinterBase.cs +++ b/src/Microsoft.Graph/Generated/Models/PrinterBase.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class PrinterBase : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The capabilities property + /// The capabilities of the printer/printerShare. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PrinterCapabilities? Capabilities @@ -28,7 +28,7 @@ public partial class PrinterBase : global::Microsoft.Graph.Beta.Models.Entity, I set { BackingStore?.Set("capabilities", value); } } #endif - /// The defaults property + /// The default print settings of printer/printerShare. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PrinterDefaults? Defaults @@ -44,7 +44,7 @@ public partial class PrinterBase : global::Microsoft.Graph.Beta.Models.Entity, I set { BackingStore?.Set("defaults", value); } } #endif - /// The displayName property + /// The name of the printer/printerShare. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName @@ -60,13 +60,13 @@ public string DisplayName set { BackingStore?.Set("displayName", value); } } #endif - /// The isAcceptingJobs property + /// Specifies whether the printer/printerShare is currently accepting new print jobs. public bool? IsAcceptingJobs { get { return BackingStore?.Get("isAcceptingJobs"); } set { BackingStore?.Set("isAcceptingJobs", value); } } - /// The jobs property + /// The list of jobs that are queued for printing by the printer/printerShare. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Jobs @@ -82,7 +82,7 @@ public bool? IsAcceptingJobs set { BackingStore?.Set("jobs", value); } } #endif - /// The location property + /// The physical and/or organizational location of the printer/printerShare. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PrinterLocation? Location @@ -98,7 +98,7 @@ public bool? IsAcceptingJobs set { BackingStore?.Set("location", value); } } #endif - /// The manufacturer property + /// The manufacturer of the printer/printerShare. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Manufacturer @@ -114,7 +114,7 @@ public string Manufacturer set { BackingStore?.Set("manufacturer", value); } } #endif - /// The model property + /// The model name of the printer/printerShare. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Model diff --git a/src/Microsoft.Graph/Generated/Models/PrinterShare.cs b/src/Microsoft.Graph/Generated/Models/PrinterShare.cs index d80ac463124..7c1dc1aff1d 100644 --- a/src/Microsoft.Graph/Generated/Models/PrinterShare.cs +++ b/src/Microsoft.Graph/Generated/Models/PrinterShare.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class PrinterShare : global::Microsoft.Graph.Beta.Models.PrinterBase, IParsable #pragma warning restore CS1591 { - /// If true, all users and groups will be granted access to this printer share. This supersedes the allow lists defined by the allowedUsers and allowedGroups navigation properties. + /// If true, all users and groups can access this printer share. This property supersedes the lists of allowed users and groups defined by the allowedUsers and allowedGroups navigation properties. public bool? AllowAllUsers { get { return BackingStore?.Get("allowAllUsers"); } @@ -72,7 +72,7 @@ public DateTimeOffset? CreatedDateTime set { BackingStore?.Set("printer", value); } } #endif - /// Additional data for a printer share as viewed by the signed-in user. + /// More data for a printer share as viewed by the signed-in user. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public global::Microsoft.Graph.Beta.Models.PrinterShareViewpoint? ViewPoint diff --git a/src/Microsoft.Graph/Generated/Models/Security/DataSet.cs b/src/Microsoft.Graph/Generated/Models/Security/DataSet.cs index 92fcce50137..de7d47f69f1 100644 --- a/src/Microsoft.Graph/Generated/Models/Security/DataSet.cs +++ b/src/Microsoft.Graph/Generated/Models/Security/DataSet.cs @@ -34,6 +34,22 @@ public DateTimeOffset? CreatedDateTime get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } + /// The description property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#nullable restore +#else + public string Description + { + get { return BackingStore?.Get("description"); } + set { BackingStore?.Set("description", value); } + } +#endif /// The displayName property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -75,6 +91,7 @@ public override IDictionary> GetFieldDeserializers() { { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.IdentitySet.CreateFromDiscriminatorValue); } }, { "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } }, + { "description", n => { Description = n.GetStringValue(); } }, { "displayName", n => { DisplayName = n.GetStringValue(); } }, }; } @@ -88,6 +105,7 @@ public override void Serialize(ISerializationWriter writer) base.Serialize(writer); writer.WriteObjectValue("createdBy", CreatedBy); writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime); + writer.WriteStringValue("description", Description); writer.WriteStringValue("displayName", DisplayName); } } diff --git a/src/Microsoft.Graph/Generated/Models/ServiceActivityPerformanceMetric.cs b/src/Microsoft.Graph/Generated/Models/ServiceActivityPerformanceMetric.cs index 6bbbe824089..c2307d4490b 100644 --- a/src/Microsoft.Graph/Generated/Models/ServiceActivityPerformanceMetric.cs +++ b/src/Microsoft.Graph/Generated/Models/ServiceActivityPerformanceMetric.cs @@ -21,7 +21,7 @@ public IDictionary AdditionalData } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// The intervalStartDateTime property + /// The start date and time (UTC) of the interval. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. public DateTimeOffset? IntervalStartDateTime { get { return BackingStore?.Get("intervalStartDateTime"); } @@ -43,7 +43,7 @@ public string OdataType set { BackingStore?.Set("@odata.type", value); } } #endif - /// The percentage property + /// The aggregated performance over the given aggregation interval that starts from the intervalStartDateTime. The performance is calculated at the minute level. The performance at the starting minute of the intervalStartDateTime is included. The performance at the last minute of the given interval is excluded. For example, if intervalStartDateTime is 2023-09-20T18:00:00Z and the aggregation interval is 5 minutes, then performance is aggregated from 2023-09-20T18:00:00Z (inclusive) to 2023-09-20T18:05:00Z (exclusive). public double? Percentage { get { return BackingStore?.Get("percentage"); } diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 1e23f35428e..cd23eadf66d 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -66,7 +66,7 @@ public string AppDescription set { BackingStore?.Set("appDescription", value); } } #endif - /// The display name exposed by the associated application. + /// The display name exposed by the associated application. Maximum length is 256 characters. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AppDisplayName diff --git a/src/Microsoft.Graph/Generated/Models/Simulation.cs b/src/Microsoft.Graph/Generated/Models/Simulation.cs index 9ac93f17ad9..48751a737da 100644 --- a/src/Microsoft.Graph/Generated/Models/Simulation.cs +++ b/src/Microsoft.Graph/Generated/Models/Simulation.cs @@ -12,7 +12,7 @@ namespace Microsoft.Graph.Beta.Models public partial class Simulation : global::Microsoft.Graph.Beta.Models.Entity, IParsable #pragma warning restore CS1591 { - /// The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant. For more information on the types of social engineering attack techniques, see simulations. + /// The social engineering technique used in the attack simulation and training campaign. Supports $filter and $orderby. Possible values are: unknown, credentialHarvesting, attachmentMalware, driveByUrl, linkInAttachment, linkToMalwareFile, unknownFutureValue, oAuthConsentGrant, phishTraining. You must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: oAuthConsentGrant, phishTraining. For more information on the types of social engineering attack techniques, see simulations. public global::Microsoft.Graph.Beta.Models.SimulationAttackTechnique? AttackTechnique { get { return BackingStore?.Get("attackTechnique"); } diff --git a/src/Microsoft.Graph/Generated/Models/StartRecordingOperation.cs b/src/Microsoft.Graph/Generated/Models/StartRecordingOperation.cs new file mode 100644 index 00000000000..1d8ab41b657 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StartRecordingOperation.cs @@ -0,0 +1,46 @@ +// +#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 StartRecordingOperation : global::Microsoft.Graph.Beta.Models.CommsOperation, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.StartRecordingOperation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.StartRecordingOperation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/StartTranscriptionOperation.cs b/src/Microsoft.Graph/Generated/Models/StartTranscriptionOperation.cs new file mode 100644 index 00000000000..b0bc372a39f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StartTranscriptionOperation.cs @@ -0,0 +1,46 @@ +// +#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 StartTranscriptionOperation : global::Microsoft.Graph.Beta.Models.CommsOperation, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.StartTranscriptionOperation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.StartTranscriptionOperation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/StopRecordingOperation.cs b/src/Microsoft.Graph/Generated/Models/StopRecordingOperation.cs new file mode 100644 index 00000000000..576764087b1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StopRecordingOperation.cs @@ -0,0 +1,46 @@ +// +#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 StopRecordingOperation : global::Microsoft.Graph.Beta.Models.CommsOperation, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.StopRecordingOperation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.StopRecordingOperation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/StopTranscriptionOperation.cs b/src/Microsoft.Graph/Generated/Models/StopTranscriptionOperation.cs new file mode 100644 index 00000000000..294c43f90a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/StopTranscriptionOperation.cs @@ -0,0 +1,46 @@ +// +#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 StopTranscriptionOperation : global::Microsoft.Graph.Beta.Models.CommsOperation, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.StopTranscriptionOperation CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Models.StopTranscriptionOperation(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index 4817e6641d5..fba35147def 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -1088,7 +1088,7 @@ public DateTimeOffset? LastPasswordChangeDateTime get { return BackingStore?.Get("lastPasswordChangeDateTime"); } set { BackingStore?.Set("lastPasswordChangeDateTime", value); } } - /// Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. + /// Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, Undefined, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult, and Adult. For more information, see legal age group property definitions. Returned only on $select. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? LegalAgeGroupClassification diff --git a/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs b/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs index 2a1c0c90472..b88049f2998 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsAppXAppAssignmentSettings.cs @@ -13,7 +13,7 @@ namespace Microsoft.Graph.Beta.Models [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class WindowsAppXAppAssignmentSettings : global::Microsoft.Graph.Beta.Models.MobileAppAssignmentSettings, IParsable { - /// When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. + /// Whether or not to use device execution context for Windows AppX mobile app. public bool? UseDeviceContext { get { return BackingStore?.Get("useDeviceContext"); } diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/AlertsRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/AlertsRequestBuilder.cs index e39d357c365..0acb13d7513 100644 --- a/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/AlertsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/AlertsRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.NetworkAccess.Alerts.Item; using Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTime; using Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime; +using Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime; using Microsoft.Kiota.Abstractions.Extensions; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; @@ -105,6 +106,18 @@ public AlertsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas return new global::Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// + /// Provides operations to call the getAlertSummaries method. + /// + /// A + /// Usage: endDateTime={endDateTime} + /// Usage: startDateTime={startDateTime} + public global::Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime(DateTimeOffset? endDateTime, DateTimeOffset? startDateTime) + { + _ = endDateTime ?? throw new ArgumentNullException(nameof(endDateTime)); + _ = startDateTime ?? throw new ArgumentNullException(nameof(startDateTime)); + return new global::Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); + } + /// /// Create new navigation property to alerts for networkAccess /// /// A diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime/GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime/GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse.cs new file mode 100644 index 00000000000..bc2e2a0a469 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime/GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse.cs @@ -0,0 +1,66 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.Networkaccess; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.Networkaccess.AlertSummary.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime/GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime/GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse.cs new file mode 100644 index 00000000000..0e8edabeeb4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime/GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse.cs @@ -0,0 +1,28 @@ +// +#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.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime +{ + [Obsolete("This class is obsolete. Use GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse : global::Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.cs new file mode 100644 index 00000000000..357481e2ef3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/NetworkAccess/Alerts/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime/MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -0,0 +1,161 @@ +// +#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.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime +{ + /// + /// Provides operations to call the getAlertSummaries method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Usage: endDateTime={endDateTime} + /// Path parameters for the request + /// The request adapter to use to execute the requests. + /// Usage: startDateTime={startDateTime} + public MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter, DateTimeOffset? endDateTime = default, DateTimeOffset? startDateTime = default) : base(requestAdapter, "{+baseurl}/networkAccess/alerts/microsoft.graph.networkaccess.getAlertSummaries(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters) + { + if (endDateTime != null) PathParameters.Add("endDateTime", endDateTime); + if (startDateTime != null) PathParameters.Add("startDateTime", startDateTime); + } + /// + /// 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 MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/networkAccess/alerts/microsoft.graph.networkaccess.getAlertSummaries(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl) + { + } + /// + /// Invoke function getAlertSummaries + /// + /// 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 GetAsGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task GetAsGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseAsync(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.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAlertSummaries + /// + /// A + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code + [Obsolete("This method is obsolete. Use GetAsGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseAsync instead.")] +#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.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke function getAlertSummaries + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Invoke function getAlertSummaries + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters + { + /// Include count of items + [QueryParameter("%24count")] + public bool? Count { get; set; } + /// 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 + /// 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 MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs index 8c88d53f863..d66e0c7208a 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the user synchronization policy of a partner-specific configuration. - /// Find more info here + /// Create a cross-tenant user synchronization policy for a partner-specific configuration. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the user synchronization policy of a partner-specific configuration. + /// Create a cross-tenant user synchronization policy for a partner-specific configuration. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs index 97026ccdf88..4fe750e47cc 100644 --- a/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FederatedTokenValidationPolicy/FederatedTokenValidationPolicyRequestBuilder.cs @@ -57,8 +57,8 @@ public async Task DeleteAsync(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. - /// Find more info here + /// Get a list of the federatedTokenValidationPolicy objects and their properties. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -126,7 +126,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -184,7 +184,7 @@ public partial class FederatedTokenValidationPolicyRequestBuilderDeleteRequestCo { } /// - /// Read the properties and relationships of a federatedTokenValidationPolicy object. + /// Get a list of the federatedTokenValidationPolicy objects and their properties. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class FederatedTokenValidationPolicyRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs index c9c3ae6e989..81aabc51888 100644 --- a/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action - /// Get jobs from print + /// The list of jobs that are queued for printing by the printer/printerShare. /// /// A /// Cancellation token to use when cancelling requests @@ -184,7 +184,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get jobs from print + /// The list of jobs that are queued for printing by the printer/printerShare. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -245,7 +245,7 @@ public partial class PrintJobItemRequestBuilderDeleteRequestConfiguration : Requ { } /// - /// Get jobs from print + /// The list of jobs that are queued for printing by the printer/printerShare. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PrintJobItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/Jobs/JobsRequestBuilder.cs index d1091d99be0..68d003f379d 100644 --- a/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/PrinterShares/Item/Jobs/JobsRequestBuilder.cs @@ -56,7 +56,7 @@ public JobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( { } /// - /// Get jobs from print + /// The list of jobs that are queued for printing by the printer/printerShare. /// /// A /// Cancellation token to use when cancelling requests @@ -106,7 +106,7 @@ public JobsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Get jobs from print + /// The list of jobs that are queued for printing by the printer/printerShare. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -159,7 +159,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Print.PrinterShares.Item.Jobs.JobsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Get jobs from print + /// The list of jobs that are queued for printing by the printer/printerShare. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class JobsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs index f275e66fe46..50ca5dfb8f4 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action - /// Get jobs from print + /// The list of jobs that are queued for printing by the printer/printerShare. /// /// A /// Cancellation token to use when cancelling requests @@ -172,7 +172,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get jobs from print + /// The list of jobs that are queued for printing by the printer/printerShare. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -230,7 +230,7 @@ public partial class PrintJobItemRequestBuilderDeleteRequestConfiguration : Requ { } /// - /// Get jobs from print + /// The list of jobs that are queued for printing by the printer/printerShare. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PrintJobItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 5bd1bdeee42..b12b4c12b0f 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDa { } /// - /// Invoke function getActiveUserMetricsForDesktopMailByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using desktop mail apps. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDa return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForDesktopMailByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using desktop mail apps. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDa return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForDesktopMailByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using desktop mail apps. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForDesktopMailByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using desktop mail apps. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForDesktopMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 85305896a7d..fdbd2873e57 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalSt { } /// - /// Invoke function getActiveUserMetricsForEmailByModernAuthentication + /// Get all the active usage based on the number of users who signed in with modern authentication across all email apps. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalSt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForEmailByModernAuthentication + /// Get all the active usage based on the number of users who signed in with modern authentication across all email apps. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalSt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForEmailByModernAuthentication + /// Get all the active usage based on the number of users who signed in with modern authentication across all email apps. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForEmailByModernAuthentication + /// Get all the active usage based on the number of users who signed in with modern authentication across all email apps. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForEmailByModernAuthenticationWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 5976e439ac6..c5624a63c55 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExcl { } /// - /// Invoke function getActiveUserMetricsForExcelWeb + /// Get all the active usage based on the number of active users who open or save Excel for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExcl return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForExcelWeb + /// Get all the active usage based on the number of active users who open or save Excel for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExcl return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForExcelWeb + /// Get all the active usage based on the number of active users who open or save Excel for the web. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForExcelWeb + /// Get all the active usage based on the number of active users who open or save Excel for the web. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForExcelWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 72ceee142ab..a20b3624d0c 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithEx { } /// - /// Invoke function getActiveUserMetricsForOneNoteWeb + /// Get all the active usage based on the number of active users who open or save OneNote for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithEx return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOneNoteWeb + /// Get all the active usage based on the number of active users who open or save OneNote for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithEx return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOneNoteWeb + /// Get all the active usage based on the number of active users who open or save OneNote for the web. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForOneNoteWeb + /// Get all the active usage based on the number of active users who open or save OneNote for the web. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForOneNoteWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index c67f2e427b2..28c66db1e1c 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDat { } /// - /// Invoke function getActiveUserMetricsForOutlookMacByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook for Mac. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDat return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOutlookMacByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook for Mac. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDat return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOutlookMacByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook for Mac. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForOutlookMacByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook for Mac. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForOutlookMacByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 107ef7db508..cf25289c748 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStart { } /// - /// Invoke function getActiveUserMetricsForOutlookMobileByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStart return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOutlookMobileByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStart return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOutlookMobileByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForOutlookMobileByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook apps for mobile. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForOutlookMobileByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 3c96d822844..a5cdbcd204a 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDa { } /// - /// Invoke function getActiveUserMetricsForOutlookWebByAppOpening + /// Get all the active usage based on the number of active users that signed in and started Outlook for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDa return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOutlookWebByAppOpening + /// Get all the active usage based on the number of active users that signed in and started Outlook for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDa return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOutlookWebByAppOpening + /// Get all the active usage based on the number of active users that signed in and started Outlook for the web. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForOutlookWebByAppOpening + /// Get all the active usage based on the number of active users that signed in and started Outlook for the web. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForOutlookWebByAppOpeningWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 0c0fdd97682..be27bb872b4 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDat { } /// - /// Invoke function getActiveUserMetricsForOutlookWebByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDat return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOutlookWebByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDat return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForOutlookWebByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook for the web. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForOutlookWebByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using Outlook for the web. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForOutlookWebByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index d63f83ed766..c92e810e3bd 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWit { } /// - /// Invoke function getActiveUserMetricsForPowerPointWeb + /// Get all the active usage based on the number of active users who open or save PowerPoint for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWit return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForPowerPointWeb + /// Get all the active usage based on the number of active users who open or save PowerPoint for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWit return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForPowerPointWeb + /// Get all the active usage based on the number of active users who open or save PowerPoint for the web. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForPowerPointWeb + /// Get all the active usage based on the number of active users who open or save PowerPoint for the web. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForPowerPointWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 384146cac99..cfa778cc204 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExcl { } /// - /// Invoke function getActiveUserMetricsForVisioWeb + /// Get all the active usage based on the number of active users who open or save Visio for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExcl return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForVisioWeb + /// Get all the active usage based on the number of active users who open or save Visio for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExcl return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForVisioWeb + /// Get all the active usage based on the number of active users who open or save Visio for the web. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForVisioWeb + /// Get all the active usage based on the number of active users who open or save Visio for the web. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForVisioWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 0d9b03555a0..07074766a59 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclu { } /// - /// Invoke function getActiveUserMetricsForWordWeb + /// Get all the active usage based on the number of active users who open or save Word for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclu return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForWordWeb + /// Get all the active usage based on the number of active users who open or save Word for the web. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclu return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForWordWeb + /// Get all the active usage based on the number of active users who open or save Word for the web. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForWordWeb + /// Get all the active usage based on the number of active users who open or save Word for the web. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForWordWebWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index fcbf44b6282..1125142f30f 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalSt { } /// - /// Invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalSt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalSt return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getActiveUserMetricsForiOSOrAndroidMailByReadEmail + /// Get all the active usage based on the number of users who successfully read emails using iOS or Android mail apps. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetActiveUserMetricsForiOSOrAndroidMailByReadEmailWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index c8d43e421a7..8819fac3698 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExc { } /// - /// Invoke function getAudioStreamQoEMetricsForTeams + /// Get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExc return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getAudioStreamQoEMetricsForTeams + /// Get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExc return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getAudioStreamQoEMetricsForTeams + /// Get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getAudioStreamQoEMetricsForTeams + /// Get metrics based on the percentage of audio streams for which quality of experience (QoE) telemetry was received by the Teams service. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetAudioStreamQoEMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index a49e079ca3e..8de690f13ae 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWi { } /// - /// Invoke function getAudioStreamsOverUdpMetricsForTeams + /// Get metrics based on the percentage of audio streams that were established over User Datagram Protocol. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWi return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getAudioStreamsOverUdpMetricsForTeams + /// Get metrics based on the percentage of audio streams that were established over User Datagram Protocol. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWi return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getAudioStreamsOverUdpMetricsForTeams + /// Get metrics based on the percentage of audio streams that were established over User Datagram Protocol. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getAudioStreamsOverUdpMetricsForTeams + /// Get metrics based on the percentage of audio streams that were established over User Datagram Protocol. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetAudioStreamsOverUdpMetricsForTeamsWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index ffe8e5bf2d0..a9eb39e1cde 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithEx { } /// - /// Invoke function getConnectivityMetricsForExchange + /// Get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithEx return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getConnectivityMetricsForExchange + /// Get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithEx return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getConnectivityMetricsForExchange + /// Get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getConnectivityMetricsForExchange + /// Get estimated connectivity metrics based on the percentage of successful synthetic connections between organization devices and Exchange Online that might include issues outside the control of Microsoft. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetConnectivityMetricsForExchangeWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index f2fc9a845f1..78e7d12b4d6 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTime { } /// - /// Invoke function getMessageVolumeMetricsForEmailDelivery + /// Get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTime return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getMessageVolumeMetricsForEmailDelivery + /// Get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTime return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getMessageVolumeMetricsForEmailDelivery + /// Get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getMessageVolumeMetricsForEmailDelivery + /// Get the number of messages successfully delivered by Exchange. Success is based on message delivery within 15 minutes of its receipt by Exchange Online. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetMessageVolumeMetricsForEmailDeliveryWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 911fb7b0033..09aa2dcb4c5 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWith { } /// - /// Invoke function getMessageVolumeMetricsForTeamsChat + /// Get the number of chat messages successfully sent and delivered in Teams. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWith return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getMessageVolumeMetricsForTeamsChat + /// Get the number of chat messages successfully sent and delivered in Teams. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWith return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getMessageVolumeMetricsForTeamsChat + /// Get the number of chat messages successfully sent and delivered in Teams. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getMessageVolumeMetricsForTeamsChat + /// Get the number of chat messages successfully sent and delivered in Teams. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetMessageVolumeMetricsForTeamsChatWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 4fa00d9bf40..f09c391b709 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExcl { } /// - /// Invoke function getUsageMetricsForTeamsByLaunch + /// Get usage metrics based on the number of times users opened the Teams app without error. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExcl return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getUsageMetricsForTeamsByLaunch + /// Get usage metrics based on the number of times users opened the Teams app without error. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExcl return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getUsageMetricsForTeamsByLaunch + /// Get usage metrics based on the number of times users opened the Teams app without error. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getUsageMetricsForTeamsByLaunch + /// Get usage metrics based on the number of times users opened the Teams app without error. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetUsageMetricsForTeamsByLaunchWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs index 134fb01b606..0811b9a8725 100644 --- a/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ServiceActivity/GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes/GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilder.cs @@ -38,7 +38,8 @@ public GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTime { } /// - /// Invoke function getUsageMetricsForTeamsByMeetingsJoined + /// Get usage metrics based on the number of times users joined Teams meetings without errors. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -61,7 +62,8 @@ public GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTime return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getUsageMetricsForTeamsByMeetingsJoined + /// Get usage metrics based on the number of times users joined Teams meetings without errors. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -85,7 +87,7 @@ public GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTime return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Reports.ServiceActivity.GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutes.GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invoke function getUsageMetricsForTeamsByMeetingsJoined + /// Get usage metrics based on the number of times users joined Teams meetings without errors. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -113,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Invoke function getUsageMetricsForTeamsByMeetingsJoined + /// Get usage metrics based on the number of times users joined Teams meetings without errors. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class GetUsageMetricsForTeamsByMeetingsJoinedWithInclusiveIntervalStartDateTimeWithExclusiveIntervalEndDateTimeWithAggregationIntervalInMinutesRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.cs index 6b25aa50831..c6fa8ecc34f 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Payloads/Item/PayloadItemRequestBuilder.cs @@ -57,7 +57,8 @@ public async Task DeleteAsync(Action - /// Represents an attack simulation training campaign payload in a tenant. + /// Get an attack simulation campaign payload for a tenant. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -124,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Represents an attack simulation training campaign payload in a tenant. + /// Get an attack simulation campaign payload for a tenant. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -182,7 +183,7 @@ public partial class PayloadItemRequestBuilderDeleteRequestConfiguration : Reque { } /// - /// Represents an attack simulation training campaign payload in a tenant. + /// Get an attack simulation campaign payload for a tenant. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PayloadItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs index 2ac15b31834..5718782d0b1 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsPolicy/ClaimsPolicyRequestBuilder.cs @@ -59,8 +59,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update a customClaimsPolicy object. - /// Find more info here + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Find more info here /// /// A /// The request body @@ -85,8 +85,8 @@ public ClaimsPolicyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.CustomClaimsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update a customClaimsPolicy object. - /// Find more info here + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. + /// Find more info here /// /// A /// The request body @@ -130,7 +130,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update a customClaimsPolicy object. + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. /// /// A /// The request body @@ -152,7 +152,7 @@ public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta return requestInfo; } /// - /// Update a customClaimsPolicy object. + /// Create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 25cedb37a9b..523ec15f36e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -117,8 +117,8 @@ public async Task DeleteAsync(Action - /// Get the list of richLongRunningOperations associated with a list. - /// Find more info here + /// Return the metadata for a list. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -185,7 +185,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get the list of richLongRunningOperations associated with a list. + /// Return the metadata for a list. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -243,7 +243,7 @@ public partial class ListItemRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get the list of richLongRunningOperations associated with a list. + /// Return the metadata for a list. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class ListItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs index d2ba9169d37..49414a9d3d4 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.CompleteMigration; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.FilesFolder; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Members; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ProvisionEmail; @@ -49,6 +50,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder GetAllMembers + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Members.MembersRequestBuilder Members { diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..82557997299 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..711bb873f5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..75cc0e7b189 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..864a194f33e --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddResponse.cs @@ -0,0 +1,28 @@ +// +#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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..d600268af9a --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/$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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/$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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.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/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs new file mode 100644 index 00000000000..708f0c1092f --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove; +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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 GetAllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers{?%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 GetAllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + /// 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.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to getAllMembers for teamTemplateDefinition + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + /// 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 getAllMembers for teamTemplateDefinition + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilderGetQueryParameters + { + /// 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 GetAllMembersRequestBuilderGetRequestConfiguration : 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 GetAllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..37a5108d953 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property getAllMembers for teamTemplateDefinition + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + /// 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property getAllMembers in teamTemplateDefinition + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property getAllMembers for teamTemplateDefinition + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + /// 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 getAllMembers in teamTemplateDefinition + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..855074d9b55 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..19fa94f9756 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..561c4070aed --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..b041d7024b2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..8b24a6b9d3d --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..f4811fdaac5 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..2dda7561c71 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..37fc1be688e --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddResponse.cs @@ -0,0 +1,28 @@ +// +#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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..1cc26ff6dc1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/$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}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/$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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.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/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs new file mode 100644 index 00000000000..20f82873114 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove; +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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 GetAllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers{?%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 GetAllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + /// 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.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to getAllMembers for teamTemplateDefinition + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + /// 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 getAllMembers for teamTemplateDefinition + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilderGetQueryParameters + { + /// 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 GetAllMembersRequestBuilderGetRequestConfiguration : 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 GetAllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..38f2f1dd363 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property getAllMembers for teamTemplateDefinition + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + /// 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property getAllMembers in teamTemplateDefinition + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property getAllMembers for teamTemplateDefinition + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + /// 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 getAllMembers in teamTemplateDefinition + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get getAllMembers from teamTemplateDefinition + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..a6d64d9a1df --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..b8151ed43c1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..c7dc55ca5c8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..7c5a243e087 --- /dev/null +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 14f1e119dcf..32915e3e0cb 100644 --- a/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamTemplateDefinition/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.FilesFolder; +using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Members; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages; using Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.ProvisionEmail; @@ -49,6 +50,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder GetAllMembers + { + get => new global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Members.MembersRequestBuilder Members { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 9512f64914e..cb3260d2eb0 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.Teams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.FilesFolder; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Members; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages; using Microsoft.Graph.Beta.Teams.Item.Channels.Item.ProvisionEmail; @@ -49,6 +50,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder GetAllMembers + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.Members.MembersRequestBuilder Members { diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..706a4b8cf2a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..32107f0be14 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..b4bd258e39d --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teams.Item.Channels.Item.GetAllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.GetAllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..c7064635ea1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Add/AddResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teams.Item.Channels.Item.GetAllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teams.Item.Channels.Item.GetAllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..195bb2ea41f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/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.Teams.Item.Channels.Item.GetAllMembers.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}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/$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}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/$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.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.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/Teams/Item/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs new file mode 100644 index 00000000000..b7f5eedcbe3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item; +using Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove; +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.Teams.Item.Channels.Item.GetAllMembers +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 GetAllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers{?%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 GetAllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get getAllMembers from teams + /// + /// 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.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to getAllMembers for teams + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teams + /// + /// 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 getAllMembers for teams + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get getAllMembers from teams + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilderGetQueryParameters + { + /// 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 GetAllMembersRequestBuilderGetRequestConfiguration : 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 GetAllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..48e8e5c6ca3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property getAllMembers for teams + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teams + /// + /// 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property getAllMembers in teams + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property getAllMembers for teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get getAllMembers from teams + /// + /// 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 getAllMembers in teams + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get getAllMembers from teams + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..a53203998a6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..256e219b0bf --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..0713b2ac0b8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teams.Item.Channels.Item.GetAllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/getAllMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..01d647afb62 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teams.Item.Channels.Item.GetAllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index d22706694d2..7b1be276673 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -82,8 +82,8 @@ public async Task DeleteAsync(Action(requestInfo, global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Update the role of a conversationMember in a team.or channel. + /// Find more info here /// /// A /// The request body @@ -146,7 +146,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Update the role of a conversationMember in a team.or channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 57ce5fc9b46..2c13ac6c95d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -84,8 +84,8 @@ public MessagesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel or a chat. - /// Find more info here + /// Send a new chatMessage in the specified channel. + /// Find more info here /// /// A /// The request body @@ -129,7 +129,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel or a chat. + /// Send a new chatMessage in the specified channel. /// /// A /// The request body diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..65fbddb9c5b --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..fa201834e07 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..af8f6665777 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teams.Item.PrimaryChannel.GetAllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..e577fb51369 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Add/AddResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teams.Item.PrimaryChannel.GetAllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..342e495c2d6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/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.Teams.Item.PrimaryChannel.GetAllMembers.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}/teams/{team%2Did}/primaryChannel/getAllMembers/$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}/teams/{team%2Did}/primaryChannel/getAllMembers/$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.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.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/Teams/Item/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs new file mode 100644 index 00000000000..96e945268dc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove; +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.Teams.Item.PrimaryChannel.GetAllMembers +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 GetAllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers{?%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 GetAllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get getAllMembers from teams + /// + /// 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.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to getAllMembers for teams + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teams + /// + /// 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 getAllMembers for teams + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get getAllMembers from teams + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilderGetQueryParameters + { + /// 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 GetAllMembersRequestBuilderGetRequestConfiguration : 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 GetAllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..084223a3e1e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property getAllMembers for teams + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teams + /// + /// 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property getAllMembers in teams + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property getAllMembers for teams + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get getAllMembers from teams + /// + /// 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 getAllMembers in teams + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get getAllMembers from teams + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..7759586e5b0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..9cb2d034339 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..fe4f5b51355 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teams.Item.PrimaryChannel.GetAllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/getAllMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..5f2a47172e4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teams.Item.PrimaryChannel.GetAllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index f5856c10329..8a5df399482 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.FilesFolder; +using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Members; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages; using Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.ProvisionEmail; @@ -49,6 +50,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder GetAllMembers + { + get => new global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Members.MembersRequestBuilder Members { diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 8c159ff9e06..27b5fe7ba30 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.CompleteMigration; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Members; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages; using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ProvisionEmail; @@ -49,6 +50,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder GetAllMembers + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Members.MembersRequestBuilder Members { diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..95af6d5bede --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..856a09b13ec --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..dace545a22f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..ad7c5475b79 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Add/AddResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b334c8751a4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/$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}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/$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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.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/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs new file mode 100644 index 00000000000..d453a54a0d4 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item; +using Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove; +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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 GetAllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers{?%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 GetAllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get getAllMembers from teamwork + /// + /// 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.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to getAllMembers for teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamwork + /// + /// 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 getAllMembers for teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get getAllMembers from teamwork + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilderGetQueryParameters + { + /// 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 GetAllMembersRequestBuilderGetRequestConfiguration : 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 GetAllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..f1cc1f2af88 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property getAllMembers for teamwork + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamwork + /// + /// 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property getAllMembers in teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property getAllMembers for teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get getAllMembers from teamwork + /// + /// 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 getAllMembers in teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get getAllMembers from teamwork + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..47128240c6c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..729a87b8ce0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..712a23d679e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/getAllMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..3f512acbf67 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs index e6cff8e5a9b..ada4a49c95f 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/ChannelItemRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.CompleteMigration; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.FilesFolder; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Members; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ProvisionEmail; @@ -49,6 +50,11 @@ public partial class ChannelItemRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder GetAllMembers + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Members.MembersRequestBuilder Members { diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..a05c4d12117 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..989a90f2911 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..836b671bc9f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..6c13a73bb54 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Add/AddResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..7371c188484 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/$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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/$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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs new file mode 100644 index 00000000000..077a561dcda --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/GetAllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove; +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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 GetAllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers{?%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 GetAllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get getAllMembers from teamwork + /// + /// 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.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to getAllMembers for teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamwork + /// + /// 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 getAllMembers for teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get getAllMembers from teamwork + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilderGetQueryParameters + { + /// 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 GetAllMembersRequestBuilderGetRequestConfiguration : 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 GetAllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..c7f56d162ad --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property getAllMembers for teamwork + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamwork + /// + /// 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property getAllMembers in teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property getAllMembers for teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get getAllMembers from teamwork + /// + /// 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 getAllMembers in teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get getAllMembers from teamwork + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..de64851fe84 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..c8fd3f2916c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..008d5adb629 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/getAllMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..35a8b04c4cc --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/Channels/Item/GetAllMembers/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs new file mode 100644 index 00000000000..aff213df9ef --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AddPostRequestBody() + { + 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs new file mode 100644 index 00000000000..5e6799c3619 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddPostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddPostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs new file mode 100644 index 00000000000..f02c69567f2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add +{ + /// + /// Provides operations to call the add method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AddRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AddRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/add", 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 AddRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/add", rawUrl) + { + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsAddPostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsAddPostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder(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 AddRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddResponse.cs new file mode 100644 index 00000000000..896c0bc9279 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Add/AddResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add +{ + [Obsolete("This class is obsolete. Use AddPostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AddResponse : global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..86a4fc15f36 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/$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}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/$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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.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/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs new file mode 100644 index 00000000000..fb92340585a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/GetAllMembersRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove; +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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the add method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder Add + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the remove method. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder Remove + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// The unique identifier of conversationMember + /// A + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("conversationMember%2Did", position); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 GetAllMembersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers{?%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 GetAllMembersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get getAllMembers from teamwork + /// + /// 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.ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to getAllMembers for teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamwork + /// + /// 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 getAllMembers for teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get getAllMembers from teamwork + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class GetAllMembersRequestBuilderGetQueryParameters + { + /// 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 GetAllMembersRequestBuilderGetRequestConfiguration : 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 GetAllMembersRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs new file mode 100644 index 00000000000..23e8845fcb1 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -0,0 +1,229 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item +{ + /// + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ConversationMemberItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/{conversationMember%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 ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/{conversationMember%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property getAllMembers for teamwork + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get getAllMembers from teamwork + /// + /// 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property getAllMembers in teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property getAllMembers for teamwork + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get getAllMembers from teamwork + /// + /// 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 getAllMembers in teamwork + /// + /// 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.ConversationMember body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.ConversationMember body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder(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 ConversationMemberItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get getAllMembers from teamwork + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ConversationMemberItemRequestBuilderGetQueryParameters + { + /// 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 ConversationMemberItemRequestBuilderGetRequestConfiguration : 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 ConversationMemberItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs new file mode 100644 index 00000000000..96bf536060f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostRequestBody.cs @@ -0,0 +1,82 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostRequestBody : 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 values property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Values + { + get { return BackingStore?.Get?>("values"); } + set { BackingStore?.Set("values", value); } + } +#nullable restore +#else + public List Values + { + get { return BackingStore?.Get>("values"); } + set { BackingStore?.Set("values", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public RemovePostRequestBody() + { + 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "values", n => { Values = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ConversationMember.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteCollectionOfObjectValues("values", Values); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs new file mode 100644 index 00000000000..7bf1cd00853 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemovePostResponse.cs @@ -0,0 +1,65 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemovePostResponse : global::Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse, IParsable + #pragma warning restore CS1591 + { + /// The value property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? Value + { + get { return BackingStore?.Get?>("value"); } + set { BackingStore?.Set("value", value); } + } +#nullable restore +#else + public List Value + { + get { return BackingStore?.Get>("value"); } + set { BackingStore?.Set("value", value); } + } +#endif + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public override IDictionary> GetFieldDeserializers() + { + return new Dictionary>(base.GetFieldDeserializers()) + { + { "value", n => { Value = n.GetCollectionOfObjectValues(global::Microsoft.Graph.Beta.Models.ActionResultPart.CreateFromDiscriminatorValue)?.AsList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public override void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs new file mode 100644 index 00000000000..42cd91c5a67 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveRequestBuilder.cs @@ -0,0 +1,130 @@ +// +#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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove +{ + /// + /// Provides operations to call the remove method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class RemoveRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public RemoveRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/remove", 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 RemoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/getAllMembers/remove", rawUrl) + { + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsRemovePostResponseAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// Find more info here + /// + /// 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 + [Obsolete("This method is obsolete. Use PostAsRemovePostResponseAsync instead.")] +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Remove multiple members from a team in a single request. The response provides details about which memberships could and couldn't be removed. + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder(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 RemoveRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs new file mode 100644 index 00000000000..1f1058c1d31 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/GetAllMembers/Remove/RemoveResponse.cs @@ -0,0 +1,28 @@ +// +#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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove +{ + [Obsolete("This class is obsolete. Use RemovePostResponse instead.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class RemoveResponse : global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse, IParsable + #pragma warning restore CS1591 + { + /// + /// 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.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse(); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs index baa3e14799a..2e41f9a57a8 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamTemplates/Item/Definitions/Item/TeamDefinition/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -6,6 +6,7 @@ using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.CompleteMigration; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.FilesFolder; +using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Members; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages; using Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.ProvisionEmail; @@ -49,6 +50,11 @@ public partial class PrimaryChannelRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the getAllMembers property of the microsoft.graph.channel entity. + public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder GetAllMembers + { + get => new global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the members property of the microsoft.graph.channel entity. public global::Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Members.MembersRequestBuilder Members { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs index ab221c4154a..f73e84592b5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs @@ -4,6 +4,7 @@ using Microsoft.Graph.Beta.Models; using Microsoft.Graph.Beta.Users.Item.Authentication.EmailMethods; using Microsoft.Graph.Beta.Users.Item.Authentication.Fido2Methods; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods; using Microsoft.Graph.Beta.Users.Item.Authentication.Methods; using Microsoft.Graph.Beta.Users.Item.Authentication.MicrosoftAuthenticatorMethods; using Microsoft.Graph.Beta.Users.Item.Authentication.Operations; @@ -42,6 +43,11 @@ public partial class AuthenticationRequestBuilder : BaseRequestBuilder { get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.Fido2Methods.Fido2MethodsRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder HardwareOathMethods + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the methods property of the microsoft.graph.authentication entity. public global::Microsoft.Graph.Beta.Users.Item.Authentication.Methods.MethodsRequestBuilder Methods { diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivatePostRequestBody.cs new file mode 100644 index 00000000000..5a1d0cff6e8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivatePostRequestBody.cs @@ -0,0 +1,118 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignAndActivatePostRequestBody : 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 device property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice? Device + { + get { return BackingStore?.Get("device"); } + set { BackingStore?.Set("device", value); } + } +#nullable restore +#else + public global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice Device + { + get { return BackingStore?.Get("device"); } + set { BackingStore?.Set("device", value); } + } +#endif + /// The displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The verificationCode property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#nullable restore +#else + public string VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AssignAndActivatePostRequestBody() + { + 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.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "device", n => { Device = n.GetObjectValue(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue); } }, + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "verificationCode", n => { VerificationCode = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteObjectValue("device", Device); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("verificationCode", VerificationCode); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivateRequestBuilder.cs new file mode 100644 index 00000000000..e5abd1f7aa3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivate/AssignAndActivateRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate +{ + /// + /// Provides operations to call the assignAndActivate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignAndActivateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignAndActivateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/assignAndActivate", 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 AssignAndActivateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/assignAndActivate", rawUrl) + { + } + /// + /// Invoke action assignAndActivate + /// + /// 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.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action assignAndActivate + /// + /// 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.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder(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 AssignAndActivateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberPostRequestBody.cs new file mode 100644 index 00000000000..73734f40c06 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberPostRequestBody.cs @@ -0,0 +1,117 @@ +// +#pragma warning disable CS0618 +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class AssignAndActivateBySerialNumberPostRequestBody : 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 displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The serialNumber property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? SerialNumber + { + get { return BackingStore?.Get("serialNumber"); } + set { BackingStore?.Set("serialNumber", value); } + } +#nullable restore +#else + public string SerialNumber + { + get { return BackingStore?.Get("serialNumber"); } + set { BackingStore?.Set("serialNumber", value); } + } +#endif + /// The verificationCode property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#nullable restore +#else + public string VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public AssignAndActivateBySerialNumberPostRequestBody() + { + 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.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "serialNumber", n => { SerialNumber = n.GetStringValue(); } }, + { "verificationCode", n => { VerificationCode = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("serialNumber", SerialNumber); + writer.WriteStringValue("verificationCode", VerificationCode); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberRequestBuilder.cs new file mode 100644 index 00000000000..60b293249a9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/AssignAndActivateBySerialNumber/AssignAndActivateBySerialNumberRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber +{ + /// + /// Provides operations to call the assignAndActivateBySerialNumber method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignAndActivateBySerialNumberRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public AssignAndActivateBySerialNumberRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/assignAndActivateBySerialNumber", 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 AssignAndActivateBySerialNumberRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/assignAndActivateBySerialNumber", rawUrl) + { + } + /// + /// Invoke action assignAndActivateBySerialNumber + /// + /// 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.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action assignAndActivateBySerialNumber + /// + /// 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.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder(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 AssignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..109ccd4ff0a --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/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.Users.Item.Authentication.HardwareOathMethods.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}/users/{user%2Did}/authentication/hardwareOathMethods/$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}/users/{user%2Did}/authentication/hardwareOathMethods/$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.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.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/Users/Item/Authentication/HardwareOathMethods/HardwareOathMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/HardwareOathMethodsRequestBuilder.cs new file mode 100644 index 00000000000..d91bccf0ac3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/HardwareOathMethodsRequestBuilder.cs @@ -0,0 +1,250 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item; +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.Users.Item.Authentication.HardwareOathMethods +{ + /// + /// Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathMethodsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the assignAndActivate method. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder AssignAndActivate + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the assignAndActivateBySerialNumber method. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder AssignAndActivateBySerialNumber + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + /// The unique identifier of hardwareOathAuthenticationMethod + /// A + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("hardwareOathAuthenticationMethod%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder(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 HardwareOathMethodsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods{?%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 HardwareOathMethodsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get hardwareOathMethods from users + /// + /// 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.HardwareOathAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hardwareOathMethods for users + /// + /// 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.HardwareOathAuthenticationMethod body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathMethods from users + /// + /// 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 hardwareOathMethods for users + /// + /// 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.HardwareOathAuthenticationMethod body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Users.Item.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get hardwareOathMethods from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathMethodsRequestBuilderGetQueryParameters + { + /// 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 HardwareOathMethodsRequestBuilderGetRequestConfiguration : 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 HardwareOathMethodsRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Activate/ActivatePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Activate/ActivatePostRequestBody.cs new file mode 100644 index 00000000000..311ee2595a2 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Activate/ActivatePostRequestBody.cs @@ -0,0 +1,99 @@ +// +#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.Users.Item.Authentication.HardwareOathMethods.Item.Activate +{ + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + #pragma warning disable CS1591 + public partial class ActivatePostRequestBody : 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 displayName property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#nullable restore +#else + public string DisplayName + { + get { return BackingStore?.Get("displayName"); } + set { BackingStore?.Set("displayName", value); } + } +#endif + /// The verificationCode property +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#nullable restore +#else + public string VerificationCode + { + get { return BackingStore?.Get("verificationCode"); } + set { BackingStore?.Set("verificationCode", value); } + } +#endif + /// + /// Instantiates a new and sets the default values. + /// + public ActivatePostRequestBody() + { + 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.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) + { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody(); + } + /// + /// The deserialization information for the current model + /// + /// A IDictionary<string, Action<IParseNode>> + public virtual IDictionary> GetFieldDeserializers() + { + return new Dictionary> + { + { "displayName", n => { DisplayName = n.GetStringValue(); } }, + { "verificationCode", n => { VerificationCode = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public virtual void Serialize(ISerializationWriter writer) + { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("displayName", DisplayName); + writer.WriteStringValue("verificationCode", VerificationCode); + writer.WriteAdditionalData(AdditionalData); + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Activate/ActivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Activate/ActivateRequestBuilder.cs new file mode 100644 index 00000000000..533b8617ab6 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Activate/ActivateRequestBuilder.cs @@ -0,0 +1,101 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate +{ + /// + /// Provides operations to call the activate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ActivateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public ActivateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/activate", 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 ActivateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/activate", rawUrl) + { + } + /// + /// Invoke action activate + /// + /// 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.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action activate + /// + /// 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.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder(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 ActivateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Deactivate/DeactivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Deactivate/DeactivateRequestBuilder.cs new file mode 100644 index 00000000000..cb7075eb754 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Deactivate/DeactivateRequestBuilder.cs @@ -0,0 +1,96 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate +{ + /// + /// Provides operations to call the deactivate method. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeactivateRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public DeactivateRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/deactivate", 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 DeactivateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/deactivate", rawUrl) + { + } + /// + /// Invoke action deactivate + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToPostRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Invoke action deactivate + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder(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 DeactivateRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/AssignToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/AssignToRequestBuilder.cs new file mode 100644 index 00000000000..e9f59050cf3 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/AssignToRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors; +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.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo +{ + /// + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(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 AssignToRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo{?%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 AssignToRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get assignTo from users + /// + /// 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.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get assignTo from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get assignTo from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilderGetQueryParameters + { + /// 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 AssignToRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..7f301bd2129 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \users\{user-id}\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\assignTo\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/mailboxSettings{?%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 MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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 property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// 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 MailboxSettingsRequestBuilderGetRequestConfiguration : 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 MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..cb374224cf8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/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.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.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}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors/$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}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors/$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.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.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/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..77e110a56d9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count; +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.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \users\{user-id}\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\assignTo\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder(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 ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors{?%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 ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// 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.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user 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; + } + /// + /// 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.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// 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 ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/DeviceRequestBuilder.cs new file mode 100644 index 00000000000..9a2853e5137 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/DeviceRequestBuilder.cs @@ -0,0 +1,241 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices; +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.Users.Item.Authentication.HardwareOathMethods.Item.Device +{ + /// + /// Provides operations to manage the device property of the microsoft.graph.hardwareOathAuthenticationMethod entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder AssignTo + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder HardwareOathDevices + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder(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 DeviceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device{?%24expand,%24select}", pathParameters) + { + } + /// + /// Instantiates a new and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property device for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get device from users + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property device in users + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property device for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get device from users + /// + /// 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 device in users + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Users.Item.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder(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 DeviceRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get device from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilderGetQueryParameters + { + /// Expand related entities +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24expand")] + public string[]? Expand { get; set; } +#nullable restore +#else + [QueryParameter("%24expand")] + public string[] Expand { get; set; } +#endif + /// Select properties to be returned +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + [QueryParameter("%24select")] + public string[]? Select { get; set; } +#nullable restore +#else + [QueryParameter("%24select")] + public string[] Select { get; set; } +#endif + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")] + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class DeviceRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + /// + /// 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 DeviceRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..247c0054c92 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.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}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/$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}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/$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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.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/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs new file mode 100644 index 00000000000..d3118fda9de --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/HardwareOathDevicesRequestBuilder.cs @@ -0,0 +1,238 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item; +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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices +{ + /// + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathDevicesRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// The unique identifier of hardwareOathTokenAuthenticationMethodDevice + /// A + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder this[string position] + { + get + { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("hardwareOathTokenAuthenticationMethodDevice%2Did", position); + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(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 HardwareOathDevicesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices{?%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 HardwareOathDevicesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Get hardwareOathDevices from users + /// + /// 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.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to hardwareOathDevices for users + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PostAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathDevices from users + /// + /// 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 hardwareOathDevices for users + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get hardwareOathDevices from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathDevicesRequestBuilderGetQueryParameters + { + /// 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 HardwareOathDevicesRequestBuilderGetRequestConfiguration : 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 HardwareOathDevicesRequestBuilderPostRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs new file mode 100644 index 00000000000..82cddc37823 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/AssignToRequestBuilder.cs @@ -0,0 +1,137 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors; +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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo +{ + /// + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilder : BaseRequestBuilder + { + /// The mailboxSettings property + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder MailboxSettings + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(PathParameters, RequestAdapter); + } + /// The serviceProvisioningErrors property + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder ServiceProvisioningErrors + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(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 AssignToRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%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 AssignToRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo{?%24expand,%24select}", rawUrl) + { + } + /// + /// Get assignTo from users + /// + /// 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.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get assignTo from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get assignTo from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class AssignToRequestBuilderGetQueryParameters + { + /// 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 AssignToRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs new file mode 100644 index 00000000000..0ce21ce283f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -0,0 +1,180 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Kiota.Abstractions.Extensions; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings +{ + /// + /// Builds and executes requests for operations under \users\{user-id}\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\mailboxSettings + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilder : BaseRequestBuilder + { + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public MailboxSettingsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%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 MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/mailboxSettings{?%24expand,%24select}", rawUrl) + { + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + /// 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 property mailboxSettings value. + /// + /// 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.MailboxSettings body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.MailboxSettings body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class MailboxSettingsRequestBuilderGetQueryParameters + { + /// 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 MailboxSettingsRequestBuilderGetRequestConfiguration : 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 MailboxSettingsRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..0be8f607103 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.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}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$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}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors/$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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.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/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs new file mode 100644 index 00000000000..3dc2ef787e0 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/AssignTo/ServiceProvisioningErrors/ServiceProvisioningErrorsRequestBuilder.cs @@ -0,0 +1,170 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count; +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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors +{ + /// + /// Builds and executes requests for operations under \users\{user-id}\authentication\hardwareOathMethods\{hardwareOathAuthenticationMethod-id}\device\hardwareOathDevices\{hardwareOathTokenAuthenticationMethodDevice-id}\assignTo\serviceProvisioningErrors + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilder : BaseRequestBuilder + { + /// Provides operations to count the resources in the collection. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder Count + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder(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 ServiceProvisioningErrorsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%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 ServiceProvisioningErrorsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}/assignTo/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl) + { + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + /// 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.ServiceProvisioningErrorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user 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; + } + /// + /// 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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class ServiceProvisioningErrorsRequestBuilderGetQueryParameters + { + /// 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 ServiceProvisioningErrorsRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs new file mode 100644 index 00000000000..2bcb4725efa --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/Device/HardwareOathDevices/Item/HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.cs @@ -0,0 +1,235 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo; +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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item +{ + /// + /// Provides operations to manage the hardwareOathDevices property of the microsoft.graph.authenticationMethodDevice entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to manage the assignTo property of the microsoft.graph.hardwareOathTokenAuthenticationMethodDevice entity. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder AssignTo + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}/device/hardwareOathDevices/{hardwareOathTokenAuthenticationMethodDevice%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hardwareOathDevices for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathDevices from users + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property hardwareOathDevices in users + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task PatchAsync(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + _ = body ?? 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.HardwareOathTokenAuthenticationMethodDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hardwareOathDevices for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get hardwareOathDevices from users + /// + /// 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 hardwareOathDevices in users + /// + /// 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.HardwareOathTokenAuthenticationMethodDevice body, Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(global::Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice body, Action> requestConfiguration = default) + { +#endif + _ = body ?? 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.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder(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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get hardwareOathDevices from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters + { + /// 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration : 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 HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/HardwareOathAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/HardwareOathAuthenticationMethodItemRequestBuilder.cs new file mode 100644 index 00000000000..5089f1aba01 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/HardwareOathMethods/Item/HardwareOathAuthenticationMethodItemRequestBuilder.cs @@ -0,0 +1,192 @@ +// +#pragma warning disable CS0618 +using Microsoft.Graph.Beta.Models.ODataErrors; +using Microsoft.Graph.Beta.Models; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate; +using Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device; +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.Users.Item.Authentication.HardwareOathMethods.Item +{ + /// + /// Provides operations to manage the hardwareOathMethods property of the microsoft.graph.authentication entity. + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathAuthenticationMethodItemRequestBuilder : BaseRequestBuilder + { + /// Provides operations to call the activate method. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder Activate + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to call the deactivate method. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder Deactivate + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the device property of the microsoft.graph.hardwareOathAuthenticationMethod entity. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder Device + { + get => new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public HardwareOathAuthenticationMethodItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%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 HardwareOathAuthenticationMethodItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/hardwareOathMethods/{hardwareOathAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl) + { + } + /// + /// Delete navigation property hardwareOathMethods for users + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. + /// When receiving a 4XX or 5XX status code +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) + { +#nullable restore +#else + public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) + { +#endif + var requestInfo = ToDeleteRequestInformation(requestConfiguration); + var errorMapping = new Dictionary> + { + { "XXX", global::Microsoft.Graph.Beta.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue }, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get hardwareOathMethods from users + /// + /// 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.HardwareOathAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property hardwareOathMethods for users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Get hardwareOathMethods from users + /// + /// A + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) + { +#nullable restore +#else + public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) + { +#endif + var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters); + requestInfo.Configure(requestConfiguration); + requestInfo.Headers.TryAdd("Accept", "application/json"); + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// A + /// The raw URL to use for the request builder. + public global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder WithUrl(string rawUrl) + { + return new global::Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder(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 HardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration + { + } + /// + /// Get hardwareOathMethods from users + /// + [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] + public partial class HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters + { + /// 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 HardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration : RequestConfiguration + { + } + } +} +#pragma warning restore CS0618 diff --git a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index fafb540769c..fbfaf6ffb48 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -54,7 +54,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req { } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Cancellation token to use when cancelling requests @@ -102,7 +102,7 @@ public AppLogCollectionRequestsRequestBuilder(string rawUrl, IRequestAdapter req return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.Beta.Models.AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -152,7 +152,7 @@ public RequestInformation ToPostRequestInformation(global::Microsoft.Graph.Beta. return new global::Microsoft.Graph.Beta.Users.Item.MobileAppTroubleshootingEvents.Item.AppLogCollectionRequests.AppLogCollectionRequestsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestsRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index 962f5df3791..8daeb75441a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task DeleteAsync(Action - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Cancellation token to use when cancelling requests @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -188,7 +188,7 @@ public partial class AppLogCollectionRequestItemRequestBuilderDeleteRequestConfi { } /// - /// Indicates collection of App Log Upload Request. + /// The collection property of AppLogUploadRequest. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class AppLogCollectionRequestItemRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index abf9c518036..4a8ed05a955 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs @@ -87,8 +87,8 @@ public async Task DeleteAsync(Action - /// Get a user's presence information. - /// Find more info here + /// Set a presence status message for a user. An optional expiration date and time can be supplied. + /// Find more info here /// /// A /// Cancellation token to use when cancelling requests @@ -155,7 +155,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a user's presence information. + /// Set a presence status message for a user. An optional expiration date and time can be supplied. /// /// A /// Configuration for the request such as headers, query parameters, and middleware options. @@ -213,7 +213,7 @@ public partial class PresenceRequestBuilderDeleteRequestConfiguration : RequestC { } /// - /// Get a user's presence information. + /// Set a presence status message for a user. An optional expiration date and time can be supplied. /// [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")] public partial class PresenceRequestBuilderGetQueryParameters diff --git a/src/Microsoft.Graph/Generated/kiota-dom-export.txt b/src/Microsoft.Graph/Generated/kiota-dom-export.txt index 2613d9813a4..3399cd879b4 100644 --- a/src/Microsoft.Graph/Generated/kiota-dom-export.txt +++ b/src/Microsoft.Graph/Generated/kiota-dom-export.txt @@ -8509,6 +8509,144 @@ Microsoft.Graph.Beta.AuthenticationMethodConfigurations.Item.AuthenticationMetho Microsoft.Graph.Beta.AuthenticationMethodConfigurations.Item.AuthenticationMethodConfigurationItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.AuthenticationMethodConfigurations.Item.AuthenticationMethodConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.AuthenticationMethodConfiguration; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.AuthenticationMethodConfigurations.Item.AuthenticationMethodConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodConfigurations.Item.AuthenticationMethodConfigurationItemRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::[AuthenticationMethodDeviceId:string]:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AuthenticationMethodDeviceCollectionResponse +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder.AuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|hardwareOathDevices:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.HardwareOathDevicesRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.AuthenticationMethodDeviceItemRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder::[HardwareOathTokenAuthenticationMethodDeviceId:string]:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.HardwareOathDevicesRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assignTo:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.AuthenticationMethodDevices.Item.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder Microsoft.Graph.Beta.AuthenticationMethodsPolicy.AuthenticationMethodConfigurations.authenticationMethodConfigurationsRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.AuthenticationMethodsPolicy.AuthenticationMethodConfigurations.authenticationMethodConfigurationsRequestBuilder.authenticationMethodConfigurationsRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.AuthenticationMethodsPolicy.AuthenticationMethodConfigurations.authenticationMethodConfigurationsRequestBuilder.authenticationMethodConfigurationsRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -8585,6 +8723,7 @@ Microsoft.Graph.Beta.BaseGraphServiceClient::|public|appRoleAssignments:global.M Microsoft.Graph.Beta.BaseGraphServiceClient::|public|approvalWorkflowProviders:global.Microsoft.Graph.Beta.ApprovalWorkflowProviders.ApprovalWorkflowProvidersRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|auditLogs:global.Microsoft.Graph.Beta.AuditLogs.AuditLogsRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|authenticationMethodConfigurations:global.Microsoft.Graph.Beta.AuthenticationMethodConfigurations.AuthenticationMethodConfigurationsRequestBuilder +Microsoft.Graph.Beta.BaseGraphServiceClient::|public|authenticationMethodDevices:global.Microsoft.Graph.Beta.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|authenticationMethodsPolicy:global.Microsoft.Graph.Beta.AuthenticationMethodsPolicy.AuthenticationMethodsPolicyRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|bookingBusinesses:global.Microsoft.Graph.Beta.BookingBusinesses.BookingBusinessesRequestBuilder Microsoft.Graph.Beta.BaseGraphServiceClient::|public|bookingCurrencies:global.Microsoft.Graph.Beta.BookingCurrencies.BookingCurrenciesRequestBuilder @@ -48612,6 +48751,115 @@ Microsoft.Graph.Beta.DirectoryNamespace.AttributeSets.Item.AttributeSetItemReque Microsoft.Graph.Beta.DirectoryNamespace.AttributeSets.Item.AttributeSetItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.AttributeSets.Item.AttributeSetItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.AttributeSet; requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.DirectoryNamespace.AttributeSets.Item.AttributeSetItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.AttributeSets.Item.AttributeSetItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder.authenticationMethodDevicesRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|hardwareOathDevices:global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.HardwareOathDevicesRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.authenticationMethodDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder::[HardwareOathTokenAuthenticationMethodDeviceId:string]:global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.HardwareOathDevicesRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assignTo:global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder.certificateAuthoritiesRequestBuilderDeleteRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.certificateAuthoritiesRequestBuilder.certificateAuthoritiesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -49259,6 +49507,7 @@ Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder.directoryRequest Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder.directoryRequestBuilderPatchRequestConfiguration-->RequestConfiguration Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|administrativeUnits:global.Microsoft.Graph.Beta.DirectoryNamespace.AdministrativeUnits.AdministrativeUnitsRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|attributeSets:global.Microsoft.Graph.Beta.DirectoryNamespace.AttributeSets.AttributeSetsRequestBuilder +Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|authenticationMethodDevices:global.Microsoft.Graph.Beta.DirectoryNamespace.AuthenticationMethodDevices.AuthenticationMethodDevicesRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|certificateAuthorities:global.Microsoft.Graph.Beta.DirectoryNamespace.CertificateAuthorities.CertificateAuthoritiesRequestBuilder Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void Microsoft.Graph.Beta.DirectoryNamespace.directoryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void @@ -103250,6 +103499,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::| Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|getAllMembers:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Channel Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Members.MembersRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.ChannelItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Messages.MessagesRequestBuilder @@ -103329,6 +103579,98 @@ Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder.filesFolderReque Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addResponse-->global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|add:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeResponse-->global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.GetAllMembers.Remove.RemoveResponse Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.Channels.Item.Members.Add.addPostRequestBody::|public|constructor():void @@ -104484,6 +104826,98 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.FilesFolder.filesFolderRequ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addResponse-->global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|add:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeResponse-->global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.Remove.RemoveResponse Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Members.Add.addPostRequestBody::|public|constructor():void @@ -104940,6 +105374,7 @@ Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilde Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|getAllMembers:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Channel Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|members:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Members.MembersRequestBuilder Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.primaryChannelRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Groups.Item.Team.PrimaryChannel.Messages.MessagesRequestBuilder @@ -124910,6 +125345,7 @@ Microsoft.Graph.Beta.Me.Authentication.authenticationRequestBuilder::|public|Del Microsoft.Graph.Beta.Me.Authentication.authenticationRequestBuilder::|public|emailMethods:global.Microsoft.Graph.Beta.Me.Authentication.EmailMethods.EmailMethodsRequestBuilder Microsoft.Graph.Beta.Me.Authentication.authenticationRequestBuilder::|public|fido2Methods:global.Microsoft.Graph.Beta.Me.Authentication.Fido2Methods.Fido2MethodsRequestBuilder Microsoft.Graph.Beta.Me.Authentication.authenticationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Authentication +Microsoft.Graph.Beta.Me.Authentication.authenticationRequestBuilder::|public|hardwareOathMethods:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder Microsoft.Graph.Beta.Me.Authentication.authenticationRequestBuilder::|public|methods:global.Microsoft.Graph.Beta.Me.Authentication.Methods.MethodsRequestBuilder Microsoft.Graph.Beta.Me.Authentication.authenticationRequestBuilder::|public|microsoftAuthenticatorMethods:global.Microsoft.Graph.Beta.Me.Authentication.MicrosoftAuthenticatorMethods.MicrosoftAuthenticatorMethodsRequestBuilder Microsoft.Graph.Beta.Me.Authentication.authenticationRequestBuilder::|public|operations:global.Microsoft.Graph.Beta.Me.Authentication.Operations.OperationsRequestBuilder @@ -125018,6 +125454,267 @@ Microsoft.Graph.Beta.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMeth Microsoft.Graph.Beta.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|Device:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|DisplayName:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|VerificationCode:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder.assignAndActivateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|DisplayName:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|SerialNumber:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|VerificationCode:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder.assignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::[HardwareOathAuthenticationMethodId:string]:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|assignAndActivate:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|assignAndActivateBySerialNumber:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethodCollectionResponse +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|DisplayName:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|VerificationCode:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder.activateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder.deactivateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|assignTo:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|hardwareOathDevices:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::[HardwareOathTokenAuthenticationMethodDeviceId:string]:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assignTo:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|activate:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|deactivate:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|device:global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Me.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder Microsoft.Graph.Beta.Me.Authentication.Methods.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Me.Authentication.Methods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Me.Authentication.Methods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string @@ -160066,6 +160763,7 @@ Microsoft.Graph.Beta.Models.authentication-->global.Microsoft.Graph.Beta.Models. Microsoft.Graph.Beta.Models.authentication::|public|EmailMethods:List Microsoft.Graph.Beta.Models.authentication::|public|Fido2Methods:List Microsoft.Graph.Beta.Models.authentication::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.authentication::|public|HardwareOathMethods:List Microsoft.Graph.Beta.Models.authentication::|public|Methods:List Microsoft.Graph.Beta.Models.authentication::|public|MicrosoftAuthenticatorMethods:List Microsoft.Graph.Beta.Models.authentication::|public|OdataType:string @@ -160400,6 +161098,18 @@ Microsoft.Graph.Beta.Models.authenticationMethodConfigurationCollectionResponse: Microsoft.Graph.Beta.Models.authenticationMethodConfigurationCollectionResponse::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.authenticationMethodConfigurationCollectionResponse::|public|Value:List Microsoft.Graph.Beta.Models.authenticationMethodConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AuthenticationMethodConfigurationCollectionResponse +Microsoft.Graph.Beta.Models.authenticationMethodDevice-->global.Microsoft.Graph.Beta.Models.Entity +Microsoft.Graph.Beta.Models.authenticationMethodDevice::|public|DisplayName:string +Microsoft.Graph.Beta.Models.authenticationMethodDevice::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.authenticationMethodDevice::|public|HardwareOathDevices:List +Microsoft.Graph.Beta.Models.authenticationMethodDevice::|public|OdataType:string +Microsoft.Graph.Beta.Models.authenticationMethodDevice::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.authenticationMethodDevice::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice +Microsoft.Graph.Beta.Models.authenticationMethodDeviceCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.authenticationMethodDeviceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.authenticationMethodDeviceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.authenticationMethodDeviceCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.authenticationMethodDeviceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.AuthenticationMethodDeviceCollectionResponse Microsoft.Graph.Beta.Models.authenticationMethodFeature::0000-ssprRegistered Microsoft.Graph.Beta.Models.authenticationMethodFeature::0001-ssprEnabled Microsoft.Graph.Beta.Models.authenticationMethodFeature::0002-ssprCapable @@ -163514,6 +164224,7 @@ Microsoft.Graph.Beta.Models.channel::|public|Description:string Microsoft.Graph.Beta.Models.channel::|public|DisplayName:string Microsoft.Graph.Beta.Models.channel::|public|Email:string Microsoft.Graph.Beta.Models.channel::|public|FilesFolder:global.Microsoft.Graph.Beta.Models.DriveItem +Microsoft.Graph.Beta.Models.channel::|public|GetAllMembers:List Microsoft.Graph.Beta.Models.channel::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.channel::|public|IsArchived:bool? Microsoft.Graph.Beta.Models.channel::|public|IsFavoriteByDefault:bool? @@ -173137,6 +173848,7 @@ Microsoft.Graph.Beta.Models.directoryObject-->global.Microsoft.Graph.Beta.Models Microsoft.Graph.Beta.Models.directoryObject1-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.directoryObject1::|public|AdministrativeUnits:List Microsoft.Graph.Beta.Models.directoryObject1::|public|AttributeSets:List +Microsoft.Graph.Beta.Models.directoryObject1::|public|AuthenticationMethodDevices:global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice Microsoft.Graph.Beta.Models.directoryObject1::|public|CertificateAuthorities:global.Microsoft.Graph.Beta.Models.CertificateAuthorityPath Microsoft.Graph.Beta.Models.directoryObject1::|public|CustomSecurityAttributeDefinitions:List Microsoft.Graph.Beta.Models.directoryObject1::|public|DeletedItems:List @@ -178712,6 +179424,18 @@ Microsoft.Graph.Beta.Models.hardwareInformation::|public|WifiMac:string Microsoft.Graph.Beta.Models.hardwareInformation::|public|WiredIPv4Addresses:List Microsoft.Graph.Beta.Models.hardwareInformation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.HardwareInformation Microsoft.Graph.Beta.Models.hardwareInformation~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethod-->global.Microsoft.Graph.Beta.Models.AuthenticationMethod +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethod::|public|constructor():void +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethod::|public|Device:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethod::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethod::|public|OdataType:string +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethod::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethodCollectionResponse Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodConfiguration-->global.Microsoft.Graph.Beta.Models.AuthenticationMethodConfiguration Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodConfiguration::|public|constructor():void Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodConfiguration::|public|GetFieldDeserializers():IDictionary> @@ -178719,6 +179443,34 @@ Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodConfiguration::|publ Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodConfiguration::|public|OdataType:string Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodConfiguration::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.hardwareOathAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethodConfiguration +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice-->global.Microsoft.Graph.Beta.Models.AuthenticationMethodDevice +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|AssignedTo:global.Microsoft.Graph.Beta.Models.Identity +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|AssignTo:global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|constructor():void +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|HashFunction:global.Microsoft.Graph.Beta.Models.HardwareOathTokenHashFunction? +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|Manufacturer:string +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|Model:string +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|OdataType:string +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|SecretKey:string +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|SerialNumber:string +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|Status:global.Microsoft.Graph.Beta.Models.HardwareOathTokenStatus? +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|public|TimeIntervalInSeconds:int? +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDevice::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|public|Value:List +Microsoft.Graph.Beta.Models.hardwareOathTokenAuthenticationMethodDeviceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse +Microsoft.Graph.Beta.Models.hardwareOathTokenHashFunction::0000-hmacsha1 +Microsoft.Graph.Beta.Models.hardwareOathTokenHashFunction::0001-hmacsha256 +Microsoft.Graph.Beta.Models.hardwareOathTokenHashFunction::0002-unknownFutureValue +Microsoft.Graph.Beta.Models.hardwareOathTokenStatus::0000-available +Microsoft.Graph.Beta.Models.hardwareOathTokenStatus::0001-assigned +Microsoft.Graph.Beta.Models.hardwareOathTokenStatus::0002-activated +Microsoft.Graph.Beta.Models.hardwareOathTokenStatus::0003-failedActivation +Microsoft.Graph.Beta.Models.hardwareOathTokenStatus::0004-unknownFutureValue Microsoft.Graph.Beta.Models.hardwarePasswordDetail-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.hardwarePasswordDetail::|public|CurrentPassword:string Microsoft.Graph.Beta.Models.hardwarePasswordDetail::|public|GetFieldDeserializers():IDictionary> @@ -188662,6 +189414,17 @@ Microsoft.Graph.Beta.Models.Networkaccess.alertSeveritySummary::|public|Serializ Microsoft.Graph.Beta.Models.Networkaccess.alertSeveritySummary::|public|Severity:global.Microsoft.Graph.Beta.Models.Networkaccess.AlertSeverity? Microsoft.Graph.Beta.Models.Networkaccess.alertSeveritySummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.AlertSeveritySummary Microsoft.Graph.Beta.Models.Networkaccess.alertSeveritySummary~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|public|AlertType:global.Microsoft.Graph.Beta.Models.Networkaccess.AlertType? +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|public|constructor():void +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|public|Count:long? +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|public|OdataType:string +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|public|Severity:global.Microsoft.Graph.Beta.Models.Networkaccess.AlertSeverity? +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.Networkaccess.AlertSummary +Microsoft.Graph.Beta.Models.Networkaccess.alertSummary~~>IAdditionalDataHolder; IBackedModel; IParsable Microsoft.Graph.Beta.Models.Networkaccess.alertType::0000-unhealthyRemoteNetworks Microsoft.Graph.Beta.Models.Networkaccess.alertType::0001-unhealthyConnectors Microsoft.Graph.Beta.Models.Networkaccess.alertType::0002-deviceTokenInconsistency @@ -201626,6 +202389,7 @@ Microsoft.Graph.Beta.Models.Security.dataLakeExportOperationAuditRecord::|static Microsoft.Graph.Beta.Models.Security.dataSet-->global.Microsoft.Graph.Beta.Models.Entity Microsoft.Graph.Beta.Models.Security.dataSet::|public|CreatedBy:global.Microsoft.Graph.Beta.Models.IdentitySet Microsoft.Graph.Beta.Models.Security.dataSet::|public|CreatedDateTime:DateTimeOffset? +Microsoft.Graph.Beta.Models.Security.dataSet::|public|Description:string Microsoft.Graph.Beta.Models.Security.dataSet::|public|DisplayName:string Microsoft.Graph.Beta.Models.Security.dataSet::|public|GetFieldDeserializers():IDictionary> Microsoft.Graph.Beta.Models.Security.dataSet::|public|OdataType:string @@ -208123,6 +208887,11 @@ Microsoft.Graph.Beta.Models.startHoldMusicOperation::|public|GetFieldDeserialize Microsoft.Graph.Beta.Models.startHoldMusicOperation::|public|OdataType:string Microsoft.Graph.Beta.Models.startHoldMusicOperation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.startHoldMusicOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StartHoldMusicOperation +Microsoft.Graph.Beta.Models.startRecordingOperation-->global.Microsoft.Graph.Beta.Models.CommsOperation +Microsoft.Graph.Beta.Models.startRecordingOperation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.startRecordingOperation::|public|OdataType:string +Microsoft.Graph.Beta.Models.startRecordingOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.startRecordingOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StartRecordingOperation Microsoft.Graph.Beta.Models.startsWithTransformation-->global.Microsoft.Graph.Beta.Models.CustomClaimTransformation Microsoft.Graph.Beta.Models.startsWithTransformation::|public|constructor():void Microsoft.Graph.Beta.Models.startsWithTransformation::|public|GetFieldDeserializers():IDictionary> @@ -208131,6 +208900,11 @@ Microsoft.Graph.Beta.Models.startsWithTransformation::|public|Output:global.Micr Microsoft.Graph.Beta.Models.startsWithTransformation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.startsWithTransformation::|public|Value:string Microsoft.Graph.Beta.Models.startsWithTransformation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StartsWithTransformation +Microsoft.Graph.Beta.Models.startTranscriptionOperation-->global.Microsoft.Graph.Beta.Models.CommsOperation +Microsoft.Graph.Beta.Models.startTranscriptionOperation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.startTranscriptionOperation::|public|OdataType:string +Microsoft.Graph.Beta.Models.startTranscriptionOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.startTranscriptionOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StartTranscriptionOperation Microsoft.Graph.Beta.Models.stateManagementSetting::0000-notConfigured Microsoft.Graph.Beta.Models.stateManagementSetting::0001-blocked Microsoft.Graph.Beta.Models.stateManagementSetting::0002-allowed @@ -208170,6 +208944,16 @@ Microsoft.Graph.Beta.Models.stopHoldMusicOperation::|public|GetFieldDeserializer Microsoft.Graph.Beta.Models.stopHoldMusicOperation::|public|OdataType:string Microsoft.Graph.Beta.Models.stopHoldMusicOperation::|public|Serialize(writer:ISerializationWriter):void Microsoft.Graph.Beta.Models.stopHoldMusicOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StopHoldMusicOperation +Microsoft.Graph.Beta.Models.stopRecordingOperation-->global.Microsoft.Graph.Beta.Models.CommsOperation +Microsoft.Graph.Beta.Models.stopRecordingOperation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.stopRecordingOperation::|public|OdataType:string +Microsoft.Graph.Beta.Models.stopRecordingOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.stopRecordingOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StopRecordingOperation +Microsoft.Graph.Beta.Models.stopTranscriptionOperation-->global.Microsoft.Graph.Beta.Models.CommsOperation +Microsoft.Graph.Beta.Models.stopTranscriptionOperation::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Models.stopTranscriptionOperation::|public|OdataType:string +Microsoft.Graph.Beta.Models.stopTranscriptionOperation::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Models.stopTranscriptionOperation::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Models.StopTranscriptionOperation Microsoft.Graph.Beta.Models.storage::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Models.storage::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Models.storage::|public|constructor():void @@ -220409,6 +221193,7 @@ Microsoft.Graph.Beta.NetworkAccess.Alerts.alertsRequestBuilder::|public|Count:gl Microsoft.Graph.Beta.NetworkAccess.Alerts.alertsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.AlertCollectionResponse Microsoft.Graph.Beta.NetworkAccess.Alerts.alertsRequestBuilder::|public|microsoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertFrequenciesWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Alerts.alertsRequestBuilder::|public|microsoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Alerts.alertsRequestBuilder::|public|microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime(endDateTime:DateTimeOffset?; startDateTime:DateTimeOffset?):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Alerts.alertsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.Networkaccess.Alert; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Networkaccess.Alert Microsoft.Graph.Beta.NetworkAccess.Alerts.alertsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.NetworkAccess.Alerts.alertsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.Networkaccess.Alert; requestConfiguration?:Action>):RequestInformation @@ -220487,6 +221272,26 @@ Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSev Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.GetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeResponse Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSeveritySummariesWithStartDateTimeWithEndDateTimeRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.getAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.getAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.getAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.getAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|Value:List +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.getAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.getAlertSummariesWithStartDateTimeWithEndDateTimeResponse-->global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.getAlertSummariesWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter; endDateTime?:DateTimeOffset?; startDateTime?:DateTimeOffset?):void +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponseAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeGetResponse +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.GetAlertSummariesWithStartDateTimeWithEndDateTimeResponse +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.microsoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.NetworkAccess.Alerts.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTime.MicrosoftGraphNetworkaccessGetAlertSummariesWithStartDateTimeWithEndDateTimeRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Connectivity.Branches.branchesRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.NetworkAccess.Connectivity.Branches.branchesRequestBuilder.branchesRequestBuilderGetQueryParameters::|public|Count:bool? Microsoft.Graph.Beta.NetworkAccess.Connectivity.Branches.branchesRequestBuilder.branchesRequestBuilderGetQueryParameters::|public|Expand:string[] @@ -265780,6 +266585,7 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|getAllMembers:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Channel Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Members.MembersRequestBuilder Microsoft.Graph.Beta.Teams.Item.Channels.Item.ChannelItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.Messages.MessagesRequestBuilder @@ -265859,6 +266665,98 @@ Microsoft.Graph.Beta.Teams.Item.Channels.Item.FilesFolder.filesFolderRequestBuil Microsoft.Graph.Beta.Teams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.Teams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addResponse-->global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|add:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeResponse-->global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse Microsoft.Graph.Beta.Teams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|constructor():void @@ -267014,6 +267912,98 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBui Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addResponse-->global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|add:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeResponse-->global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.Remove.RemoveResponse Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Members.Add.addPostRequestBody::|public|constructor():void @@ -267470,6 +268460,7 @@ Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|pu Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|getAllMembers:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Channel Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|members:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Members.MembersRequestBuilder Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.primaryChannelRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teams.Item.PrimaryChannel.Messages.MessagesRequestBuilder @@ -268727,6 +269718,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Ch Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|getAllMembers:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Channel Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Members.MembersRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Messages.MessagesRequestBuilder @@ -268806,6 +269798,98 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Fi Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addResponse-->global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|add:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeResponse-->global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.Channels.Item.Members.Add.addPostRequestBody::|public|constructor():void @@ -269961,6 +271045,98 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.F Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addResponse-->global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|add:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeResponse-->global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Members.Add.addPostRequestBody::|public|constructor():void @@ -270417,6 +271593,7 @@ Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.p Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|getAllMembers:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Channel Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|members:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Members.MembersRequestBuilder Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.TeamTemplateDefinition.Item.TeamDefinition.PrimaryChannel.Messages.MessagesRequestBuilder @@ -271688,6 +272865,7 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequest Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|getAllMembers:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Channel Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Members.MembersRequestBuilder Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.ChannelItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Messages.MessagesRequestBuilder @@ -271767,6 +272945,98 @@ Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.filesF Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addResponse-->global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|add:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeResponse-->global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.GetAllMembers.Remove.RemoveResponse Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.DeletedTeams.Item.Channels.Item.Members.Add.addPostRequestBody::|public|constructor():void @@ -272815,6 +274085,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|getAllMembers:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Channel Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|members:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Members.MembersRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.ChannelItemRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Messages.MessagesRequestBuilder @@ -272894,6 +274165,98 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addResponse-->global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|add:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.getAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.GetAllMembersRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeResponse-->global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.GetAllMembers.Remove.RemoveResponse Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.Channels.Item.Members.Add.addPostRequestBody::|public|constructor():void @@ -274049,6 +275412,98 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.DriveItem Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.FilesFolder.filesFolderRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse::|public|Value:List +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addPostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder.addRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|PostAsAddPostResponseAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addResponse-->global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddPostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.addResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder.getAllMembersRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::[ConversationMemberId:string]:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|add:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Add.AddRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Count.CountRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMemberCollectionResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|remove:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.getAllMembersRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder.ConversationMemberItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ConversationMember +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.ConversationMember; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Item.ConversationMemberItemRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|public|Values:List +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse-->global.Microsoft.Graph.Beta.Models.BaseCollectionPaginationCountResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|public|Value:List +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removePostResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder.removeRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsRemovePostResponseAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeResponse-->global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemovePostResponse +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.removeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.Remove.RemoveResponse Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Members.Add.addPostRequestBody::|public|AdditionalData:IDictionary Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Members.Add.addPostRequestBody::|public|BackingStore:IBackingStore Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Members.Add.addPostRequestBody::|public|constructor():void @@ -274505,6 +275960,7 @@ Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|doesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName.DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|filesFolder:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.FilesFolder.FilesFolderRequestBuilder +Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|getAllMembers:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.GetAllMembers.GetAllMembersRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Channel Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|members:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Members.MembersRequestBuilder Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.primaryChannelRequestBuilder::|public|messages:global.Microsoft.Graph.Beta.Teamwork.TeamTemplates.Item.Definitions.Item.TeamDefinition.PrimaryChannel.Messages.MessagesRequestBuilder @@ -281455,6 +282911,7 @@ Microsoft.Graph.Beta.Users.Item.Authentication.authenticationRequestBuilder::|pu Microsoft.Graph.Beta.Users.Item.Authentication.authenticationRequestBuilder::|public|emailMethods:global.Microsoft.Graph.Beta.Users.Item.Authentication.EmailMethods.EmailMethodsRequestBuilder Microsoft.Graph.Beta.Users.Item.Authentication.authenticationRequestBuilder::|public|fido2Methods:global.Microsoft.Graph.Beta.Users.Item.Authentication.Fido2Methods.Fido2MethodsRequestBuilder Microsoft.Graph.Beta.Users.Item.Authentication.authenticationRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.Authentication +Microsoft.Graph.Beta.Users.Item.Authentication.authenticationRequestBuilder::|public|hardwareOathMethods:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder Microsoft.Graph.Beta.Users.Item.Authentication.authenticationRequestBuilder::|public|methods:global.Microsoft.Graph.Beta.Users.Item.Authentication.Methods.MethodsRequestBuilder Microsoft.Graph.Beta.Users.Item.Authentication.authenticationRequestBuilder::|public|microsoftAuthenticatorMethods:global.Microsoft.Graph.Beta.Users.Item.Authentication.MicrosoftAuthenticatorMethods.MicrosoftAuthenticatorMethodsRequestBuilder Microsoft.Graph.Beta.Users.Item.Authentication.authenticationRequestBuilder::|public|operations:global.Microsoft.Graph.Beta.Users.Item.Authentication.Operations.OperationsRequestBuilder @@ -281563,6 +283020,267 @@ Microsoft.Graph.Beta.Users.Item.Authentication.Fido2Methods.Item.Fido2Authentica Microsoft.Graph.Beta.Users.Item.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation Microsoft.Graph.Beta.Users.Item.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.Fido2Methods.Item.Fido2AuthenticationMethodItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|Device:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|DisplayName:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|public|VerificationCode:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder.assignAndActivateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.assignAndActivateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|DisplayName:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|SerialNumber:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|public|VerificationCode:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberPostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder.assignAndActivateBySerialNumberRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberPostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.assignAndActivateBySerialNumberRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder.hardwareOathMethodsRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::[HardwareOathAuthenticationMethodId:string]:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|assignAndActivate:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivate.AssignAndActivateRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|assignAndActivateBySerialNumber:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.AssignAndActivateBySerialNumber.AssignAndActivateBySerialNumberRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethodCollectionResponse +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.hardwareOathMethodsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.HardwareOathMethodsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|AdditionalData:IDictionary +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|BackingStore:IBackingStore +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|constructor():void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|DisplayName:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|GetFieldDeserializers():IDictionary> +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|Serialize(writer:ISerializationWriter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|public|VerificationCode:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:IParseNode):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activatePostRequestBody~~>IAdditionalDataHolder; IBackedModel; IParsable +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder.activateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody; requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivatePostRequestBody; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.activateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder.deactivateRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|PostAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|ToPostRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.deactivateRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.assignToRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder.deviceRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|assignTo:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|hardwareOathDevices:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.deviceRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder.hardwareOathDevicesRequestBuilderPostRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::[HardwareOathTokenAuthenticationMethodDeviceId:string]:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDeviceCollectionResponse +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|PostAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|ToPostRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.hardwareOathDevicesRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.HardwareOathDevicesRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder.assignToRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.User +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|mailboxSettings:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|serviceProvisioningErrors:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.assignToRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder.mailboxSettingsRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.MailboxSettings +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.MailboxSettings; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.mailboxSettingsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.MailboxSettings.MailboxSettingsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder.CountRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Count:bool? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Filter:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Orderby:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Search:string +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Skip:int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetQueryParameters::|public|Top:int? +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder.serviceProvisioningErrorsRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|Count:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.Count.CountRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.ServiceProvisioningErrorCollectionResponse +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.serviceProvisioningErrorsRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.ServiceProvisioningErrors.ServiceProvisioningErrorsRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilderPatchRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|assignTo:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.AssignTo.AssignToRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|PatchAsync(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:global.Microsoft.Graph.Beta.Models.HardwareOathTokenAuthenticationMethodDevice; requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.HardwareOathDevices.Item.HardwareOathTokenAuthenticationMethodDeviceItemRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderDeleteRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Expand:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetQueryParameters::|public|Select:string[] +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder.HardwareOathAuthenticationMethodItemRequestBuilderGetRequestConfiguration-->RequestConfiguration +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|activate:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Activate.ActivateRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:Dictionary; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:IRequestAdapter):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|deactivate:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Deactivate.DeactivateRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|DeleteAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):void +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|device:global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.Device.DeviceRequestBuilder +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|GetAsync(requestConfiguration?:Action>; cancellationToken?:CancellationToken):global.Microsoft.Graph.Beta.Models.HardwareOathAuthenticationMethod +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|ToDeleteRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|ToGetRequestInformation(requestConfiguration?:Action>):RequestInformation +Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder::|public|WithUrl(rawUrl:string):global.Microsoft.Graph.Beta.Users.Item.Authentication.HardwareOathMethods.Item.HardwareOathAuthenticationMethodItemRequestBuilder Microsoft.Graph.Beta.Users.Item.Authentication.Methods.Count.CountRequestBuilder-->BaseRequestBuilder Microsoft.Graph.Beta.Users.Item.Authentication.Methods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:string Microsoft.Graph.Beta.Users.Item.Authentication.Methods.Count.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:string diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index d28ab341826..d5e29443b53 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "58B640C69E57A9605A4402822E6B7D9FA44320C7A9A32F589682F1545E66DE2464559795EE2A1E132500DA7408E230186922D9272F3891561F233A3B6207AD72", + "descriptionHash": "4C2547674874138CFB19C9FE2988F3CA56938189F098E419C0F2018F68491A4C5BC0B7A8896F48EDD52FC22424D12C3A09E50F91FD338A3030370CBF5C4CA20A", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.21.0",